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 Hit system like in Black Ops 3 [Super Easy!]

broken avatar :(
Created 3 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
620 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Hello UGX, today im going to show you how to add a super easy BOIII 3 hit system, is just a few clicks away!, well, lets begin.
1.- Inside of your _zombiemode.gsc (it can be raw or already modified, doesnt matter), search the next function.
Code Snippet
cpp
onPlayerSpawned()
{
 self endon( "disconnect" );

 for( ;; )
 {
 self waittill( "spawned_player" );

 

 self SetClientDvars
The important part of the function looks like this:
Code Snippet
cpp
onPlayerSpawned()
{
 self endon( "disconnect" );

 for( ;; )
 {
 self waittill( "spawned_player" );

 

 self SetClientDvars( "cg_thirdPerson", "0",
 "cg_fov", "65",
 "cg_thirdPersonAngle", "0" );
2.- Under the command cg_fov, we are going to type the command player_meleeDamageMultiplier, with a value of 0.3, so, it must look like this:
Code Snippet
cpp
onPlayerSpawned()
{
 self endon( "disconnect" );

 for( ;; )
 {
 self waittill( "spawned_player" );

 

 self SetClientDvars( "cg_thirdPerson", "0",
 "cg_fov", "65",
 "player_meleeDamageMultiplier", "0.3",
 "cg_thirdPersonAngle", "0" );
4.- Profit?
5.- Done!, now save, compile and go test it!
If this little tutorial was useful to you leave a comment with your thoughts!
If you see any error tell me and I fix it quick af!
(sorry if any typos)

 
Loading ...