Is it possible to lower the "gravity" of a map?

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
_vader_

Is it possible to lower the "gravity" of a map?

Post by _vader_ »

I hope this isnt a dumb question, but is it possible to lower the "gravity" of a map? (Jump higher)? I could make a guess that it has to do with LUA editing, but could someone tell me if its even possible and how plz?
Yocki

RE: Quick (I hope) Modding Question

Post by Yocki »

try making the units to jump higher and the damage taken from falling from a high place lower, or start to hurt you from a higher height.
I don't know if its possible to lower the speed of jumping and falling.
This metod is related to side/units editing.
Tuskenjedi

RE: Quick (I hope) Modding Question

Post by Tuskenjedi »

you can make units jump higher in their "default" odf. They did that with ig88, didn't they?As for the second question, Tean knows, I remember him answering this question once.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Quick (I hope) Modding Question

Post by Qdin »

but i'm pretty sure the gravity itself is hardcoded... :?

the jumping height would probably be the best, but the speed they fall down with...
RC-1290

Post by RC-1290 »

Please try to learn using the search function, I just replied to this question on another topic, a few days ago :|.

RC-1290'Dreadnought'
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 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 Ace_Azzameen_5 »

I'm thinking the closest SWBF2 could do would be region which, upon a unit entering, there stats are changed. SWBF2 can do this somehow, Archer and Zerted know.

You could give the units a higher jump height but I don't think a lower fall rate.

Also, ordinance(Ammo that comes out of your weapon) has gravity settings that maybe change by lua too.

It means a lot of coding. Unfortunately, SWBF2 does not seem to have gravity/force regions for things like wind or space.
_vader_

Post by _vader_ »

@RC-1290 ok but every time i search for anything, nothing shows up. and i always look around to see if i can find the answer before i have a question, but i couldn't so thats why i started a new topic.

Oh and tusken jedi, where do i find the odfs to do this (jump higher)?
Tuskenjedi

Post by Tuskenjedi »

they are in their side folder. It's the default ones, i think. Like imp_inf_default_rifleman for the stormtrooper

under their health put these, and change the values to your liking

JumpHeight = 1.0
JumpForwardSpeedFactor = 1.0
JumpStrafeSpeedFactor = 1.0

lowering the speed, well, slows him down.

If that doesn't work for gravity, also add this:

ControlSpeed = "jump 0.00 0.00 0.00"

that might help. It's basically the same thing, I think.
the first value is the thrust, the second is the strafe, and the third is the turn

but of course, you have to change those values, because 0 = well, nothing :)
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
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 Qdin »

but that doesn't lower the speed of which he falls down.. :)
_vader_

Post by _vader_ »

but in the "C:\BF2_ModTools\data_ABC\Sides" folder, there is only turret stuff. I take it thats not where to find it? Sry im confused.
User avatar
arty
Rebel Sergeant
Rebel Sergeant
Posts: 190
Joined: Tue Sep 12, 2006 10:17 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: USA
Contact:

Post by arty »

you gotta go to your assets folder, and then sides, and then take whatever side you want and paste it in your sides folder, then edit that.
_vader_

Post by _vader_ »

ok thx
User avatar
arty
Rebel Sergeant
Rebel Sergeant
Posts: 190
Joined: Tue Sep 12, 2006 10:17 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: USA
Contact:

Post by arty »

No problem, always a joy to help!
Post Reply