Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Making Sackbot Abilities Unspammable
Archive: 8 posts
Ok, so in my level series the player will be controlling a wizard. I have a levitation ability that lasts 2 seconds, and I'd like to make it so the player can't just keep spamming it over and over and fly through the whole level. I have L2 hooked up to a 2 second timer that counts down. The timer is hooked into an advanced mover and an anti-gravity tweaker. So for 2 seconds the player can float in any direction before falling back to the ground. It's working just fine, but now I need to make it so that there's a good 2-4 second space after it wears off where the player can't levitate again. Any ideas? I'm terrible with logic, so thanks in advance for any help! | 2011-03-08 19:17:00 Author: ccapel Posts: 100 |
Ok, so in my level series the player will be controlling a wizard. I have a levitation ability that lasts 2 seconds, and I'd like to make it so the player can't just keep spamming it over and over and fly through the whole level. I have L2 hooked up to a 2 second timer that counts down. The timer is hooked into an advanced mover and an anti-gravity tweaker. So for 2 seconds the player can float in any direction before falling back to the ground. It's working just fine, but now I need to make it so that there's a good 2-4 second space after it wears off where the player can't levitate again. Any ideas? I'm terrible with logic, so thanks in advance for any help! ok so hears the deal. keep everything the way you have it. but include this in your logic. place your output to another timer to count up for however long you want your recharge time to be. then, place your output for that timer into the reset of the count down timer. that should make it so you can no longer spam on the controls. | 2011-03-08 19:35:00 Author: Unknown User |
You're a genius! But seriously, thanks a ton. Sounds like it'll work like a charm. | 2011-03-08 19:40:00 Author: ccapel Posts: 100 |
place your output to another timer to count up for however long you want your recharge time to be. then, place your output for that timer into the reset of the count down timer. that should make it so you can no longer spam on the controls. Ok so I tried this and it's not quite working. By "output" do you mean the output of the first timer that's counting down? Or L2? I tried both, and it's still spammable. The first timer just keep resetting even if the second timer is still counting up. Any thoughts? I'll try to troubleshoot it in the meantime. | 2011-03-09 06:05:00 Author: ccapel Posts: 100 |
Ok, so in my level series the player will be controlling a wizard. I have a levitation ability that lasts 2 seconds, and I'd like to make it so the player can't just keep spamming it over and over and fly through the whole level. I have L2 hooked up to a 2 second timer that counts down. The timer is hooked into an advanced mover and an anti-gravity tweaker. So for 2 seconds the player can float in any direction before falling back to the ground. It's working just fine, but now I need to make it so that there's a good 2-4 second space after it wears off where the player can't levitate again. It should just be a matter of putting another count down timer in front of the first but with a longer duration, unless I'm mistaken. | 2011-03-09 06:18:00 Author: Ayneh Posts: 2454 |
im sry...i forgot 1 minor detail...place your button output into a counter_target count 1 then from counter into count down timer_from count down timer to count up timer place count up timer output into counter reset...hope you understand...feel free to friend request me | 2011-03-09 08:47:00 Author: Unknown User |
That worked great, BabyFace! Thanks for the help. I really appreciate it. | 2011-03-09 19:54:00 Author: ccapel Posts: 100 |
Another way to do this is to have an enable (Battery) on a sequencer to set your logic in motion. Map the button you want to the sequencer Start Forward Input. Set the sequencer length to the amount of time you want your cooldown to be and it will work perfectly as you cannot start a sequencer again until it's finished or if you reset it. | 2011-03-09 22:57:00 Author: RSQViper Posts: 302 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.