Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New necromancy spell
Author Message
Indiaret
Apprentice
*

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0



Post: #1
New necromancy spell
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.
[Image: pBEK.png]
(This post was last modified: 12-04-2018 08:14 AM by Indiaret.)
12-04-2018 08:12 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #2
RE: New necromancy spell
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:

[Image: kniha_popis.png]
(This post was last modified: 12-04-2018 02:13 PM by golfin.)
12-04-2018 01:58 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Indiaret
Apprentice
*

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0



Post: #3
RE: New necromancy spell
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.
12-04-2018 06:38 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: New necromancy spell
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 :\
12-04-2018 07:42 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #5
RE: New necromancy spell
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.
12-04-2018 08:28 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Indiaret
Apprentice
*

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0



Post: #6
RE: New necromancy spell
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.).
12-05-2018 07:12 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #7
RE: New necromancy spell
I wrote it in the PM but also publicly. Create text as an image. And then paste it as a gumps button.
12-06-2018 06:08 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)