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

3 Hits System like BO3

broken avatar :(
Created 8 years ago
by Guilhermex12
0 Members and 1 Guest are viewing this topic.
8,243 views
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 27 January 2014
Last active: 3 years ago
Posts
271
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
Guilhermex12's Groups
Guilhermex12's Contact & Social LinksGuilhermex12UGX-Mods
UPDATED TOPIC



You can't get the "3 Hits before going down" working by only editing the "_load.gsc", you will need to edit some more things...

1* The FIRST thing you need to do is: Go to "YOURmapfolder/maps/_load.gsc" and SEARCH for
Code Snippet
Plaintext
self.maxhealth = 100;
set it to
Code Snippet
Plaintext
self.maxhealth = 150;
2* Now, we need to change your Health value to 150 when you get revived by the Quick Revive in SOLO MODE.
Let's start with HARRYBO21 Perks Script.
1* Open "_zombiemode_perks.gsc" and find
Code Snippet
Plaintext
juggernog_health_normal
Here you will edit your health when you're not with Juggernog. Just change it from 100 to 150. It will be like this:
Code Snippet
Plaintext
set_zombie_var( "juggernog_health_normal",			150 );			
2* Now search for the THREAD
Code Snippet
Plaintext
harrybo21_perks_player_revive()
On this thread, search for an line called
Code Snippet
Plaintext
self.revivetrigger = undefined;
Under that, you're going add these TWO Lines:
Code Snippet
Plaintext
self.health = self.maxhealth;
and
Code Snippet
Plaintext
self.maxhealth = 150;
3* Now the player health on solo mode (with HarryBO21 Perks) is fixed.
--------------------------------------------------------------------------------------------------------------------------------------------------
Now i will show how to fix the player health after being revived in SOLO mode, if you're using UGX Mod Perks or any other _zombiemode_perks.gsc
1*Go to " _zombiemode_perks.gsc" and just search for
Code Snippet
Plaintext
self.maxhealth = 100;
change it to
Code Snippet
Plaintext
self.maxhealth = 150;
The player health is now fixed on UGX Mods when playing on Solo mode
---------------------------------------------------------------------------------------------------------------------------------------------------
If you're using other "_zombiemode_perks.gsc" that is not from Harrybo21 neither UGX Mod,  what you need to do is:
Go to "_zombiemode_perks.gsc" search for a THREAD called
Code Snippet
Plaintext
perk_think( perk )
under it you will find some lines like
Code Snippet
Plaintext
self UnsetPerk( perk );
etc, FIND THE
Code Snippet
Plaintext
self.maxhealth = 100;
change it to
Code Snippet
Plaintext
self.maxhealth = 150;
Majority of "zombiemode_perks.gsc" have the thread "perk_think( perk ), so you just need to edit the health under it :) Remember, Harrybo21 and UGX Mod don't need this, remember to use the right method.
---------------------------------------------------------------------------------------------------------------------------------------------------
Now we are going to fix the Player Health on COOP Modes. Open "_laststand.gsc"
1*  Search for the THREAD
Code Snippet
Plaintext
revive_success( reviver )
Now find the line
Code Snippet
Plaintext
self.ignoreme = false;
2* Under it add these TWO Lines 
Code Snippet
Plaintext
self.health = self.maxhealth;
and
Code Snippet
Plaintext
self.maxhealth = 150;
3* On  "_laststand.gsc" search for
Code Snippet
Plaintext
self.health = 1;
change it to
Code Snippet
Plaintext
self.health = 150;
Now your Health value should stay at 150 on both Solo Mode and COOP mode :D
I hope this tutorial can help some Mappers:)
Actually i'm not an scripter or anything like that, my knowledge with scripts are veeery basic, it's just that i found the Black Ops 3 3 Hits feature very cool and i tried to implement it on other maps editing them by myself.
PS: If your map have more than one "_zombiemode_perks.gsc", like "_zombiemode_perks_black_ops.gsc" etc, you need to edit the Health Values on it, Juggernog normal Health too. Just search for the THREAD perk_think( perk ) and edit the HEALTH in all the _zombiemode_perks_xxx.gsc" like you did before.
Also, sorry for my english, it's not really that good, tried my best :/
Last Edit: June 13, 2019, 04:03:31 pm by Guilhermex12
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
1*Go to "yourmapfolder/maps/_laststand.gsc" search for
Code Snippet
Plaintext
self.health = 1;
change to 150.
For those following the tutorial make sure you do NOT actually do this part.
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 27 January 2014
Last active: 3 years ago
Posts
271
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
Guilhermex12's Groups
Guilhermex12's Contact & Social LinksGuilhermex12UGX-Mods
For those following the tutorial make sure you do NOT actually do this part.
Thanks for the tip, i will try to change it to 1 and see how it works :)

Double Post Merge: May 05, 2016, 10:36:00 pm
Because, if the Health is set to 1, the Player health glitch (COOP) and he stay with 1 of health forever...
Last Edit: May 08, 2016, 06:04:27 pm by Guilhermex12
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
alaurenc9's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
Thanks for the tip, i will try to change it to 1 and see how it works :)

Double Post Merge: May 05, 2016, 10:36:00 pm
Because, if the Health is set to 1, the Player health glitch (COOP) and he stay with 1 of health forever...
Yeah but this is part of _laststand to get the red screen effect, and it shouldn't really do anything as it is only 1 in laststand mode, and gets reset when you exit laststand by being revived or when you respawn after bleeding out.
:thumbsup-smiley:1
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 27 January 2014
Last active: 3 years ago
Posts
271
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
Guilhermex12's Groups
Guilhermex12's Contact & Social LinksGuilhermex12UGX-Mods
Yeah but this is part of _laststand to get the red screen effect, and it shouldn't really do anything as it is only 1 in laststand mode, and gets reset when you exit laststand by being revived or when you respawn after bleeding out.
hum... Ok, thanks  :)
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Thanks Guilherme  :D
:thumbsup-smiley:2

 
Loading ...