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

Black Ops Perk Shaders are Invisible From Perk Drop

broken avatar :(
Created 12 years ago
by NaviLlusShore
0 Members and 1 Guest are viewing this topic.
1,953 views
broken avatar :(
×
broken avatar :(
Location: usThe North Pole
Date Registered: 12 September 2013
Last active: 12 years ago
Posts
123
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I have come from the future
Signature
NaviLlicious
×
NaviLlusShore's Groups
NaviLlusShore's Contact & Social LinksTheHubbyNaviLlusShore
I'm using the tutorial above for the perk drops and It works just It only drops the stock perks and not the black ops perks/custom perks, It says It's supposed to automatically find the perks If the machine Is on the map and give the perks to you at random but that's not working for me, also when I set It to give the perks after power Is turned on I will go to turn the power on and the power up still doesn't give me the perks when grabbed
Code Snippet
Plaintext
thegtlad()
{
    vending_triggers = GetEntArray( "zombie_vending", "targetname" );

    perks = [];

    for ( i = 0; i < vending_triggers.size; i++ )
    {
        perk = vending_triggers[i].script_noteworthy;

        if ( isdefined( self.perk_purchased ) && self.perk_purchased == perk )
        {
            continue;
        }

        if ( !self HasPerk( perk ) )
        {
            perks[ perks.size ] = perk;
        }
    }

    if ( perks.size > 0 )
    {
        perks = array_randomize( perks );
        self SetPerk( perks[0] );
        self perk_hud_create( perks[0] );
    }
}
Last Edit: January 12, 2014, 05:35:19 am by NaviLlusShore
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Do the Black Ops perks use the same vending_trig as the other perk machines?
broken avatar :(
×
broken avatar :(
Location: usThe North Pole
Date Registered: 12 September 2013
Last active: 12 years ago
Posts
123
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I have come from the future
×
NaviLlusShore's Groups
NaviLlusShore's Contact & Social LinksTheHubbyNaviLlusShore
Hadn't thought of that lol no they were zombie_vending_black_ops I changed them to zombie_vending

Post Merge: January 11, 2014, 01:20:31 pm
Finally got around to testing to see If It works and It does just the black ops perk shaders aren't showing they are invisible

Post Merge: January 12, 2014, 05:36:12 am
The black ops perks shaders are invisible when you grab It from a perk drop but when you buy It from the machine the shader appears
Last Edit: January 12, 2014, 05:36:12 am by NaviLlusShore

 
Loading ...