New necromancy spell - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: New necromancy spell (/Thread-New-necromancy-spell) |
New necromancy spell - Indiaret - 12-04-2018 08:12 AM Hi, Can I create new spell which can I add to default necromancy book ? I tried to define new spell: [spell 118] defname=s_defiance name=Defiance Sound= Runes=.As Xus Cast_time=2.0 Resources=i_reag_nox_crystal Rune_item=i_rune_exorcism scroll_item=i_scroll_defiance flags= effect_id=0 effect=0 duration=0 manause=30 skillreq=Magery 80.0 INTERRUPT=100.0,1.0 and it's new scroll: [ITEMDEF i_scroll_defiance] id=i_scroll_animate_dead NAME=Defiance scroll TYPE=t_scroll VALUE=69 WEIGHT=0.1 RESOURCES=1 i_scroll_blank,1 i_reag_nox_crystal SKILLMAKE=Inscription 79.6,Necromancy 80.0 CATEGORY=Provisions - Alchemy & Magic SUBSECTION=Scrolls - Necromancy DESCRIPTION=Defiance Scroll ON=@Create ATTR=attr_magic MOREX=s_defiance So i can create the scroll, I can add it to necrobook, but I got name of the spell "Bad spell" in book. Its possible to cast it. Can I modify it somehow with name which i want ? Also I tried rename some existing default spell, but can't change the name in the necro spellbook. RE: New necromancy spell - golfin - 12-04-2018 01:58 PM New spells can be created. But if you can put them in a spellbook, I do not know. At Andaria, we put them at positions 300 or more and made a bar for them. Even if it is, it will happen. you have to edit other files. E.g. cliloc.enu. I'm no longer working for Andario, I can not show an example. Hmm, but the spellbook is different. Sample: RE: New necromancy spell - Indiaret - 12-04-2018 06:38 PM Well thanks for tip to change cliloc.enu. Tried it. But its somewhere else defined, did not help if I changed it. Still my spell is named Bad Spell and can't change defined spells from default like 'Blood Oath' (tried to change it in cliloc.enu). So only solution to solve it is to create my new dialog with new spells, right ? Default spellbooks and spells can't be edited in this way. RE: New necromancy spell - darksun84 - 12-04-2018 07:42 PM default spell names are saved in the client not in the cliloc file, also you cannot add a new spell to the default spell books :\ RE: New necromancy spell - golfin - 12-04-2018 08:28 PM Ah, I did not know darksun. I knew the spells were hardcoded, but in the client? I did not know. But, if Indiaret is to create new spells with a new book (gump), adjusting cliloc.enu will be appropriate. I do not know exactly what Sir Johnny has written in Andarii, but I think he will have to create the object of spell in art.mul, where you name it in cliloc.enu and then you put it all on it. I'd better explain it in Czech, but here's English. RE: New necromancy spell - Indiaret - 12-05-2018 07:12 AM Well its possible to use books like necrobook, mysticism book with new defined spells, but its needed to made new dialog after Dlick. Just using it for bit mask. But I have another problem. Can I make somehow text 'pressable' like button ? That it could work like default spellbook (after click runeitem, after dclick casting spell.). RE: New necromancy spell - golfin - 12-06-2018 06:08 PM I wrote it in the PM but also publicly. Create text as an image. And then paste it as a gumps button. |