AddWalkerType()

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
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

AddWalkerType()

Post by Aman/Pinguin »

Alright.
I just want to know what the second number was about. I totally forgot it and can't find any references about it.
I'm asking this because it always bugged me that there's a 3 for the 4 legged / 2 legpaired spider walker for example.

Code: Select all

    AddWalkerType(2, 3) -- 2 spider walkers with 2 leg pairs each
(Search function is pretty useless, because it's in every single lua posted in this forum...)
Thanks. ;)
Last edited by Aman/Pinguin on Fri Jul 09, 2010 1:35 pm, edited 1 time in total.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: AddWalkerType()

Post by Xavious »

The second number is the number of walkers in the map that have the number of sets of 2 legs represented by the first number.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: AddWalkerType()

Post by Aman/Pinguin »

So, the comments in the geonosis lua for example are just wrong / outdated?
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

Re: AddWalkerType()

Post by Teancum »

Yep. It's AddWalkerType([number of walkers], [number of leg pairs for that walker])
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: AddWalkerType()

Post by Aman/Pinguin »

You mean AddWalkerType([number of leg pairs for that walker], [number of walkers]). :P

Alright thanks guys.
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

Re: AddWalkerType()

Post by Teancum »

errr... yeah, that's what I said, wasn't it? :oops: :lol:
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: AddWalkerType()

Post by SAMofBIA »

hmmm neato, that also solves many of my questions.
Post Reply