![]() |
|
#1
|
|||
|
|||
|
Hey guys,
I'm wondering if anyone can help me out with deciphering the files for this. I'm trying to modify the skills in the game (skills.txt, skills.lua) to add a few more things or fix some issues I feel don't make much sense. Modifying the existing values is pretty easy, but it's another to try to add something that wasn't in the skill to begin with. I've found that "TheRider" has already done this a bit with his equilibrium mod, so I downloaded that to take a look and to see if I could learn how he did it. Unfortunately, I can't seem to figure out what exactly is going on with the code. I would ask him directly, but he hasn't checked this forum since before Christmas, so I'm not sure if he'd get around to answering. So far I have found out that he had added a few custom scripts into certain skills that he modified to point to his own functions to add the new abilities (for example, adding "Attack +1" to a skill that didn't have it before.) Code:
blood_lust {
pos=2,4
deps=dark_force
pic=skillicon1_17_
name=skill_blood_lust_caption
hint_header=skill_blood_lust
hint_text=skill_blood_lust_hint
script=skill_bloodx (Originally script=skill_rush)
PHP Code:
PHP Code:
Looking further up in the skills.lua file, I see that there is a definition for the function skill_power, but its first parameter is 'skillname,' which unfortunately, is simply declared as "name" in the above mentioned functions, which doesn't help me at all in locating which function is attached to which skill/statistic/attribute. PHP Code:
Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|