Page 1 of 1

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

Posted: Tue Jan 23, 2007 5:41 pm
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?

RE: Quick (I hope) Modding Question

Posted: Tue Jan 23, 2007 7:02 pm
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.

RE: Quick (I hope) Modding Question

Posted: Tue Jan 23, 2007 9:46 pm
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.

RE: Quick (I hope) Modding Question

Posted: Wed Jan 24, 2007 6:36 am
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...

Posted: Wed Jan 24, 2007 12:46 pm
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'

Posted: Wed Jan 24, 2007 3:06 pm
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.

Posted: Wed Jan 24, 2007 5:02 pm
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)?

Posted: Wed Jan 24, 2007 5:25 pm
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 :)

Posted: Wed Jan 24, 2007 5:37 pm
by Qdin
but that doesn't lower the speed of which he falls down.. :)

Posted: Wed Jan 24, 2007 6:59 pm
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.

Posted: Wed Jan 24, 2007 7:44 pm
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.

Posted: Wed Jan 24, 2007 10:03 pm
by _vader_
ok thx

Posted: Wed Jan 24, 2007 10:08 pm
by arty
No problem, always a joy to help!