Can't get ATTE or Jedi Starfighter to spawn [Solved]
Posted: Mon Jul 30, 2012 11:34 am
by sithlord501
hey, I was making a mpa and i cant get either the atte or the jedi starfighter to spawn, i could get other vehicle but not those. Any ideas? I am pretty sure my lua is correct.
Re: cant get atte or jedi starfighter to spawn
Posted: Mon Jul 30, 2012 12:02 pm
by willinator
You're problem is in your LUA, at this section right here:
Hidden/Spoiler:
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)
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
This part is underneath the team setup. You need to increase the memory pool for EntityFlyer, and you need to change AddWalkerType(3, 0) to (3, however many ATTE's you want to spawn). That should fix it.
Re: cant get atte or jedi starfighter to spawn
Posted: Mon Jul 30, 2012 12:22 pm
by sithlord501
is this in my maps lua?
Re: cant get atte or jedi starfighter to spawn
Posted: Mon Jul 30, 2012 1:05 pm
by Bob
Don't forget to set up a memory pool for CommandWalkers.
would it be to set the memory pool.
Don't forget to get a model for it since the rep_fly_jedifighter_sc.odf calls for a geometry that isn't included in the stock assets. I think there was one released, just search Gametoast and/or Filefront.
Re: cant get atte or jedi starfighter to spawn
Posted: Mon Jul 30, 2012 6:07 pm
by AQT
willinator wrote:You need to increase the memory pool for EntityFlyer
sithlord501 wrote:ok thanks, then what about the jedistarfighter, i cant get that to spawn either
Willinator specifically wrote that in his very first response to you. The Jedi Starfighter is a type of flyer.