Page 2 of 2

Posted: Sun Jul 23, 2006 11:26 pm
by -_-
I cant remember right XD.. Cant remember if the 2nd number stands for legs or amount of the walker ._.

Posted: Sun Jul 23, 2006 11:27 pm
by Teancum
The usage is

AddWalkerType([pairs of legs], [amount of that type of walkers])

[pairs of legs]
0=Droideka
1=Two Legged walkers
2=Four Legged Walkers
3=Sig Legged walkers

[amount of that type of walkers] is however many you have in the map, so if I have six Spider Droids I would put:

AddWalkerType(2, 6)

Posted: Sun Jul 23, 2006 11:41 pm
by MartinK
Thanks Tean, that helped me to understand at least something, but if i want to add an ATTE should I add it here?: AddWalkerType(2, 1) [cause ATTEs have 4 legs]

Posted: Sun Jul 23, 2006 11:43 pm
by Penguin
ATTEs have 6 legs, so it should be

AddWalkerType(3, 1)

Posted: Sun Jul 23, 2006 11:44 pm
by MartinK
My mistake, lol, you're right.

MAybe there's something wrong i'm doing with Z.E, it's okay to add 'rep_walk_atte' (without '') under ClassRepATK?

Posted: Mon Jul 24, 2006 12:17 am
by General_Grievous_4
Put it under ClassRepDEF too just to be safe.

Posted: Mon Jul 24, 2006 11:48 am
by Teancum
ATTEs and ATAs are a special case. Since they are command vehicles (something you can spawn from) they need a second memory pool along with the AddWalkerType. Add this line.

SetMemoryPoolSize("CommandWalker", [number of ATTEs or ATATs])