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

Soul chest kills amount

broken avatar :(
Created 12 years ago
by pcmodder
0 Members and 1 Guest are viewing this topic.
1,393 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
http://ugx-mods.com/forum/index.php?topic=1567.0

Could anyone tell me how to change it so the kills are specific to the players amount, atm i can only get it the same for solo and co op . Thanks :D
Marked as best answer by pcmodder 12 years ago
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
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.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
look for this part

Code Snippet
Plaintext
/////////////////////////////////////////////////////  EDIT AMOUNT OF KILLS NEEDED HERE /////////////////////////////////////////////////////////////////////////////
chest_1_kills = 10;
chest_2_kills = 10;
chest_3_kills = 45;
chest_4_kills = 65;
chest_5_kills = 90;
chest_6_kills = 180;
/////////////////////////////////////////////////////  EDIT AMOUNT OF KILLS NEEDED HERE /////////////////////////////////////////////////////////////////////////////

and change it into this:

Code Snippet
Plaintext
/////////////////////////////////////////////////////  EDIT AMOUNT OF KILLS NEEDED HERE /////////////////////////////////////////////////////////////////////////////
chest_1_kills = 10;
chest_2_kills = 10;
chest_3_kills = 45;
chest_4_kills = 65;
chest_5_kills = 90;
chest_6_kills = 180;

if( get_players().size == 1 ) // change kills for single player here
{
chest_1_kills = 10;
chest_2_kills = 10;
chest_3_kills = 45;
chest_4_kills = 65;
chest_5_kills = 90;
chest_6_kills = 180;
}
/////////////////////////////////////////////////////  EDIT AMOUNT OF KILLS NEEDED HERE /////////////////////////////////////////////////////////////////////////////
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Thanks again Bluntstuffy  :D



 
Loading ...