Leg Problems

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
User avatar
hammythepig
Master Sergeant
Master Sergeant
Posts: 175
Joined: Mon Nov 24, 2008 6:05 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

Leg Problems

Post by hammythepig »

My map CTD's when i run it in instant action, I think it is because of these lines in my .lua:
Hidden/Spoiler:
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
I changed them because I have 1 AT-TE and 1 AT-RT on the map.
I also have other veichles but the dont involve legs.
Did I change the right numbers?
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Leg Problems

Post by Darth_Spiderpig »

You set it to 2 AT-RTs and 1 max/3 AT-TEs and 1 max.

Try to change the last 1 to a higher count, like here:

Code: Select all

AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 3) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 4) -- 3x2 (3 pairs of legs)
And, did you placed the AT-TE as commandwalker (as mobile CP) or not?
Last edited by Darth_Spiderpig on Sat Mar 06, 2010 8:20 pm, edited 1 time in total.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Leg Problems

Post by kinetosimpetus »

AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)

I changed them because I have 1 AT-TE and 1 AT-RT on the map.
The AT-RT has one pair of legs.

As for the CTD, can you post an error log?
Last edited by kinetosimpetus on Sat Mar 06, 2010 10:41 pm, edited 1 time in total.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Leg Problems

Post by Fiodis »

kinetosimpetus wrote:The AT-RT has one pair of legs.
Really? Then this:
kinetosimpetus wrote:AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
Might be a problem.
User avatar
hammythepig
Master Sergeant
Master Sergeant
Posts: 175
Joined: Mon Nov 24, 2008 6:05 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

Re: Leg Problems

Post by hammythepig »

Alright, i changed it. Munging now

Edit:
It works, but only the spider droid showed up, not the At-te
Post Reply