Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Versus Survival Challenge scoring

Archive: 8 posts


I've made a versus survival challenge level, and I want it so that everyone who is alive gets 10 points every second. I've made a system that give 10 points per second to one player, but when two people play the level all the points go to the second player, and it continues giving points to player 2 when they die. How do I make a scoring system that only gives points to players that are alive.2012-09-22 22:45:00

Author:
Unknown User


Hmmm. I'm pretty sure the only way to achieve this is to use Sackbots. Player Sensors simply don't have the ability to distinguish between players just now, and a Follower Mover system with a Sensor and stuff would be unreliable if your players are able to cross over each other.
If you used Sackbots, you could just wire the Bots Reciever Controlinator's 'Active Output' into a timer and wire that in a Score Giver.
When the Bot is destroyed, so is the logic, and players no longer recieve points.
2012-09-22 23:03:00

Author:
Ostler5000
Posts: 1017


Sadly that's not going to work, as my level involves a heavy amount of grappling. Are you sure that that's the only way?2012-09-22 23:14:00

Author:
Unknown User


what about a DCS for each player, not one you get in but a remote?

have it on hologram and follow the player controlling it
use player sensors set to 1 2 3 4 and activating the DCS
2012-09-23 01:25:00

Author:
JKY
Posts: 119


what about a DCS for each player, not one you get in but a remote?

have it on hologram and follow the player controlling it
use player sensors set to 1 2 3 4 and activating the DCS
there is no way to make it follow a specific player, you can have it following correctly at the start but they can swap if the players pass each other, then 1 player could be getting 2 sets of points and another might be getting none
2012-09-24 08:37:00

Author:
evret
Posts: 612


Here's what I would do:

http://i.imgur.com/QSqsj.jpg

It's simplistic and could use some further flourishes, but there you go.

As you can see, when one player is alone in a detection area (see the blue player) it triggers a score giver for just that player. If there are two players in an area (see the yellow and pink players) nobody earns points until one of them leaves. The pink player happens to be overlapping in two areas, though, so he will still get points in a relatively smooth way. The yellow player will experience a 1-2 second hiccup in receiving points if he stays in the area, but can also leave, or when the pink player fully leaves, his area will start awarding points. See?

Problems with the above:
If players are close together neither of them earn points
Players might find a "sweet spot" between 2 areas at once and collecting double points
Players might find a "dead spot" with no points
Points won't be awarded consistently every second, but in spotty 0.5-2 second bursts depending on things

Good news/solutions:
If it's a survival level with grapple hooks, the constant motion makes sweet spots and dead spots a very unlikely thing, and players are unlikely to cluster together for long without also becoming deadly liabilities so not being awarded points in those few seconds is also not a big issue. You can incentivize players to stay away from each other by wiring a further "negative point giver" when an area has 2 or more players for more than 1 second. You can tweak the sequencer type and length of loop to compensate for the consistency problem of points per second, but not perfectly. I'd actually recommend, depending on how frantic the survival level is, that you award points in half-seconds on looping sequencers that start/stop or even count up, which increases the points payout but also encourages big swings and fast movement between areas. Plus, with half-seconds on a looping sequencer that counts up, even if two players are close together, by reseting so quickly a player who's near another player might still be in the area to catch it on the reset and get their points too. All without awarding the wrong points to the wrong player, or giving anyone undue points.

Hope this helps!

Points are neat. Good luck!
2012-09-24 15:53:00

Author:
Unknown User


look on my moon if I'm not mistaken this is what you are looking for level name Jagner7 it uses DCS to tell if a player is there or not as soon as 1 player dies it stops giving score to them2012-10-02 22:28:00

Author:
JKY
Posts: 119


Thank you so much cky_, that helped so much! I don't know if I'm going to use it on Sky Survival, as I have another scoring system that actually works better for the level. I'm sure that I'll use that for one of my future levels.2012-10-04 09:46:00

Author:
Unknown User


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.