Modding Union

[en] - Modding Corner => General Modding Questions => Thema gestartet von: Elfstone_2931 am 27. Mai 2016, 09:13

Titel: Changing the health and damage of heroes
Beitrag von: Elfstone_2931 am 27. Mai 2016, 09:13
Hello everyone, I'm trying to change the health and damage of a few of the heroes in the Edain mod, but I'm having some difficulty, as none of my changes seem to have any effect. I've tried changing the damage of the weapons directly in the weapons.inc file, I've tried creating new modules for both weapons and health in the weapons.inc file as well as the gamedata.inc folder and the gamedata.ini folder, and I've tried directly changing the health in the individual's ini's, but none of these things have worked. If anyone could provide any assistance, I would be incredibly grateful.  :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Caun am 27. Mai 2016, 11:04
Hey,
you cant overwrite the .inc files, only the normal ini files.
You have two possibilities:

1. Create a new weapon in the weapon.ini

2. Copy&paste the whole weapon/gamedata.inc  in the weapon/gamedata.ini  and delete the #include "\includes\weapon.inc"  / #include "\includes\gamedata.inc"


And dont forget the hero damagedisplay is an extra
specification (DisplayMeleeDamage)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Elfstone_2931 am 27. Mai 2016, 16:57
I see, thank you very much :) so if I put a new health module into the gamedata.ini file after copying everything over from the gamedata.inc file it should work? Thank you very much for your help :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Elfstone_2931 am 5. Jun 2016, 15:26
Apologies for the double post, but I've done everything recommended in the post above, but my changes still don't seem to be taking effect, and I have no idea why. Sorry to bother everyone, but any help would again be greatly appreciated :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Walküre am 5. Jun 2016, 15:56
Of course, it's commonly suggested to avoid double posting as much as you can. If you post a double comment, though, after 24 hours from your previous post, you are well legitimate to do it without any sort of implications  :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Elfstone_2931 am 5. Jun 2016, 17:12
I see, thank you for letting me know  :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: Elfstone_2931 am 22. Jun 2016, 13:59
I'm really sorry to keep bothering everyone, but I still can't get my changes to take any effect, does anyone have any suggestions as to what to do? Any advice would be gratefully received  :)
Titel: Re: Changing the health and damage of heroes
Beitrag von: thranduil93 am 23. Jan 2018, 11:01
Hi,

Did anybody found the solution for this?

Thanks,
Titel: Re: Changing the health and damage of heroes
Beitrag von: No1Gamer am 23. Jan 2018, 19:40
how do you load your mod? with a seperate big file or the -mod command?
Titel: Re: Changing the health and damage of heroes
Beitrag von: thranduil93 am 23. Jan 2018, 20:05
None of those, I just edited the original Edaindata.ini...... Extracted several files from it, with FinalBig, edited it, and just re-added it back to original Edaindata..
Titel: Re: Changing the health and damage of heroes
Beitrag von: thranduil93 am 24. Jan 2018, 20:06
Hi,

Finally managed to applied changes I made. The thing is that MAXHEALTH value needs to be changed in hero's .ini file.

Thanks,