Se incarca...

IceWater (Cold Water Damage) 1.0

62

An extremely simple script that damages the player for swimming during cold weathers.

Features:

-Damage every two seconds (Configurable)
-Half damage for standing in water
-Full damage for swimming
-Double damage for being underwater
-Damage worsens as weather worsens
-Camera Shakes when taking damage
-Camera VFX while in freezing water
-Configurable damage multiplier

Damage Chart::
Assuming DamageMultiplier = 1. Damage applies every two seconds by default.
========================================================
[ ][ SnowOnGround/Light Snow][Normal Snow/Xmas][Blizzard]
[Standing ][ 3 ][ 4 ][ 5 ]
[In Water ][ 6 ][ 8 ][ 10 ]
[Underwater ][ 12 ][ 16 ][ 20 ]
=========================================================
Config Options
EnableCameraShake - Whether or not to shake the camera when taking damage. On by default.
EnableVFX - Whether or not to enable the white screen effect when in freezing water. On by default.
EnableWhileSnowOnGround - If the ground is covered in snow, any weather will damage the player while swimming. On by default.
DamageFrequency - How often to apply damage, in milliseconds. Default is 2000ms, or every two seconds.
DamageMultiplier - Final tunable to alter the damage done by the script. set to 2 for double damage, 0.5 for half damage, etc. 1 is the default damage values in the chart above.

Requirements:
ScriptHookVDotNet

Installation:
Drop IceWater.dll and IceWater.ini into your GTA V scripts folder.

Known Issues:
If Snow on Terrain has been enabled then disabled, it can take some time for the water to stop damaging the player. If anyone has a game version independent way of checking for snow on terrain from SHVDN please let me know!

Changelog:
1.0.0 - Initial Release

Source Code:
https://github.com/Hydraxonn/IceWater

Credits:
NVE was used for the screenshots because pretty
LorenVidican for (most of) the pause menu maps
Show Full Description

Primul incarcat: 20 hours ago
Ultimul incarcat: 17 hours ago
Last Downloaded: in urma cu 4 minute

All Versions

 1.0 (current)

62 downloads , 4 KB
20 hours ago

1 Comentariu