Modderecke > Coding

Spellbook modification

(1/1)

matt:
Halo ,

I'd like to modify the Dwarven power for Healing in Edain mod , for testing purpose , but I don't manage to find the file where I have to go to modify it . Is it located in science.ini or attributemodfy ini ?

I hope I'm clear ;)

Skaði:
I guess it depend's on what you like to modify..

You can find the radius in the gamedata.ini:

--- Code: ---;======================= SPELL DATA =========================

#define SPELL_HEAL_RADIUS_CURSOR 200.0   ; Cursor size for heal spell       ; RotWK originally 150.0
#define SPELL_HEAL_RADIUS_UNIT_SCAN 200 ;100.0    ; How far to scan for units to heal    ; RotWK orginally 150.0
#define SPELL_HEAL_RADIUS_HORDE_SCAN 225.0   ; A little bigger so that if some horde members are within the cursor, scan will find the horde brain   ; RotWK originally 200

--- Ende Code ---

Sound, requirement and a link to the radius in the specialpower.ini:

--- Code: ---SpecialPower SpellBookHeal
InitiateAtLocationSound = SpellHeal
Enum                = SPECIAL_SPELL_BOOK_HEAL
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime          = SPELL_RECHARGE_TIME_TIER_1
RequiredSciences      = SCIENCE_Heal
RadiusCursorRadius  = SPELL_HEAL_RADIUS_CURSOR
End
--- Ende Code ---

Something also in the commandbutton.ini and the commandset.ini.. and i guess nothing in the attributemodify.ini. - That's the stuff from RotWk, not Edain, but I suppose the differences are only the other image and description.

matt:
I forgot to mention I wanted to modify the reload time of the spell.

Skaði:
The second Codebox .. you can modify the link in the gamedata.ini or just add a number instead. (like 6000 .. miliseconds or sth like that)

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln