Symbiote Posted November 12, 2012 Share Posted November 12, 2012 (edited) WHAT IT DOESCar 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 INSTALLThis 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 LOGv1.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 cleanupv1.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 appliedv1.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 changev1.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 80v1.1 — November 12, 2012- Replaced "Seatbelt on/off" text with a flashing warning icon near the radar- Compiled script to DLL filev1.0.1 hotfix — November 11, 2012- Fixed bug: BigWreckTreshold and BigWreckMultiplier INI settings didn't load properlyv1.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 February 22, 2015 by AngryAmoeba zeydOpr, Jeansowaty, Honker1944 and 2 others 5 Link to comment Share on other sites More sharing options...
Symbiote Posted November 12, 2012 Author Share Posted November 12, 2012 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 SlingShot753 1 Link to comment Share on other sites More sharing options...
manu90mala Posted November 12, 2012 Share Posted November 12, 2012 amazing! thanks a lot Link to comment Share on other sites More sharing options...
onetidd Posted November 12, 2012 Share Posted November 12, 2012 Nice mod and good luck for your exam Link to comment Share on other sites More sharing options...
Symbiote Posted November 13, 2012 Author Share Posted November 13, 2012 Thanks! The exam was postponed anyway, so it's all good. Link to comment Share on other sites More sharing options...
estrogenOverload Posted January 23, 2013 Share Posted January 23, 2013 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 More sharing options...
Symbiote Posted January 23, 2013 Author Share Posted January 23, 2013 Sure, I'll PM it to you. Link to comment Share on other sites More sharing options...
Symbiote Posted February 15, 2013 Author Share Posted February 15, 2013 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 More sharing options...
onetidd Posted March 3, 2013 Share Posted March 3, 2013 Nice but there is no version for gamepad? Link to comment Share on other sites More sharing options...
Symbiote Posted March 3, 2013 Author Share Posted March 3, 2013 No, sorry, none of my mods support gamepads. Link to comment Share on other sites More sharing options...
Symbiote Posted May 21, 2013 Author Share Posted May 21, 2013 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 More sharing options...
maurice16 Posted July 12, 2013 Share Posted July 12, 2013 please convert this to gta vice city Link to comment Share on other sites More sharing options...
luchi Posted September 18, 2013 Share Posted September 18, 2013 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 More sharing options...
Symbiote Posted September 18, 2013 Author Share Posted September 18, 2013 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 More sharing options...
Ricebox Posted September 20, 2013 Share Posted September 20, 2013 Is there any way I can disable the seatbelt and drunk cam featues? They take me out of the game a bit. Link to comment Share on other sites More sharing options...
Symbiote Posted September 20, 2013 Author Share Posted September 20, 2013 (edited) 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 September 24, 2013 by AngryAmoeba Link to comment Share on other sites More sharing options...
Ricebox Posted September 21, 2013 Share Posted September 21, 2013 Much obliged, friend. Link to comment Share on other sites More sharing options...
Symbiote Posted October 15, 2013 Author Share Posted October 15, 2013 (edited) 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 October 16, 2013 by AngryAmoeba Link to comment Share on other sites More sharing options...
Symbiote Posted October 17, 2013 Author Share Posted October 17, 2013 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 More sharing options...
WolvenWolf Posted October 18, 2013 Share Posted October 18, 2013 A must have mod for me, thanks man! Link to comment Share on other sites More sharing options...
haints Posted January 30, 2017 Share Posted January 30, 2017 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 More sharing options...
myst7 Posted March 27, 2021 Share Posted March 27, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now