Insurgency: Sandstorm

Gravity for Insurgency: Sandstorm

Released (updated ago). Ranked 186 of 664 with 669 (3 today) downloads

Published by TayLord (mod ID: 2022968)

gravity2.jpg

Want to be able to make some of those jumps between rooftops or through windows that you couldn't make before or a give yourself a bit of a moon walking vibe? Here you go!

Enables the ability to adjust players relative gravity level in-game. This will not be compatible with other mutators that override the player class attribute modifiers like speed. This only adjusts the players gravity and not the world's. To adjust the worlds see the note at the bottom.

Mutator=Gravity

Define the following in your game.ini:

[/Gravity/Mutators/Gravity.Gravity_C]
Gravity=6

Gravity can be any integer from 1-20, where 1 corresponds to a gravity of 0.1 (flying), 10 is 1.0 (vanilla), and 20 corresponds to 2.0 (you aint winning any vaulting contests anytime soon). Default is 6, which is 0.6 gravity and will enable some rooftop jumps and window dives that were not possible before.

Description Gravity Config Integer Relative Gravity In-Game
Walking on the moon 1 0.1
Can jump between rooftops 5 0.5
Vanilla 10 1.0
Wow I'm not as young as I used to be. 15 1.5
Did I even leave the ground? 20 2.0


Alternatively, if you want to permanently set the gravity to something different, then you can adjust DefaultGravityZ in the Engine.ini. This is by default set to -980. Unfortunately, you can not enable/disable this setting. It will always be applied for the server unless you manually change it and restart the server or game. Use the following setting in the Engine.ini file. You may need to create this file.

Servers: ...\sandstorm_server\Insurgency\Saved\Config\WindowsServer\Engine.ini
Local: ...\AppData\Local\Insurgency\Saved\Config\WindowsClient\Engine.ini

The following would half the world gravity:

[/Script/Engine.PhysicsSettings]
DefaultGravityZ=-490.0

With this set you can use the Gravity mutator with gravity set to 20 for 2x gravity for player, which would then feel like vanilla, since the world gravity has already been decreased in the Engine.ini. This will make grenades go flying on being thrown and particles go flying, but player remain in 1g. You could also increase the gravity for the player along with the DefaultGravityZ to cause player dynamics to feel similar to vanilla, but have the environment be in lower G.


Servers: ...\sandstorm_server\Insurgency\Saved\Config\WindowsServer\Game.ini
Local: ...\AppData\Local\Insurgency\Saved\Config\WindowsClient\Game.ini

[/Gravity/Mutators/Gravity.Gravity_C]
Gravity=10


Appreciate my work and want to donate or have a mod made? See my profile for link. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.

Releases

FilenameSizeVersionAddedOptions
filedata.1.zip4.04kb1.0

filedata.zip3.61kb-

10 comments

Join the community or sign in with your gaming account to join the conversation:

GE
germanc4 @germanc4

i have a problem with enabling jump shoot and ADS while jumping. I set DefaultGravityZ=-500.0 in Engine.ini and Gravity=10 in Game.ini but it does work. Is there another configuration im missing?

TL
TayLord @taylord

Have you added the Gravity mutator to your mutator list? I.e.
travel Canyon?Scenario=Scenario_Crossing_Checkpoint_Security?Mutators=Gravity

GE
germanc4 @germanc4

yes its added, the gravity works but aiming and shooting while jumping doesnt

TL
TayLord @taylord

Are you running with other mods? This overrides player class attributes so it won't be compatible with things like player speed modifiers.

GE
germanc4 @germanc4

no other mod, just Gravity. is it working for you?

TL
TayLord @taylord

This mod only affects the relative gravity of the player to the world. Setting the Engine sets the world gravity. Jump shoot and ADS while jumping are enabled in vanilla. If you just want to lower gravity, then don't use this mod. Just adjust the Engine.ini. However, if you want to adjust the world gravity and player independently, then use this mod. I've updated the description to make it a bit more clear.

GE
germanc4 @germanc4

[/Gravity/Mutators/Gravity.Gravity_C]
Gravity=6
goes in game.ini or engine.ini?

TL
TayLord @taylord

Game.ini

GE
germanc4 @germanc4

thanks man.

Mr9v9
Mr9v9 @900ghz

;) Love the description.