Page 1 of 1

[JassCode] Adding extra player in a map

Posted: May 10th, 2012, 12:14 am
by clifford2002
hey guys i am wondering if can someone teach me how to add extra player in a warcraftIII map?
example: dota maps,lod,etc.


does it something to do with the war3map.j file?

Re: [JassCode] Adding extra player in a map

Posted: May 10th, 2012, 12:24 am
by naturesfury
pretty much
check out the function config at the way bottom (usually that's where it is) in the war3map.j
Then, you have to go through the entire map and make sure to add the player in for everything (leaderboards, trigger registering, action functions, etc)
Still, the max players is 12 no matter what

Re: [JassCode] Adding extra player in a map

Posted: May 10th, 2012, 10:02 am
by clifford2002
i see can you help me share the jass code or adding code in a war3map.j?

Re: [JassCode] Adding extra player in a map

Posted: May 10th, 2012, 10:23 am
by naturesfury
dang no way im going through the entire map to add players O.o
try making a request
see if anyone does it lol

Re: [JassCode] Adding extra player in a map

Posted: May 10th, 2012, 11:13 am
by haxorico
We don't fulfill requests in this section as naturesfury mentioned.
If you want to know how.

Open a melee map (original warcraft map) for 2 players using any MPQEditor.
Extract the war3map.j
Open the same map in the world editor and add a 3rd player.
Save
Extract the war3map.j BUT DON'T OVERIDE! have both files!
Compare.

This way you will find the code needed to add a 3rd player.

Re: [JassCode] Adding extra player in a map

Posted: May 10th, 2012, 4:18 pm
by naturesfury
if it was just that, i wouldnt mind...
but looking at the exmple he gave (dota , lod, etc)
it's gonna be alot harder as you would need to add in the player stuff so that the player can actually play the map, not just join the game