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

Instant-Reset Counter?

Archive: 6 posts


I've been trying to create a fast enough resetting projectile counter so that i can accurately show the decreasing health of one of my vehicles when hit with plasma shot at 0.0 sec, but the fastest i've gotten it to reset is a fairly inaccurate .2 sec . Does anyone have an instant-reset custom projectile counter or would know how to make one? I'm trying to combine this with a HP chip, but it's not working right or fast enough.2011-01-30 01:56:00

Author:
Shuriken_Star
Posts: 114


A timer?2011-01-30 02:17:00

Author:
creator22
Posts: 162


no, i need a counter that can reset (from 1) fast enough so it can still register every hit of a projectile emited at 0.0 seconds2011-01-30 04:12:00

Author:
Shuriken_Star
Posts: 114


you could try adding some logic so that if your health depletion is in progress, any overflow hits go into a counter. Then that counter acts as a queue for any overflow shots.

Another option is to use a pulse to register hits. A counter set to one, and set to reset itself on activation will provide a pulse of around 1/30 of a second for your hits.
2011-01-30 04:24:00

Author:
tdarb
Posts: 689


I've already tried the overflowing counters, but it is too inconsistent, but I haven't tried your other suggestion. I'll give it a try.2011-01-30 18:16:00

Author:
Shuriken_Star
Posts: 114


I've successfully created what I wanted to make, but now it's too fast for the regular counter, lol, so i'll just stick with my simpler (but huge) microchip. 2011-02-09 00:00:00

Author:
Shuriken_Star
Posts: 114


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.