Page 1 of 1

How to Edit Unit experience

Posted: 27 Jan 2013, 12:44
by nod18
Hi i try to modify WZ, i wont to modify Unit experience, but i cant find file with it, can someone tell me, where in BASE.wz is this fille to change experience like, how many kills to rank up, dmg modifer etc ?

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 19:32
by aubergine
In WZ 3.2 branch, you can use setDroidExperience() function in the JS API. In earlier versions I guess you could do it via something like setDroidKills() in WZscript.

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 20:18
by nod18
Ok, i got newest version 3.1.0 where this file t oedit is and how its named ?
and what is JS API ?

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 21:25
by NoQ
nod18 wrote:and what is JS API ?
You've asked the right person :good:

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 21:29
by nod18
ok its java script, but where is that file to edit, i only found rules.js in base.wz/script and there is nothing about droidexp... :P

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 21:37
by NoQ
mp.wz/multiplay/skirmish.
And it was said that rules.js only handles it on 3.2, not 3.1. I think you can't mod it up on 3.1.

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 21:44
by nod18
only for MP ? itry change numbers of kills to rank up in campaign, not in skirmish :P

Re: How to Edit Unit experience

Posted: 27 Jan 2013, 22:06
by Per
You are trying to cheat? In that case, easier to just edit the droid.ini file in your savegame folder, I think...

Re: How to Edit Unit experience

Posted: 28 Jan 2013, 14:00
by nod18
Not cheat... i try to modify game, not 1024 kills for hero but, maybe like in playstation version, they got veteran in about 20-30kills.