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

Pack-a-Punch and free perk powerups?

broken avatar :(
Created 7 years ago
by ItsLowrider5
0 Members and 1 Guest are viewing this topic.
2,608 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 28 January 2016
Last active: 3 years ago
Posts
25
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
ItsLowrider5's Groups
ItsLowrider5's Contact & Social LinksItsLowrider5ItsLowrider5ItsLowrider5
I want to have powerups in my map that gives the player a free perk and one that pack-a-punches the currently held weapon. I'm gonna try to make a script for myself if no response is given but i'm not very experienced and i'll probably end up basing it off a pack-a-punch script. any help is appreciated
broken avatar :(
×
broken avatar :(
Location: usNew York
Date Registered: 28 March 2015
Last active: 4 weeks ago
Posts
80
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current Maps: HellBound (Re) and Lab 7734 (Re)
Signature
There are a couple of tuts on UGX and Zombiemodding for perk drop and for the pap drop you could do what others do you go to a map with it and open up the IWD file
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 7 March 2016
Last active: 5 years ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Love 4 Custom zombies
Signature
My maps:
Pietercity v1.0
Matrix V1.1
×
Pieternba2k's Groups
Pieternba2k's Contact & Social Linksbasketlbalpro-96PieternbaPieternba2kLove4theGame
I want to have powerups in my map that gives the player a free perk and one that pack-a-punches the currently held weapon. I'm gonna try to make a script for myself if no response is given but i'm not very experienced and i'll probably end up basing it off a pack-a-punch script. any help is appreciated

If you add me on discord I can propably help you out 😉
Pieternba2k #9386
broken avatar :(
×
broken avatar :(
Location: usEarth
Date Registered: 30 July 2015
Last active: 3 years ago
Posts
118
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current project: Afterlife
Signature
"The only time you should look back, is to see how far you've come."
Perks - https://ugx-mods.com/forum/index.php?topic=5796.0

PaP - Keep looking

There are a couple of tuts on UGX and Zombiemodding for perk drop and for the pap drop you could do what others do you go to a map with it and open up the IWD file
Shame on you
Last Edit: August 20, 2017, 06:18:19 am by StupidEdits
broken avatar :(
×
broken avatar :(
Location: usNew York
Date Registered: 28 March 2015
Last active: 4 weeks ago
Posts
80
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current Maps: HellBound (Re) and Lab 7734 (Re)
Shame on you

Umm no I said other people, I don't do it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
the pap perk would be something like this
Code Snippet
Plaintext
pap_powerup()
{
//ensure the player is valid
if(!is_player_valid(self))
{
return;
}
currentWeapon = self GetCurrentWeapon();
//ensure current weapon exists, its not a grenade and that its not already upgraded
if(!isDefined(currentWeapon) || getWeaponType(currentWeapon) == "grenade" || isSubStr(currentWeapon, "upgraded"))
{
return;
}
//make the weapon upgraded
upgradeWeapon +=  "_upgraded";
//take the current weapon and give the upgraded one
self takeWeapon(currentWeapon);
self giveWeapon(upgradeWeapon);
self switchTo(upgradeWeapon);
}
Last Edit: August 21, 2017, 03:23:41 am by buttkicker845

 
Loading ...