Page 1 of 1
Height-Spawn-Problem
Posted: Sat Feb 06, 2010 7:36 pm
by Redline
Hello everybody i got a big problem with the height of my map and the problem is that I can't spawn in height like 3000.
It seems that battlefront has his limit height about 327 and it's the maximum height where you can be with an unit.
I'm not really sure if it is true like i have said, but if there was a way to set the height like 3000 so that units can spawn, i would be very thankful to you.
And of course i already set the height to 3000.
SetMaxFlyHeight(-3000)
SetMaxFlyHeight(3000)
>> SetMaxPlayerFlyHeight (-3000)<< ???
>> SetMaxPlayerFlyHeight (3000) << ??? Why doesn't it work and why can be vehicles in this height without to die???
So here is a picture what it looks like if u spawn there.
Ps: In this picture you can see german so don't wonder and you know what usally is standing in english there .
I'm getting crazy of sw bf 2 and if you have an idea so then post and tell me, pls.
Thx in advance.
Re: Height-Spawn-Problem
Posted: Sat Feb 06, 2010 8:11 pm
by Fiodis
Why are you setting the max fly heights to negative and then positive values? It ought to be:
Code: Select all
SetMinFlyHeight(-3000)
SetMaxFlyHeight(3000)
SetMinPlayerFlyHeight(-3000)
SetMaxPlayerFlyHeight(3000)
Re: Height-Spawn-Problem
Posted: Sat Feb 06, 2010 8:15 pm
by Darth_Spiderpig
Redline wrote:SetMaxFlyHeight(-3000)
SetMaxFlyHeight(3000)
>> SetMaxPlayerFlyHeight (-3000)
>> SetMaxPlayerFlyHeight (3000)
For me the code in the lua is like that:
Code: Select all
SetMaxFlyHeight(3000)
SetMaxPlayerFlyHeight (3000)
or you could use:
Code: Select all
SetMinFlyHeight(-3000)
SetMaxFlyHeight(3000)
SetMinPlayerFlyHeight(-3000)
SetMaxPlayerFlyHeight(3000)
Redline wrote:Why doesn't it work and why can be vehicles in this height without to die???
I guess AI pilots.
And I don't think there is a max hight where you can be with an unit, so try this code and see if it works
EDIT:
Dang, Fiodis beat me.
Re: Height-Spawn-Problem
Posted: Sat Feb 06, 2010 9:00 pm
by Redline
I took that because it's in space too
it doesn't work =/ any other ideas? or is this bugged?
Re: Height-Spawn-Problem
Posted: Sat Feb 06, 2010 9:07 pm
by AQT
Redline wrote:It seems that battlefront has his limit height about 327 and it's the maximum height where you can be with an unit.
If that's the case and 3000 is obviously greater than 327, then that may be the problem. It may be hard-coded or "bugged" as you put it.
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 11:41 am
by Redline
One question how is it possible that droidekas can spawn in this height???
I guess they are walkerdroids, but it's not a explanation why they can and other units not.
Look at this pic and answer, pls.
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 1:05 pm
by Fiodis
Droidekas are technically more vehicles than units. Now that I see a pic, though, why would you want to spawn that high? It makes the ground look terrible.
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 1:08 pm
by Coley
That´s right and the "sky wall" of the ground looks ugly, too...
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 2:32 pm
by Redline
I'm trying to fill space and ground into one map. Sure the Planet still needs an environment and the ground hmmm... okay but i think there is a way to let it looks good.
Anyway so i have to tell the game that every unit is a technical vehicle like the droideka???

Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 4:05 pm
by Fiodis
No, at the moment we don't know much about how the droideka works. It's a walker that's a unit and despite efforts to the contrary we haven't been able to replicate that with any other model. So it's looking like you just can't have units that high.
My advice to you: search for earlier attempts to get ground and space into one map. There have been some pretty successful but relatively unknown experiments done.
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 6:32 pm
by Knightfire2201
Yeah, i know there's at least 2 that had land/space battles... I don't remember their exact name at the moment. They were made by the same person who made the capitol ship down maps..
Re: Height-Spawn-Problem
Posted: Sat Feb 13, 2010 6:40 pm
by ThePanda
Don't you have to change the SetWorldExtents parameter? I think that's the one anyway.