Quantcast

Jump to content

» «
Photo

Deadly Wrecks

GTA4 .NET script mod realism
19 replies to this topic
AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#1

Posted 12 November 2012 - 12:10 AM Edited by AngryAmoeba, 19 October 2013 - 09:56 PM.

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.

 

 

 

 

v1.1.6 — last updated October 16, 2013

ADF.LY DOWNLOAD
If you'd like to support me and my mods,
take 5 seconds and use this download link!

NORMAL DOWNLOAD
If you're in a hurry, use this one.


 

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


AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#2

Posted 12 November 2012 - 10:04 AM

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

manu90mala
  • manu90mala

    Flash Fm

  • Members
  • Joined: 19 Jan 2009

#3

Posted 12 November 2012 - 05:50 PM

amazing! thanks a lot

onetidd
  • onetidd

    972 Represent'

  • Members
  • Joined: 01 Nov 2006

#4

Posted 12 November 2012 - 10:38 PM

Nice mod and good luck for your exam

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#5

Posted 13 November 2012 - 12:50 AM

Thanks! The exam was postponed anyway, so it's all good. biggrin.gif

estrogenOverload
  • estrogenOverload

    Player Hater

  • Members
  • Joined: 23 Jan 2013

#6

Posted 23 January 2013 - 06:55 AM

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.

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#7

Posted 23 January 2013 - 01:06 PM

Sure, I'll PM it to you.

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#8

Posted 15 February 2013 - 06:22 PM

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

onetidd
  • onetidd

    972 Represent'

  • Members
  • Joined: 01 Nov 2006

#9

Posted 03 March 2013 - 10:12 AM

Nice but there is no version for gamepad?

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#10

Posted 03 March 2013 - 05:58 PM

No, sorry, none of my mods support gamepads.

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#11

Posted 21 May 2013 - 09:47 AM

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

maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#12

Posted 12 July 2013 - 01:24 PM

please convert this to gta vice city inlove.gif

luchi
  • luchi

    Player Hater

  • Members
  • Joined: 13 Jul 2013

#13

Posted 18 September 2013 - 06:37 AM

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

AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#14

Posted 18 September 2013 - 03:15 PM

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.


Ricebox
  • Ricebox

    Player Hater

  • Members
  • Joined: 13 Sep 2013

#15

Posted 20 September 2013 - 12:38 PM

Is there any way I can disable the seatbelt and drunk cam featues? They take me out of the game a bit.


AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#16

Posted 20 September 2013 - 01:41 PM Edited by AngryAmoeba, 24 September 2013 - 03:47 AM.

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".


Ricebox
  • Ricebox

    Player Hater

  • Members
  • Joined: 13 Sep 2013

#17

Posted 21 September 2013 - 07:50 AM

Much obliged, friend.


AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#18

Posted 15 October 2013 - 11:31 PM Edited by AngryAmoeba, 16 October 2013 - 01:48 AM.

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


AngryAmoeba
  • AngryAmoeba

    Symbiote

  • Members
  • Joined: 12 Jan 2009

#19

Posted 17 October 2013 - 02:43 AM

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


WolvenWolf
  • WolvenWolf

    OMG They killed Kenny!

  • Members
  • Joined: 08 Dec 2008

#20

Posted 18 October 2013 - 05:06 AM

A must have mod for me, thanks man!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users