Vehicle Spawns
Moderator: Moderators
-
pepper11193
- Private
- Posts: 35
- Joined: Mon Jun 19, 2006 4:46 pm
Vehicle Spawns
I cannot get the ATST, speederbike, swampspeeder, and the UTAT to spawn in my level
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
RE: Vehicle Spawns
Did you read the documentation "Getting Started"? 
-
pepper11193
- Private
- Posts: 35
- Joined: Mon Jun 19, 2006 4:46 pm
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
- EraOfDesann
- Jedi Admin

- Posts: 2170
- Joined: Mon May 30, 2005 5:22 pm
- Location: North Texas
- Contact:
Re: RE: Vehicle Spawns
trainmaster611 wrote:Did you read the documentation "Getting Started"?
Stop that. If you keep rolling your eyes at people they'll fall out of your head.
-
pepper11193
- Private
- Posts: 35
- Joined: Mon Jun 19, 2006 4:46 pm
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
You have to update your LUA with your new CP. Find this part in your LUA:
You need to add your new CP so say it's called cp5, this part would look like this:
Code: Select all
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
Code: Select all
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
i wrote that in another topic similar to this one (There are so many!Alright, I'll briefly go over of what you need to do to get the UT-AT in-game. (Just to check if you missed anything)
1. let's put the source files in the "rep" side (odf files in odf folder) (msh files in msh folder) (just paste the whole sound folder in the rep side folder) Effects files in the effects folder) (if i missed anything, I think you know what i Mean)
2. Now, Go into the rep req file in the "rep" side folder add the line- "rep_hover_utat". Go into the req folder in in the rep side folder, Copy another vehicle req file, and open it up- replace the name of the vehicle with - rep_hover_utat, and rename the file to rep-hover-_utat (i think)
3. Go into the LUA, and add the line (under the rep datafile
line) "rep_hover_utat)
4. Stay in you LUA- Add this line- "SetMemoryPoolSize = CommandHover 1
(or something like that- (sry don't have the mod tools with me ATM so I'll edit later once i get to them)
5. in the ZE place a vehicle spawn and you know the rest.
concerning #4 I'm sure it's not that exact line you add, but it's something like that.
Yep, You're missing the setmemorypoolsize line that goes under the rest of the setmemorypoolsize lines
Edit: Ok, the line you add is SetMemoryPoolSize("CommandHover", 1) (the number behind the the Command Hover determines the amount of command hovers that can be on the Battlefield at once
the above "tut" Is for the UT-AT specifically. Since you were able to get the other vehicles working ingame, I take it you know what to do in the ZE. For the AT-ST and the others, Make sure you have the correct odf name- that's the problem half the time.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
pepper11193
- Private
- Posts: 35
- Joined: Mon Jun 19, 2006 4:46 pm
-
pepper11193
- Private
- Posts: 35
- Joined: Mon Jun 19, 2006 4:46 pm
