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

Shared/Collective Points?

broken avatar :(
Created 9 years ago
by madsniper124
0 Members and 1 Guest are viewing this topic.
3,184 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 February 2016
Last active: 6 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
madsniper124's Groups
madsniper124's Contact & Social LinksSkeletorIsHeTheSkeletor
This may be too much to ask, but is there a way to have all the players share points? (Whenever players get points, it would be pooled together.)
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 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
Yes?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 February 2016
Last active: 6 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
madsniper124's Groups
madsniper124's Contact & Social LinksSkeletorIsHeTheSkeletor
Yes?

How would I go about doing this then?
Thanks.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 1 year ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
How would I go about doing this then?
Thanks.
Script something that watches the player's score, constantly checking when he gets points and adding the points to a total value and setting each player's score back to 0. Then in scripts where you buy stuff, just make it check for that total rather than the player's score. You will also need to make a custom HUD for this.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Script something that watches the player's score, constantly checking when he gets points and adding the points to a total value and setting each player's score back to 0. Then in scripts where you buy stuff, just make it check for that total rather than the player's score. You will also need to make a custom HUD for this.

Or you set each player's score to a single level variable and replace all player specific score logic in _zombiemode_score with the level variable. I wouldn't think you'd need a custom HUD for this.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 1 year ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
Or you set each player's score to a single level variable and replace all player specific score logic in _zombiemode_score with the level variable. I wouldn't think you'd need a custom HUD for this.
Well yeah that too. And yes you need a custom HUD because the engine HUD checks for the player's '.score' and since that isn't being used anymore, it will probably just say 0. You would need to take out the itemDef in menu that shows the player's HUD's and make your own HUD.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 4 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
Instead of having a level variable to check against you could set all players scores the same so whenever you add or subtract points on a player do it to all players and then all players will always have the same amount of points. then the only script that would have to be changed is all the methods in zombiemode_score. Given this might look weird since all 4 scores wil still be shown but if he doesn't know how to script or edit menu files it could be an easy way to achieve this
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 February 2016
Last active: 6 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
madsniper124's Groups
madsniper124's Contact & Social LinksSkeletorIsHeTheSkeletor
Alright, thanks everyone! My friend will help me implementing the methods you guys have told me.

 
Loading ...