Flying vehicles don't work.
Moderator: Moderators
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Flying vehicles don't work.
I'm making Naboo, and I got speeders and tanks to work, but no gunships, droidstarfighters, or Jedi star fighters. I put them in my lua under the republic and cis I made control regions for the cps I asigned the vehicles to the controlzone, put the vehicles in a vehicle spawn, but nothing will make them work.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flying vehicles don't work.
Do you have your CommandFlyer and EntityFlyer memory pools filled out?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Flying vehicles don't work.
what do I fill them out with? The name of the vehicle?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flying vehicles don't work.
In your lua, in the memory pools section, add these lines if they don't already exist:
Command flyers are the ships that act as mobile command posts, such as the gunship. Everything else is a normal flyer.
EDIT: Fixed.
Code: Select all
SetMemoryPoolSize("EntityFlyer", number of normal flyers)
SetMemoryPoolSize("CommandFlyer", number of command flyers)EDIT: Fixed.
Last edited by Xavious on Fri Oct 23, 2009 4:11 pm, edited 1 time in total.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Flying vehicles don't work.
Code: Select all
SetMemoryPoolSize("EntityFlyer", number of normal flyers)5
SetMemoryPoolSize("EntityFlyer", number of command flyers)5-
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: Flying vehicles don't work.
Have a look at a map with flyers and copy those lines to your lua, name wise it would be EntityFlyer and EntityCommandFlyer (or close to that) it won't be the name of the flyer itself.
So either a space script or hoth would also be a good one to look at.
Xav copied the same line twice I think as it says EntityFlyer twice.
and you would replace the number of flyers test with the number as oppose to being outside the bracket.
So either a space script or hoth would also be a good one to look at.
Xav copied the same line twice I think as it says EntityFlyer twice.
and you would replace the number of flyers test with the number as oppose to being outside the bracket.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flying vehicles don't work.
Replace "number of normal flyers" and "number of command flyers" with the numbers, and get rid of the numbers outside the parentheses.Code: Select all
SetMemoryPoolSize("EntityFlyer", number of normal flyers)5 SetMemoryPoolSize("CommandFlyer", number of command flyers)5
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Flying vehicles don't work.
Where is it in my .lua?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flying vehicles don't work.
With the rest of the SetMemoryPoolSize lines.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Map crashes
My map is crashing. I think it's because I accidenly deleted a line from my .lua when I tried to add flying vehicles. Here's my .lua:
Topics merged, it's best to keep it together -Staff
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Flying vehicles don't work.
Did the munge log indicate that there were any errors with the LUA? If so, fix what it told you to. If not, get an error log and fix the errors outputed. If you don't know what the errors mean, then post the error log.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Flying vehicles don't work.
Is there any exact place I have to put it, or can it go anywhere as long as it's in the SetMemoryPool area?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Flying vehicles don't work.
Usually with the SetMemoryPoolSize lines after the SetupTeams section.
