Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

Deadly Wrecks


Symbiote
 Share

Recommended Posts

DeadlyWrecks.png

WHAT IT DOES
Car wrecks hurt! Put on a seatbelt to reduce damage and prevent flying through the windshield.

- Minor wrecks don't hurt you.
- Normal wrecks hurt you based on car damage.
- Big wrecks hurt you based on car damage x1.5 and can trigger the drunk cam effect.
- Crashing upside down or sideways hurts you based on car damage x3.
- Press Left Alt to put on your seatbelt.

HOW TO INSTALL
This is a script for HazardX's .NET scripthook. Just place DeadlyWrecks.net.dll and DeadlyWrecks.ini into the 'scripts' folder of the .NET scripthook.

 

 

 


 

 

Download v1.1.6

Last updated October 16, 2013

 

 

 




TIPS
- Only you take damage from this mod, not NPCs.

- See the DeadlyWrecks.ini file for various settings.
. . . . The default settings assume that you have a car damage realism mod like Realistic Driving by Killatomate.

. . . . You can type "reloadini" in the console to load new settings while the game is running.
- When you wear your seatbelt:
. . . . You won't fly through the windshield.
. . . . Damage is reduced by a configurable amount.
. . . . There's a max amount of damage per collision (but you can still die if a wreck involves multiple collisions).

- There are settings (off by default) for more seatbelt realism:
. . . . Seatbelt_KeyHoldDuration: You have to hold the seatbelt key to put it on/take it off.
. . . . Seatbelt_PreventExit: You have to remove the seatbelt before getting out (huge thanks to LMS).

 

 

 




CHANGE LOG
v1.1.6 — October 16, 2013

- Decreased default ChassisSensitivity from 1.5 to 1.0
- Decreased default EngineSensitivity from 0.6 to 0.5
- Fixed bug: Flying through the windshield wasn't always detected
- Fixed bug: The radar flashed red upon entering a vehicle

 

v1.1.5 — October 15, 2013

- When you fly through the windshield, you take 90 damage (EjectionDamage INI setting)

- Added Seatbelt_PreventExit INI option: you have to remove seatbelt to get out (huge thanks to LMS)
- Added Seatbelt_Reminder INI option: reminder to remove seatbelt when you try to get out
- Added underscore to seatbelt setting names in INI for readability

- Decreased default ChassisSensitivity setting from 1.75 to 1.5
- Split INI into "Damage Detection" and "Seatbelt" sections

- Minor code cleanup

 

v1.1.4 — May 21, 2013
- "MinimumWreckDamage" threshold is applied AFTER any damage multipliers and seatbelt protection
- Added "SeatbeltKeyHoldDuration" INI setting - how long you have to hold the seatbelt toggle key
- Increased default "ChassisSensitivity" setting from 1.0 to 1.75
- Decreased default "EngineSensitivity" setting from 0.8 to 0.6
- Decreased default "MinimumWreckDamage" setting from 15 to 10
- Minor code cleanup

v1.1.3 — February 15, 2013
- Added chance of big wrecks triggering drunk cam (4 new INI settings)
- Changed INI setting "SeatbeltNoDamageWhilePassenger" to "SeatbeltPassengerProtection" (more customizable)
- Decreased default "EngineSensitivity" setting from 0.95 to 0.8
- Increased default "MinimumWreckDamage" setting from 10 to 15
- Moved default seatbelt icon position to avoid overlapping my Arrest Warrant mod's vehicle wanted level
- Damage multipliers are applied individually, instead of being added together and then applied

v1.1.2 — January 15, 2013
- When you're a passenger, the seatbelt gives full protection from wrecks
- Added INI setting "SeatbeltNoDamageWhilePassenger" to disable the above change

v1.1.1 — November 18, 2012
- Fixed bug: The seatbelt warning appeared when you died with the seatbelt on
- Changed default INI settings:
. . . . Decreased UpsideDownMultiplier from 5.0 to 3.0
. . . . Increased SeatbeltProtection from 15 to 20
. . . . Decreased SeatbeltMaxDamagePerCollision from 85 to 80

v1.1 — November 12, 2012
- Replaced "Seatbelt on/off" text with a flashing warning icon near the radar
- Compiled script to DLL file

v1.0.1 hotfix — November 11, 2012
- Fixed bug: BigWreckTreshold and BigWreckMultiplier INI settings didn't load properly

v1.0.1 — November 11, 2012
- Modified seatbelt calculation (damage cap is applied after protection, instead of before)
- Fixed bug: The seatbelt key didn't work while holding Control, Alt, or Shift
- Minor code cleanup

Edited by AngryAmoeba
Link to comment
Share on other sites

Instead of studying for my exam tomorrow morning, I just stayed up late adding a seatbelt warning icon to the mod.

 

Changes in v1.1

- Replaced "Seatbelt on/off" text with a flashing warning icon near the radar

- Compiled script to DLL file

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
estrogenOverload

any chance of getting the source code for this? Just want to poke around for my own benefit - I won't be releasing it in any way, in part or in full.

Link to comment
Share on other sites

  • 4 weeks later...

New version in the first post!

 

Changes in v1.1.3

- Added chance of big wrecks triggering drunk cam (4 new INI settings)

- Changed INI setting "SeatbeltNoDamageWhilePassenger" to "SeatbeltPassengerProtection" (more customizable)

- Decreased default "EngineSensitivity" setting from 0.95 to 0.8

- Increased default "MinimumWreckDamage" setting from 10 to 15

- Moved default seatbelt icon position to avoid overlapping my Arrest Warrant mod's vehicle wanted level

