Page 1 of 1

Spawning Dead

Posted: Fri Jul 20, 2007 10:14 pm
by trainmaster611
There is one particular map where when I spawn, no matter where I spawn or what object I spawn on, I always die. Unfortunately, there is no terrain to spawn on since its a space map but no matter where I put the spawn points, the character will always spawn dead on the spot. There's only one cp to spawn from but it has about 7 nodes. The spawning area is the standard rep hangar. What exactly is causing this to happen?

Posted: Sat Jul 21, 2007 4:32 am
by Aman/Pinguin
I had that problem too, simply put this into your lua ( or edit your Height's in the lua to this):

SetMinFlyHeight(-1800)
SetMaxFlyHeight(1800)
SetMinPlayerFlyHeight(-1800)
SetMaxPlayerFlyHeight(1800)

Hope that works :)

Posted: Sat Jul 21, 2007 7:49 am
by EGG_GUTS
I had this problem with Space Dathomir. The setting flyer height doesn't work the only thing that does is you have to lower the ship.

Posted: Sat Jul 21, 2007 8:20 am
by Aman/Pinguin
EGG_GUTS wrote:I had this problem with Space Dathomir. The setting flyer height doesn't work the only thing that does is you have to lower the ship.
He should just test it, because for me it worked

Posted: Sat Jul 21, 2007 1:03 pm
by trainmaster611
It already like that by default in my LUA. The spawn points are only about 100-200 meters high so it shouldn't being dieing at that elevation.

By the way, I forgot to mention that when the player spawns dead, his body doesn't fall to the floor but instead the HUD dissapears instantly and the little item that comes from dieing people will fall onto the ground.

Posted: Sat Jul 21, 2007 2:24 pm
by Eggman
I'm having that problem right now too. I'll probably go hunting for a solution sometime today, so if I find one I'll post it here.

Posted: Sat Jul 21, 2007 11:14 pm
by [RDH]Zerted
You could be spawning slightly inside the floor. Try moving your spawn points up a bit.

Posted: Sun Jul 22, 2007 12:59 am
by trainmaster611
I already did, they are about half a meter above the floor.

Posted: Sun Jul 22, 2007 1:01 am
by Maveritchell
I don't suppose you did something silly, like moving all the objects that make up the ship and not move the regions, thereby making you spawn on a deathregion?

Posted: Sun Jul 22, 2007 1:03 am
by trainmaster611
Naw, the original death regions were a mile away. Besides, I've moved the spawn point to three different locations (a few thousand meters from each other) but it made no difference.

Posted: Sun Jul 22, 2007 7:38 am
by EGG_GUTS
Did you try my suggestion? Cuz I had all these symptoms for my problem and that was the only thing that fixed it.

Posted: Sun Jul 22, 2007 10:15 am
by trainmaster611
The spawn point isn't anymore than 50 meters off the ground.

Posted: Sun Jul 22, 2007 11:12 am
by Teancum
Yeah, this is why I've never bothered to do an actual space map. I got this problem every time.

Posted: Sun Jul 22, 2007 11:52 am
by MercuryNoodles
Do any of the logs provide any info? I've never experienced anything like this, so I'm just trying to follow the clues.

Posted: Sun Jul 22, 2007 2:30 pm
by trainmaster611
Well let's see. There's a whole bunch of stuff about not being able to find the critical systems called for in the LUA. There's no turret explosions. Something about unknown modifier "InVehicle". A vehicle spawn being improperly assigned a controlzone. SOemthing about missing hardpoints. SOmething about item count.

This is the only thing I don't understand but I doubt even this will lead anywhere:
Message Severity: 2
.\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (5f518933)!
Bah, if we can't figure this out, I can just delete the map and save the assets to start it over.

Posted: Sun Jul 22, 2007 4:20 pm
by MercuryNoodles
The "InVehicle" stuff is in reference to VO stuff the devs either didn't finish or cut from the game. Pay it no mind. You should look into fixing the rest, though. It probably won't affect the problem you want fixed, but it would be a good idea regardless.

The duplicate effect class name error isn't really relevant to this, and I doubt it's a serious error.

Does it show anything in the munge logs?

Posted: Sun Jul 22, 2007 4:38 pm
by Eggman
The space lua guide describes something that sounds like this problem and suggests increasing the SetWorldExtents value, but doing that didn't help me at all (I even bumped it up from 2500 to 20000, just in case). Give it a shot though if you haven't already, maybe you'll have better luck.

Posted: Sun Jul 22, 2007 4:54 pm
by trainmaster611
What I did is I moved the spawn points closer to the middle of the space map and they stopped dieing. SO yeah, you solved it. Thanks man :)

Now I do wonder how far the game is going to let you extend the setWorldExtents value.

Posted: Mon Jul 23, 2007 4:36 pm
by Eggman
When I set the SetWorldExtents value to 20000 the map crashed before it even made it to the loading screen (the logs said something about RunTime errors). So yeah, I definately don't recommend setting it that high. I was able to get it up to 15000 though without any issues, so I'm guessing the limit is right around there.