Space Engineers

Space Engineers

Not enough ratings
Adjustable Collision Damage - 50% Reduction by Default, Configurable Settings
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Character, Other
File Size
Posted
Updated
232.050 KB
20 May, 2024 @ 12:22pm
5 Jun, 2024 @ 9:33pm
8 Change Notes ( view )

Subscribe to download
Adjustable Collision Damage - 50% Reduction by Default, Configurable Settings

Description
ComeAndSee's Adjustable Collision Damage v0.4

New in v0.4: Added configurable settings in an .XML file located in your save's World Storage folder.

This mod reduces the damage from collisions and deformations by a specified percentage (default is 50%). You can customize the damage reduction by adjusting the parameters below inside an .XML file in your world storage folder in: %appdata%\Roaming\SpaceEngineers\Saves\[your save]\Storage\mod name folder\AdjustableCollisionConfig.xml

Adjustable Parameters in the .XML file:

* DamageReductionPercentage: Default is 0.50f (50%). Set between 0.00f (no damage) and 1.00f (full damage). For example, 0.50f reduces damage by 50%.
* MinimumDamage: The minimum amount of damage that can be applied from collisions. Default is 1.0f.
* MaximumDamage: Caps the maximum damage that can be applied from collisions. Default is 99999.0f, which is effectively unlimited.
* DisableVehicleGroundCollisionDamage: Disables collision damage when vehicles impact the ground. Default is false.
* DisableFriendlyVehicleAndPlayerCollisionDamage: Disables collision damage when colliding with friendly vehicles or players. Default is false.
* DisableVehicleTreeCollisionDamage: Disables collision/falling damage when vehicles collide with trees. Default is false.
* DisablePlayerCollisionDamage: Disables collision damage to players. Default is false.
* Debug: Enables debug logging. Default is false.

Want no collision damage at all and don't want to play with any settings? Check out my other mod: Disabled Collision Damage (Vehicles + Players).

I plan on adding ingame chat commands to change settings in 0.5...
9 Comments
rickmus 14 Sep @ 11:58am 
I have some fixes for vehicle collision and dedicated servers. How can I get them to you?
ZEN_2255 28 Jul, 2024 @ 4:21am 
HI. Can you make a separate configuration for Grinder to become armored? So they can ignore collision damage like drills?
Come and See  [author] 21 Jun, 2024 @ 2:34pm 
@TwinIndifferent DamageReductionPercentage applies to damage taken to players and grids from all collision and falling sources.
TwinIndifferent 17 Jun, 2024 @ 7:06am 
Does this mod reduces both voxel and grid collision damage or it can be set up to prevent only grid/player damage?

Asking to deal with Clang wanting my soul each time I use jetpack or try to land on a station moving around 500 m/s on stable orbit.
Come and See  [author] 5 Jun, 2024 @ 9:37pm 
I deployed an update with version 0.4.10 that addresses the server crash caused by a null entityid and unknown damage type.
Come and See  [author] 5 Jun, 2024 @ 1:19pm 
Regular keen log with debugging enabled in the .XML.
Cosmonaut 5 Jun, 2024 @ 11:47am 
I can absolutely get you a crash log. I'll try and get that over to you today. Is it gonna be the regular keen log or does the mod make it's own?
Come and See  [author] 5 Jun, 2024 @ 8:44am 
@Cosmonaut Sorry to hear that. I'm pushing a new update with more robust checks and logging. If it still happens can you enable debugmode in the script and send me the info on Discord? My discord is ComeAndSee.
Cosmonaut 4 Jun, 2024 @ 7:03pm 
Seems to crash torch and the server when disablefriendly is on and you crash into a friendly grid.