Page 1 of 2

How To Change Unit Limit

Posted: 26 May 2014, 18:44
by XxHAMADEHxX
I haven't played this in awhile and I decided to play YinYang in skirmish 1v1.
But suddenly I was hit with a unit limit which I later found out was 100.

Now I can understand a unit limit that low for a game Like Battlezone 2 but not Warzone =(

I tried looking on the forums but have not really found a direct answer on how to change the unit limit.

Could someone tell me please =D

Looking to change it to around 3-500

Thanks

Re: How To Change Unit Limit

Posted: 16 Jun 2014, 04:08
by vexed
You need to change it via the source code.
Oh, and you are wrong, WZ takes up more CPU with more units... in fact, there was a darn good reason why they capped it at what they capped it at, since it made the game unplayable.

Start a skirmish game on a 10p map, and see how fast your machine slows down once hundreds of units are built...

Re: How To Change Unit Limit

Posted: 16 Jun 2014, 06:21
by NoQ
Why don't we increase unit limit for games with less players?

Re: How To Change Unit Limit

Posted: 17 Jun 2014, 08:10
by AWarZoner
NoQ wrote:Why don't we increase unit limit for games with less players?
Well why do you need more than 100 units?!

- Andrie

Re: How To Change Unit Limit

Posted: 18 Jun 2014, 03:41
by vexed
NoQ wrote:Why don't we increase unit limit for games with less players?
It still is performance issues.

If we haf good GUI where people can choose themselves, then, I wouldn't mind.
However, blindly increasing limits when we already know the playability of the game suffers greatly depending on the hardware people have is just asking for trouble IMO.

Re: How To Change Unit Limit

Posted: 18 Jun 2014, 14:33
by AWarZoner
vexed wrote:
NoQ wrote:Why don't we increase unit limit for games with less players?
It still is performance issues.

If we haf good GUI where people can choose themselves, then, I wouldn't mind.
However, blindly increasing limits when we already know the playability of the game suffers greatly depending on the hardware people have is just asking for trouble IMO.
It reminds me: "I must learn C++". So I can contribute!

Re: How To Change Unit Limit

Posted: 19 Jun 2014, 16:57
by Hesterax
AWarZoner wrote:
vexed wrote:
NoQ wrote:Why don't we increase unit limit for games with less players?
It still is performance issues.

If we haf good GUI where people can choose themselves, then, I wouldn't mind.
However, blindly increasing limits when we already know the playability of the game suffers greatly depending on the hardware people have is just asking for trouble IMO.
It reminds me: "I must learn C++". So I can contribute!
I recommend you learning in a slower fashion, first BASIC then Python then you can give C++ a try :)

Re: How To Change Unit Limit

Posted: 19 Jun 2014, 19:48
by AWarZoner
Hesterax wrote:I recommend you learning in a slower fashion, first BASIC then Python then you can give C++ a try :)
Thanks for the tip(s). :wink:

I am almost finished learning Python, and I know Vimscript, Bash, and a little bit of C.
:hmm: I know it's not a lot but at least it is something. :hmm:
I am considering buying: Programming: Principles and Practice Using C++. :...:
:hmm: Do you reccomend any other good rescources? :hmm:

- Andrie

Re: How To Change Unit Limit

Posted: 19 Jun 2014, 20:47
by Rman Virgil
.

You do know that Warzone was written C and remains largely so 15 years later. They just started compiling the complete game as C++ some time back. Automatic source code stats don't tell you that distinction.
.

Re: How To Change Unit Limit

Posted: 19 Jun 2014, 21:48
by AWarZoner
Rman Virgil wrote:.

You do know that Warzone was written C and remains largely so 15 years later. They just started compiling the complete game as C++ some time back. Automatic source code stats don't tell you that distinction.
.
Thanks for the information! I did not know that WZ was written in C!

- Andrie

Re: How To Change Unit Limit

Posted: 19 Jun 2014, 22:25
by Rman Virgil
.

You bet, Andrie. :)

.

Re: How To Change Unit Limit

Posted: 20 Jun 2014, 07:52
by AWarZoner
THen I must just learn C properley!

Re: How To Change Unit Limit

Posted: 01 Oct 2014, 22:35
by Reaper087
hey..
can anyone tell me what I write in the Ruls.js? für WZ2100. 3.1.1

I wanted to increase the unitlimit to 500..

or I could use a modified WZ.exe?

please help.

Re: How To Change Unit Limit

Posted: 01 Oct 2014, 22:59
by Iluvalar
rgrep 150 ./src wrote: [...]
./droid.h:#define MAX_MP_DROIDS 150
[...]
have a nice time compiling :)

Re: How To Change Unit Limit

Posted: 02 Oct 2014, 14:46
by Reaper087
thanks.

But i don't find the Program to do this. I'am a Noob.

please a short simple Tutorial???ß