How do i change the float height of auto turrets?

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
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

How do i change the float height of auto turrets?

Post by Dakota »

tried searching this and it said no suitable matches found...

i know people have done this before as seen in other mods. i wanted to make my auto turret not float at all. so that it would be half way into the ground and look like just a bump on the ground. its for a shield bunker dispenser i made.
User avatar
Unlucky13
Sergeant Major
Sergeant Major
Posts: 239
Joined: Mon Jan 24, 2011 11:11 am
Projects :: Models models models
Games I'm Playing :: Random stuff

Re: auto turret float height

Post by Unlucky13 »

The only thing I can think of is to move the model down in xsi.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: auto turret float height

Post by FragMe! »

Are you using a custom made turret or the shipped com_weap_inf_dropturret?

The shipped one has 2 collision primitives, p_-so_sphere (this is at the same height and size as the turret sphere) and p_-vbt_cube which is a cube whose width is the same as the diameter of the sphere and its height is from the ground to the top of the turret sphere.

The first collision is for the soldier and ordnance, second is the terrain, building & vehicle collision which is what actually what makes it "float" above the those surfaces.
For what you want to do you would have a -vbt collision that starts halfway though the upper half of the sphere so it stops halfway though the ground. Which if you were intending on using the shipped turret model is not possible without editing in XSI and re-exporting
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: auto turret float height

Post by Dakota »

FragMe! wrote:Are you using a custom made turret or the shipped com_weap_inf_dropturret?

The shipped one has 2 collision primitives, p_-so_sphere (this is at the same height and size as the turret sphere) and p_-vbt_cube which is a cube whose width is the same as the diameter of the sphere and its height is from the ground to the top of the turret sphere.

The first collision is for the soldier and ordnance, second is the terrain, building & vehicle collision which is what actually what makes it "float" above the those surfaces.
For what you want to do you would have a -vbt collision that starts halfway though the upper half of the sphere so it stops halfway though the ground. Which if you were intending on using the shipped turret model is not possible without editing in XSI and re-exporting
could i just remove the collision? i don't have or know how to use XSI.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: auto turret float height

Post by FragMe! »

It would fall though the ground (been there, done that, wondered where it went)
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: auto turret float height

Post by Dakota »

FragMe! wrote:It would fall though the ground (been there, done that, wondered where it went)
hmm. ok then. wow i need to actually download XSI and learn to use it likes i have been planning to for over a month. i wanted to make a new tank, maybe a new model, some animations, and now this...

time to go to the modeling section :shock:
User avatar
keenmike
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Sat Mar 14, 2009 7:05 am
Projects :: Side by side bike with suspension
Games I'm Playing :: SWBF1
Location: South Texas
Contact:

Re: auto turret float height

Post by keenmike »

This is how I move objects in a map world. Search in the world folder for the file that contains all map objects. Look for a WLD or LYR something like that file. Inside it you will find the objects labled with names similar to that of the mesh models of your map. The objects will have values that tell where on the map they go. Adjusting one value, the one in the middle of the ChildPosition line for example -33.151 will move it up or down.

Object("lampost32", "bes2_bldg_street_lamp", 27710001)
{
ChildRotation(1.000, 0.000, 0.000, 0.000);
ChildPosition(-141.134, -33.151, -77.871);
SeqNo(27710001);
Team(0);
NetworkId(-1);
Layer(2);
}

At first thought this would help you but now rethink my mod map making ways take to much time.
Can't wait to see your tank Dakota.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: auto turret float height

Post by DarthD.U.C.K. »

i think hes talking about a dispensable autoturret...
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: auto turret float height

Post by Dakota »

DarthD.U.C.K. wrote:i think hes talking about a dispensable autoturret...
yep... (its a turret that mades a shield)
Post Reply