Adding Flying Vehicles
Moderator: Moderators
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Adding Flying Vehicles
Hello, its obi again, this thread is similar to the "adding walking vehicels" thread except that i now would like to know how to add flying vehicles and what you have to do. Thanks!
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: Adding Flying Vehicles
its really exactly the same thing...
Except you only need 1. the vehicle spawn in zeroedit 2. the vehicle called for in a ReadDataFile in the lua and 3. have its memory pool (EntityFlyer) set up (its already there by default for conquest luas).
Wasn't there a basic "how to add vehicles to your map" tutorial? What ever happenned to it?
Except you only need 1. the vehicle spawn in zeroedit 2. the vehicle called for in a ReadDataFile in the lua and 3. have its memory pool (EntityFlyer) set up (its already there by default for conquest luas).
Wasn't there a basic "how to add vehicles to your map" tutorial? What ever happenned to it?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Flying Vehicles
It's still there. In the "Getting Started" doc in the tools. People just choose to skip reading the documentation that's given to them from the get-go, for whatever reason. (Btw, Getting Started is the clearest and most newbie-friendly doc in there.)SBF_Dann_Boeing wrote:Wasn't there a basic "how to add vehicles to your map" tutorial? What ever happenned to it?
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Adding Flying Vehicles
No, the getting started document only has how to add vehicle spawns. I read the document 10 times and i still was getting nowhere with my vehicles. Nowhere in that document does it mention the lua or the memory pools. There is a document that talks about the lua but doesnt even mention the memory pools. I think when they release the next version they should make a better documentation. Anyways, the memory pool thing is what i need to add so thanks.
*EDIT
ok i added the flyer thing into the memory pools even though it was already there and still nothing was happening!! Here is my script so if anyone sees any problems, please tell me!! Thanks!! Here is it:
*EDIT
ok i added the flyer thing into the memory pools even though it was already there and still nothing was happening!! Here is my script so if anyone sees any problems, please tell me!! Thanks!! Here is it:
Hidden/Spoiler:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Flying Vehicles
I'm not sure which of the flyers you're trying to add, but I know that the droid gunship won't show up because it's a commandflyer, for which you need an extra memorpool line. Just like a commandwalker (or a commandhover), you need SetMemoryPoolSize("CommandFlyer", 1) (or however many you need) for commandflyers.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: Adding Flying Vehicles
there is also a forum on adding command flyers and walkers if that is your problem. Also you've changed your units from 20 to 90 which means you have to add SetUberMode(1); uner conquest:start. i assume you are a beginer?
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Adding Flying Vehicles
ok, i will try the command flyer thing. I am trying to add the geonosian starfighter. can someone please help me do this?
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: Adding Flying Vehicles
but...we just told you how to do it.
EDIT:
actually the geo fighter is slightly more complicated cuz its not in the default geo side for swbfII. You'd have to set up a custom side to call for it. I don't really want to go into how to do that now, someone else can.
EDIT:
actually the geo fighter is slightly more complicated cuz its not in the default geo side for swbfII. You'd have to set up a custom side to call for it. I don't really want to go into how to do that now, someone else can.
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Adding Flying Vehicles
ok, thanks n e ways
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Adding Flying Vehicles
Psst, for adding side parts like geo, search rep sarktrooper. It was a thread on sides by me....
Also, normal flyers add just with vech spawns. Nothing else needed but adding what flyer in the .lua
Also, normal flyers add just with vech spawns. Nothing else needed but adding what flyer in the .lua
-
SilvaDalek
- Sith

- Posts: 1329
- Joined: Sun Dec 02, 2007 12:52 pm
- xbox live or psn: TH3 R0LL3R
Re: Adding Flying Vehicles
He doesn't mean S ARK Trooper, he means Dark Trooper. 
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Adding Flying Vehicles
I am going take wild guess given what you are loading in the LUA that this is not a space map but a ground map.
If so you need to add the last line in the place shown.
SetMaxFlyHeight(300)
SetMaxPlayerFlyHeight (300)
SetGroundFlyerMap(1)
If so you need to add the last line in the place shown.
SetMaxFlyHeight(300)
SetMaxPlayerFlyHeight (300)
SetGroundFlyerMap(1)
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Adding Flying Vehicles
ok i think its the last thing that you mentioned that i need to edit. Thanks.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Adding Flying Vehicles
I've never had to use that lineSetGroundFlyerMap(1)
