hi, i wanna increase the power of my dwarf custom hero's weapon. i wanna see the same effect like tombombadil's punch, how can i do that?
CAH Dwarf
#1
Posted 10 January 2018 - 12:44 PM
#2
Posted 10 January 2018 - 01:36 PM
You can only increase the damage of all the CAH that use that weapon. You can't change just specifically one hero, unless you make a new one but still will be used by other dwarf characters.
#3
Posted 10 January 2018 - 02:11 PM
You can only increase the damage of all the CAH that use that weapon. You can't change just specifically one hero, unless you make a new one but still will be used by other dwarf characters.
it's not problem, can you show me how i can change that melee weapon's damage same like bombadil's punch?
#4
Posted 10 January 2018 - 03:41 PM
The easiest way is to identify the weapon the dwarf CAH uses in weapon.ini and replace it's code with Tom Bombadil's weapon. I haven't worked almost at all with CAH so I'm not really sure where the dwarf CAH weapon might be.
#5
Posted 10 January 2018 - 05:16 PM
The easiest way is to identify the weapon the dwarf CAH uses in weapon.ini and replace it's code with Tom Bombadil's weapon. I haven't worked almost at all with CAH so I'm not really sure where the dwarf CAH weapon might be.
i made the changes, i replaced it with tom bombadil's weapon but i couldn't run the game after that.
btw i'm using notepad++ for that.
#6
Posted 10 January 2018 - 09:27 PM
What error does it show?
#8
Posted 16 January 2018 - 02:41 PM
I haven't worked almost at all with CAH so I'm not really sure where the dwarf CAH weapon might be.
Unfortunately, all custom heroes use the same two weapons. CreateAHeroBasicMeleeWeapon and CreateAHeroBasicRangedWeapon, so you can't just edit the one for dwarves. Well, you possibly could, but that would mean having to create an entire new CAH weapon system.. and that's a lot of work.
Anyway
Go to data\ini\weapon.ini and find the bomba weapon:
Weapon TomBombadilPunch
Copy the meta impact nugget:
MetaImpactNugget ShockWaveAmount = 30.0 ShockWaveRadius = 50.0 ShockWaveTaperOff = 1.0 ShockWaveArc = 45 ShockWaveZMult = 1.20 End
Now find the CAH melee weapon:
Weapon CreateAHeroBasicMeleeWeapon
..and paste the meta impact nugget after the last DOT nugget (but before the last END) like so:
Edited by Jokuc, 17 January 2018 - 01:35 AM.
#9
Posted 16 January 2018 - 06:25 PM
That is very sad...
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users