Spawning Dead

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Spawning Dead

Post 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?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post 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 :)
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post 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.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Post 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
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post 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.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

You could be spawning slightly inside the floor. Try moving your spawn points up a bit.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post by trainmaster611 »

I already did, they are about half a meter above the floor.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post 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?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post 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.
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post by trainmaster611 »

The spawn point isn't anymore than 50 meters off the ground.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

Yeah, this is why I've never bothered to do an actual space map. I got this problem every time.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post 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.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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?
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post 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.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Post 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.
Post Reply