How to Edit Unit experience

All campaign discussions go here.
Tips / tricks & help!
Post Reply
nod18
Rookie
Rookie
Posts: 22
Joined: 29 Nov 2010, 00:56

How to Edit Unit experience

Post by nod18 » 27 Jan 2013, 12:44

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 ?

User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: How to Edit Unit experience

Post by aubergine » 27 Jan 2013, 19:32

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.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO

nod18
Rookie
Rookie
Posts: 22
Joined: 29 Nov 2010, 00:56

Re: How to Edit Unit experience

Post by nod18 » 27 Jan 2013, 20:18

Ok, i got newest version 3.1.0 where this file t oedit is and how its named ?
and what is JS API ?

User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: How to Edit Unit experience

Post by NoQ » 27 Jan 2013, 21:25

nod18 wrote:and what is JS API ?
You've asked the right person :good:

nod18
Rookie
Rookie
Posts: 22
Joined: 29 Nov 2010, 00:56

Re: How to Edit Unit experience

Post by nod18 » 27 Jan 2013, 21:29

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

User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: How to Edit Unit experience

Post by NoQ » 27 Jan 2013, 21:37

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.

nod18
Rookie
Rookie
Posts: 22
Joined: 29 Nov 2010, 00:56

Re: How to Edit Unit experience

Post by nod18 » 27 Jan 2013, 21:44

only for MP ? itry change numbers of kills to rank up in campaign, not in skirmish :P

Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3776
Joined: 03 Aug 2006, 19:39

Re: How to Edit Unit experience

Post by Per » 27 Jan 2013, 22:06

You are trying to cheat? In that case, easier to just edit the droid.ini file in your savegame folder, I think...

nod18
Rookie
Rookie
Posts: 22
Joined: 29 Nov 2010, 00:56

Re: How to Edit Unit experience

Post by nod18 » 28 Jan 2013, 14:00

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.

Post Reply