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

[Request] "Red" Power Ups

broken avatar :(
Created 11 years ago
by jbird
0 Members and 1 Guest are viewing this topic.
3,101 views
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 May 2014
Last active: 5 days ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
×
jbird's Groups
Hey I was wondering if someone could help me with the coding of making the four original power ups into "power downs" (negative power ups)
double points = half points (earn half as many points as normal)
max ammo = clip unload (unload the clip of the gun everyone is currently holding, NOT both weapons)
insta kill = infinite kill (zombies have double health)
nuke = point nuke (lose 10% of your points)
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 May 2014
Last active: 5 days ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
jbird's Groups
Somebody helped me make the clip unload powerdown, but I still need the other 3.
Here is the code for clip unload if anyone wants to use it: http://pastebin.com/PzdaJiAW
Also I need a way for the person who picks up the power up to not be affected by it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 April 2014
Last active: 3 months ago
Posts
480
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
If it's not perfect, you'll never see it.
Signature
Learn by doing, not copy and pasting.

Enjoy my 2015 contest map, a simple map with bo1-bo2 features
http://ugx-mods.com/forum/index.php?topic=14968.msg149200#
×
Centric's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Centric's Contact & Social Linkscentric_centriccInvictable
To make everyone affected except the one who grabs it get the play who touched it (I think this is done in zombiemode powerups and with a little modification it will do the job) and then just thread the effect on the other players. And I'd do a check for 1 player, otherwise it would be pointless on solo.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
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.
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
or detect and pass the player that touches it to a function that ignores that player

like :

Code Snippet
Plaintext
function_to_call( player )
{
  players = get_players();
  for ( i = 0; i < players.size; i++ )
  {
    if ( player == players[ i ] )
    {
      continue;
    }
    else
    {
      // Thread here
    }
  }
}
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 May 2014
Last active: 5 days ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
jbird's Groups
To make everyone affected except the one who grabs it get the play who touched it (I think this is done in zombiemode powerups and with a little modification it will do the job) and then just thread the effect on the other players. And I'd do a check for 1 player, otherwise it would be pointless on solo.
I don't know how to do that. And I don't need the solo check because this is a coop only mod
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
To make everyone affected except the one who grabs it get the play who touched it (I think this is done in zombiemode powerups and with a little modification it will do the job) and then just thread the effect on the other players. And I'd do a check for 1 player, otherwise it would be pointless on solo.
Solo Grief? That sounds like fun :)

Edit: I realised maybe you hadn't seen his Grief mod topic, so probably you didn't know that :)
Last Edit: March 19, 2015, 03:41:17 pm by steviewonder87
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years 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.
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
To make everyone affected except the one who grabs it get the play who touched it (I think this is done in zombiemode powerups and with a little modification it will do the job) and then just thread the effect on the other players. And I'd do a check for 1 player, otherwise it would be pointless on solo.


To make it work on a specific player all you need to do is call it on the entity that is within the range.
So: players thread powerup();

Last Edit: March 19, 2015, 03:51:39 pm by DidUknowiPwn
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 May 2014
Last active: 5 days ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
jbird's Groups
I still don't know exactly what to do :/
broken avatar :(
×
broken avatar :(
Location: caOntario
Date Registered: 31 August 2014
Last active: 4 weeks ago
Posts
273
Respect
Forum Rank
Mr. Elemental
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Kiss me daddy
×
NGcaudle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
NGcaudle's Contact & Social LinksNGcaudle
you could probably just open the effects in the effect editor and change it to a red colour and then just make it call that fx
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
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.
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
lol, he means the actual effect, not the colour bro

The fx color is simple yo change

 
Loading ...