Scripts / Help with low life script

Author
Message
Super Masgamer
Audio Media Maker
5
Years of Service
User Offline
Joined: 2nd Dec 2018
Playing: Quad Damage
Posted: 16th May 2019 20:15
Hey, guys, I was wondering if there's any way to change when your character is at low life. What I mean is if I take even 1 damage then the screen starts flashing red and playing the low life sound. I don't want it to flash red until I reach 20 health. is there any way to do that? I have no idea where, to begin with, a script for that if it requires one. Thanks for your help
Super Masgamer
Audio Media Maker
5
Years of Service
User Offline
Joined: 2nd Dec 2018
Playing: Quad Damage
Posted: 17th May 2019 01:54
i feel like there would be a file in the core game files but i'm not seeing it for some reason
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 17th May 2019 02:06
---###---###---ALWAYS 1ST BACK UP YOUR ORIGINAL CORE FILES--- well, all files---###---###---

gg//files//scriptbank gameplayercontrol.lua
line 1727.
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 17th May 2019 02:14
BTW, I agree, this and other stuff should be settable in the GUI
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 17th May 2019 18:17
there are commands to override it in the global.lua, this thread deals with it a little bit
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Gladkhelek
7
Years of Service
User Offline
Joined: 2nd Aug 2016
Location:
Posted: 25th Jul 2019 07:11
For anyone still wondering, the line is at line 1776 in gameplayercontrol.lua ( great year btw )
PM

Login to post a reply

Server time is: 2024-03-29 00:17:43
Your offset time is: 2024-03-29 00:17:43