- Damage multipliers are applied individually, instead of being added together and then applied

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Minor update: some tweaks, and added a setting to make you hold the seatbelt key down. I recommend a setting of 1 or 2 seconds, but it's 0 by default.

 

Changes in v1.1.4

- "MinimumWreckDamage" threshold is applied AFTER any damage multipliers and seatbelt protection

- Added "SeatbeltKeyHoldDuration" INI setting - how long you have to hold the seatbelt toggle key

- Increased default "ChassisSensitivity" setting from 1.0 to 1.75

- Decreased default "EngineSensitivity" setting from 0.8 to 0.6

- Decreased default "MinimumWreckDamage" setting from 15 to 10

- Minor code cleanup

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Hello, I guess I don't have to tell I am big fan of your mods. hahah

 

Whenever I crash a bike in TLAD i get a crash in the game.

Could it be the Deadly Wrecks?

 

I don't know if it helps but I guess I got this:

 

Log started on: 3:2:53 9-18-2013
------------------------
[iNFO - 3:2:53] Gameversion - 1.1.2.0
[iNFO - 3:2:53] Data unprotected
[iNFO - 3:2:53] Game patched
[iNFO - 3:2:53] Xlive protections disabled
[iNFO - 3:2:53] AdvancedHook 0.1f14 LCPD:FR 0.95 © 2010-2011 LMS - Initialized
[iNFO - 3:2:53] Thanks to listener, aru and #iv-modding
[iNFO - 3:2:53] Attaching exception handler...
[iNFO - 3:2:53] Exception handler attached
[iNFO - 3:2:53] Patching game functions...
[iNFO - 3:25:22] An exception occured
[iNFO - 3:25:22] Process: B10000
Address: F5A6A5
Code: C0000005
Registerdump - EAX: 0 EBP: 3BF40C EBX: 1A9E8A30 ECX: 6DABC10 EDI: 58553D0 EDX: 0 EIP: F5A6A5 ESI: 58553D0 ESP: 3BF398
If this have nothing to do with mod at all, please disconsider my ignorance in such things.
thanks for the help
Link to comment
Share on other sites

Please check your ScriptHookDotNet.log file for any error messages. If there aren't any, then the crash was probably caused by an ASI mod, not a .NET script.

Link to comment
Share on other sites

Yes, in the INI you can set BigWreckDrunkCamChance to 0, SeatbeltShowWarningIcon to "false", and SeatbeltKey to any key that isn't actually on your keyboard, such as "NoName".

Edited by AngryAmoeba
Link to comment
Share on other sites

  • 4 weeks later...

Update in the first post! Now when you fly through the windshield, you'll usually die. Buckle up for safety! Or change in INI.

 

Also, new INI option for seatbelt realism — thanks to Damage Inc. for the suggestion and huge thanks to LMS for baby-stepping me through a fairly advanced solution.

 

Changes in v1.1.5

- When you fly through the windshield, you take 90 damage (EjectionDamage INI setting)

- Added Seatbelt_PreventExit INI option: you have to remove seatbelt to get out
- Added Seatbelt_Reminder INI option: reminder to remove seatbelt when you try to get out
- Added underscore to seatbelt setting names in INI for readability
- Split INI into "Damage Detection" and "Seatbelt" sections

- Decreased default ChassisSensitivity setting from 1.75 to 1.5
- Minor code cleanup

Edited by AngryAmoeba
Link to comment
Share on other sites

Another small update!

 

Changes in v1.1.6

- Decreased default ChassisSensitivity from 1.5 to 1.0
- Decreased default EngineSensitivity from 0.6 to 0.5
- Fixed bug where flying through the windshield wasn't always detected
- Fixed bug where the radar flashed red upon entering a vehicle

Link to comment
Share on other sites

  • 3 years later...

This thing is AWESOME but how do I DISABLE the little warning icon? I tried putting all the .ini settings for it to "false" but it still shows up?

Link to comment
Share on other sites

  • 4 years later...
On 1/30/2017 at 7:48 AM, haints said:

This thing is AWESOME but how do I DISABLE the little warning icon? I tried putting all the .ini settings for it to "false" but it still shows up?

[SEATBELT]

; --------------------------------------------------------------
; This key toggles the seatbelt. "LMenu" is Left Alt. See here for other keys:
; http://msdn.microsoft.com/en-us/library/system.windows.forms.keys.aspx
; The hold duration is how many seconds the key must be held down.
; --------------------------------------------------------------
Seatbelt_Key = 
Seatbelt_KeyHoldDuration = 99

; --------------------------------------------------------------
; If your seatbelt is on, damage is reduced, so...
; 50% player damage --> 30% with seatbelt protection as driver
; There's also a maximum amount of damage per collision, so...
; 120% player damage --> 100% with seatbelt protection --> 80% due to max
; --------------------------------------------------------------
Seatbelt_DriverProtection = 20
Seatbelt_PassengerProtection = 999
Seatbelt_MaxDamagePerCollision = 80

; --------------------------------------------------------------
; If enabled, you have to remove your seatbelt before getting out of your car.
; Only works on versions 1.0.4.0, 1.0.7.0, and 1.1.2.0.
; --------------------------------------------------------------
Seatbelt_PreventExit = false
Seatbelt_Reminder = false

; --------------------------------------------------------------
; A flashing seatbelt warning icon is shown near the radar if your seatbelt isn't on.
; --------------------------------------------------------------
Seatbelt_ShowWarningIcon = false
Seatbelt_IconFlashes = false
Seatbelt_IconScale = 1.0
Seatbelt_IconPositionX = 0.0
Seatbelt_IconPositionY = 0.0

I pass thru whole game with this and more mods but at the end you can't end the mission when it's scripted that rocket hits your helicopter. With this mod you instantly dies :/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.