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

[Tutorial] Black Ops Knife & Hug Fix (New)

broken avatar :(
Created 9 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
5,543 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Black Ops Knife & Hug Fix Tutorial


Here is an updated fix for the Black Ops Knifing and the hugging problem. Steviewonder87 made an tutorial about the hugging  but there is an problem when a player is downed. They would block the zombies in a small path.



Step 1:

Open your mapname.gsc and paste this under: maps\_zombiemode::main();
Code Snippet
Plaintext
players = get_players();
array_thread(players, ::zombie_hug_fix);

Step 2:

Paste this at the bottom of the file:
Code Snippet
Plaintext
zombie_hug_fix()
{
self endon( "disconnect");
    for( ;; )
    {
    if(getDvarInt("aim_automelee_range") != 64)
    {
    self SetClientDvar("aim_automelee_range", "64");
    }
        zombies = getaiarray( "axis" );
        for(i=0; i < zombies.size; i++)
    {
            if(Distance( self.origin, zombies[i].origin ) <= 96 && self maps\_laststand::player_is_in_laststand())
            {
                zombies[i] PushPlayer( true );
            }
else
{
                zombies[i] PushPlayer( false );
            }
        }
wait 0.1;
}
}

And that should fix it :)
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 1 year ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Code Snippet
Plaintext
    		if(getDvarInt("aim_automelee_range") != 64)
    {
    self SetClientDvar("aim_automelee_range", "64");
    }
GetDvar only works on the host. Also why are you putting in a for loop? That dvar should only be modified once and left alone.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
1,006Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21'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.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
also, will this not just cause issues if a downed player is near a alive player? ( which they most likely will be in order to revive them? )
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(

Here is an updated fix for the Black Ops Knifing and the hugging problem. Steviewonder87 made an tutorial about the hugging  but there is an problem when a player is downed. They would block the zombies in a small path.


That's never occurred for me and I don't think they did it any differently in BO1. And I'm pretty sure a downed player would block zombies on BO3 on a small path; crawlers and turned zombies definitely do already. I think the trick is not to make really small paths where only one model can fit lol.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
1,006Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21'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.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
That's never occurred for me and I don't think they did it any differently in BO1. And I'm pretty sure a downed player would block zombies on BO3 on a small path; crawlers and turned zombies definitely do already. I think the trick is not to make really small paths where only one model can fit lol.
IM REGUARLY DOWN IN THE PATH OF ZOMBIES ( COZ IM THAT BAD ) AND EVEN NOW ON bo3 I CAN ASSURE YOU THEY STILL GET STUCK ON YOU

lol whoops, caps
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 1 year ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
By the way there's some more dvars that you should give a try:

BO1 ->


WaW ->


Well only the range at least.
Last Edit: December 16, 2015, 03:39:40 am by DidUknowiPwn

 
Loading ...