Need help with 2 things^^
Moderator: Moderators
-
CmdAt-a
Need help with 2 things^^
As the Subject say, i need some help:
1. How do i add an AT-AT and AT-TE to my ground map
2. I have added a clone cruiser to my ground map in the one side and a rebel cruiser in the other side of map, but then they are there too if i play droids, is there a way to make my map only work in clone wars(that you only can pick clone wars mode when you pick map)??
any help would be good
At-a
1. How do i add an AT-AT and AT-TE to my ground map
2. I have added a clone cruiser to my ground map in the one side and a rebel cruiser in the other side of map, but then they are there too if i play droids, is there a way to make my map only work in clone wars(that you only can pick clone wars mode when you pick map)??
any help would be good
At-a
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Use Search. Please.
One of your answers was only 4 topics down, on the first page.
Walkers: (2nd page)
http://www.gametoast.com/index.php?name ... pic&t=6648
Removing Eras:
http://www.gametoast.com/index.php?name ... oving+eras
One of your answers was only 4 topics down, on the first page.
Walkers: (2nd page)
http://www.gametoast.com/index.php?name ... pic&t=6648
Removing Eras:
http://www.gametoast.com/index.php?name ... oving+eras
-
CmdAt-a
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
Yeah, it's with memory pools:
change # to the number of command walkers you have in your map.
Code: Select all
SetMemoryPoolSize("CommandWalker", #)-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
This is from the LUA guide in the docs talking about the walker section:
ClearWalkers wipes out any allocations that may have been done automatically for walkers. You’ll need to have this line in, and uncommented if you want to have walkers in your level.
-- ClearWalkers()
These next lines will add walkers to your level. The first number inside the parenthesis specifies how many leg pairs the walker type has. Droidekas are set up as a special case, with 0 leg pairs. So as you can see below, we have AddWalkerType(0,4) this specifies that we will have 4 walkers with 0 leg pairs (droidekas). 1 leg pair would specify a walker with one pair of legs, an ATST for example, or a one-man ATST from the clone wars era. So for 2 ATSTs, we would have a line that says; AddWalkerType(1, 2)
2 leg pairs would be a unit like the CIS spider walker, or an ATAT, and 3 leg pairs would be the 6-legged walker from the clone wars era.
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
-
CmdAt-a
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
