Gravity of Individual Units [Solved]

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
EarlybirdZZ
Recruit Womprat Killer
Posts: 8
Joined: Mon Jul 07, 2014 4:42 am

Gravity of Individual Units [Solved]

Post by EarlybirdZZ »

Hi everyone, a bit of an odd request coming up.

I'm new to this whole modding scene and so far I haven't started a "real" project, I'm just messing around.

I was just wondering, is there any way to put custom gravity values for individual unit classes. Say I want a unit that glides through the air, or sticks to the ground at all times.

I'm looking for a solution that:

> does not include the "JumpHeight" parameter

> is possible to do just by modifying the .odf file of the class.

Thanks!
Last edited by EarlybirdZZ on Wed Nov 05, 2014 3:49 am, edited 1 time in total.
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Gravity of Individual Units

Post by hunpeter12 »

I don't think there's anything like this, since the "Gravity" parameter works only for ordnance.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Gravity of Individual Units

Post by Marth8880 »

You can't change the effects for individual units, but check this out: http://www.gametoast.com/viewtopic.php?f=27&t=27719
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Gravity of Individual Units

Post by Kingpin »

About that, does that mean that all of the units, when jumping in low-grav, won't be able to fire? Since they are in their jumping animations.
User avatar
EarlybirdZZ
Recruit Womprat Killer
Posts: 8
Joined: Mon Jul 07, 2014 4:42 am

Re: Gravity of Individual Units

Post by EarlybirdZZ »

Shame it doesn't work for indvidual units :(

Thanks for the replies.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Gravity of Individual Units

Post by THEWULFMAN »

Kingpin wrote:About that, does that mean that all of the units, when jumping in low-grav, won't be able to fire? Since they are in their jumping animations.

Yes. No way strictly around that.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Gravity of Individual Units

Post by Kingpin »

What if you made a new animation set without the jumping pose? Would he just remain in his basepose when he jumps?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Gravity of Individual Units

Post by THEWULFMAN »

The game would crash without a complete human animation set.


The ability to fire has nothing to do with the animation. It's just that in the freefall state, you can not fire. Same with how in the roll state you can not fire, and how when you're in the sprinting state you can not fire. The animations of these actions are irrelevant to what state the unit is in.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Gravity of Individual Units

Post by Marth8880 »

THEWULFMAN wrote:The game would crash without a complete human animation set.


The ability to fire has nothing to do with the animation. It's just that in the freefall state, you can not fire. Same with how in the roll state you can not fire, and how when you're in the sprinting state you can not fire. The animations of these actions are irrelevant to what state the unit is in.
QFT.

You might, however, be able to achieve the effect you want through some tricky .combo editing, but I'm not very experienced writing .combo files, so I couldn't really help you much there. :p You'd wanna talk to Mav or Rancor for that.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Gravity of Individual Units

Post by Kingpin »

Yeah, I was actually talking to Rancor awhile back about combos, but he is pretty busy working on his book. That's alright, I just thought a low-grav map would be cool.
Post Reply