AT-RT not spawning [Solved]

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

Post Reply
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

AT-RT not spawning [Solved]

Post by EGG_GUTS »

I placed the vehicle spawn and other vehicles spawn fine but the AT-RT won't

It's called rep_walk_oneman_atst but it doesn't work!

why isn't spawning?

thanks
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Change the # for your walker type

Post by AceMastermind »

Did you forget to add how many of this walkertype in the LUA:
AddWalkerType(1, 1) -- 1x2 (1 pair of legs)
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

Where would I put that in my Lua?
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

Thanks it worked.

If I wanted 2 AT-RTs would I add the same line twice?

thanks
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Changing the # for walker types in the LUA

Post by AceMastermind »

EGG_GUTS wrote:If I wanted 2 AT-RTs would I add the same line twice?
You don't have to add that line, it should already be in your LUA, if you were to have another AT-RT (assuming you have another vehicle spawn setup) then you would change the "1" to a "2" like this:

AddWalkerType(1, 2) -- 1x2 (1 pair of legs)
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

and to add an ATAT it would be (2,1) and an ATTE (3,1)? but if you put the line twice it does work.

thanks
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
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 Jawa_Killer »

you also need "setmemorypool walker" to a minimum of the amount of walker you want in your map....if you want 2 then your value is 2....if you want 2100000000123132348 your value is 2100000000123132348 (anyways this won't work xD) but i hope you know what i mean ;D
Post Reply