Instant Death for Jumping Units...?!

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
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Instant Death for Jumping Units...?!

Post by jangoisbaddest »

Okay, I just started a Hoth map that has a hangar and many tunnels inside the terrain. Whenever I jump, I instantly die (though at one spot i think my health bar is seen going down rather rapidly). This is including when I'm out in the open, but I'm also on the same altitude throughout my level. I have NO idea what this is, but hopefully it's fixable. Any thoughts?
ruasoh

Post by ruasoh »

Last time I encountered this I discovered that the ground is too high. You just have to lower the entire plane if possible. What is your average terrain height?
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

go into the lua file and change the min/max hight, usally its set to 30, make it 100 or something, if that doesn't work, you might have a death region in your map. (just a region thats named deathregion)
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Post by jangoisbaddest »

Thanks! Now when I jump, instead of dying, it's a short jump (like gravity is stronger). Where are all of the height controls, in the g_con Etc. files or what? My terrain is high, and I don't want to bring it down any unless I have to.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Need to raise the skycap more, then. The short jump is related to the player's head hitting the skycap. (or really close to it)
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 »

This is what you need to change in the ABCg_con.lua type files:
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)

change to something like:
SetMaxFlyHeight(100)
SetMaxPlayerFlyHeight (100)

This will raise the roof of the map, so you are not hitting it every time you jump.
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Post by jangoisbaddest »

Thanks guys! There's only one more thing that's angering me now - the mod tools app is only helpful if you can select different command posts! If it's in the green area, I can't select it! Is there any way besides clicking to select one?
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Post by jangoisbaddest »

Anyone? It kinda defeats the whole purpose of the tool.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Eh? I don't get the question.
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 »

Test your map with the retail version of SWBF2. It doesn't have a green box.
Post Reply