Page 1 of 1

remove limit of 1024 units

Posted: Fri Mar 21, 2008 4:13 pm
by ubername
Hi

Is there a way to remove the limit of 1024 units?

TIA

Re: remove limit of 1024 units

Posted: Fri Mar 28, 2008 1:05 am
by Giszmo
hi

the limit of 1024 units is hard-coded in many places in the code. i hate magic numbers like that, but there actually are loops 0..1023 hard coded. If anybody volunteers to clean this up and replace it by at least some precompiler constant, i'd be very happy but for now i can only say that this can't be changed at runtime.

this limit applies to each team, so you should not easily hit it in a regular game. did you hit it when playing against a human opponent?

please file a bug report as on 512x512 maps this should be considered a bug. 1000 units would barely be enough to run half such a monster-map. (200 units on playground is not much. 512*512/128/128=16. 16*200 would be 3200 units on that big map.)

Greetings,

Giszmo