UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

What functions handles the red screened after being hit so many times with jug?

broken avatar :(
Created 10 years ago
by Dust
0 Members and 1 Guest are viewing this topic.
1,963 views
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
Donate to me if you enjoy my work. https://www.paypal.me/thezombiekilla6
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
Tried to make the title as best as i could :P. Hopefully you guys know what I mean. If you guys know whenever you play zombies and you have jug, after 4 hits your screen becomes red and the next hit your dead, I have an idea in mind but i wanted to know if its a script function that shows the red screen or if its just a server side. Maybe it would help if i told you guys what i wanted to do, i wanted to basically make a perk and call it quick heal, that decreases the seconds in which your screen is red by half. But im not sure what the function is called.
Marked as best answer by treminaor 10 years ago
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 9 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Tried to make the title as best as i could :P. Hopefully you guys know what I mean. If you guys know whenever you play zombies and you have jug, after 4 hits your screen becomes red and the next hit your dead, I have an idea in mind but i wanted to know if its a script function that shows the red screen or if its just a server side. Maybe it would help if i told you guys what i wanted to do, i wanted to basically make a perk and call it quick heal, that decreases the seconds in which your screen is red by half. But im not sure what the function is called.
_callbackglobal.gsc finishPlayerDamageWrapper (engine func which handles a lot of damage stuff). If you want to disable the redness theres a dvar for it (cg_hudDamageIconTime).
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
What if i wasnt wanting to disable it but reduce the time by half instead?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 9 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
What if i wasnt wanting to disable it but reduce the time by half instead?
Default is 1500 I think so set it to 750.
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
Where is that in _callbackglobal, i cant find the 1500 number anywhere. or do i just pop that in the function you gave me?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 9 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Where is that in _callbackglobal, i cant find the 1500 number anywhere. or do i just pop that in the function you gave me?
You need to add some logic to Callback_PlayerDamage  before finishPlayerDamageWrapper is called, yes.

 
Loading ...