I'm alone...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

I cant remember right XD.. Cant remember if the 2nd number stands for legs or amount of the walker ._.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post 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)
MartinK

Post 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]
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

ATTEs have 6 legs, so it should be

AddWalkerType(3, 1)
MartinK

Post 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?
User avatar
General_Grievous_4
Rebel Sergeant
Rebel Sergeant
Posts: 214
Joined: Sun Mar 26, 2006 10:07 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by General_Grievous_4 »

Put it under ClassRepDEF too just to be safe.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post 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])
Post Reply