Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

Demit/Remit moving objects?

Archive: 6 posts


I was wanting to have a vehicle (truck, ridable shark, etc.) traveling right... then if you get off and stand behind it, it would auto-demit/remit a new copy of the vehicle facing the other direction, for traveling back (without the vehicle going 'backwards&apos.

Closest I've come is to spawn a vehicle the first time facing the correct way, depending upon the direction I approach the trigger point. The demit tutorial logic is bulky, so I wasn't sure I could compress two versions down for a vehicle setting (one to demit/remit one direction and another for the opposite direction), so I tried to use a sack detecting double emitter block, which works first time, but then I have no way to destroy the 'vehicle' portion emitted by the emitter-block (not counting lifetime < Infinite which would violate the 'on demand' requirement).

I've no doubt that I could use this logic to create an object that did a timed cycle of goright-stop-turnaround-goleft-stop-turnaround-goright-etc. (by timing the emitters), but I was hoping to do it with triggers for on-demand directional switching.

I even tried to put a 'turn around' grab switch to trigger the vehicle disolve/respawn, but that would only be applicable to a fully disolvable object (no wheel/rocket attachements)...

I'm starting to think it's not possible (as I have not yet seen this done anywhere)...

... any ideas?

My backup plan is to just trigger a 'new' vehicle going the opposite direction on a different plane (such that there would be a vehicle left behind, until you drove back to the first spawn point and triggered a new one-shot for the first vehicle to go right again)... not my preferred option, but maybe the only option.
2010-04-02 19:33:00

Author:
SledKnight
Posts: 93


It's definately possible.

One thing you could try is to attach both emitters to a sack tracker so that they follow you around. Another option would be to make the emitter setups free-floating but rig them with a mechanism to latch onto the vehicle--that's a bit harder to do than it sounds, though it's not impossible.

This idea is intriguing. I'm starting to wonder if maybe I can make a longer level for my upcoming mech by using this sort of setup. Of course that means two full copies of the mech (one facing right and one facing left) which would be absolute murder on the thermometer, so I probably won't do it.
2010-04-02 19:53:00

Author:
Sehven
Posts: 2188


Another option would be to make the emitter setups free-floating but rig them with a mechanism to latch onto the vehicle--that's a bit harder to do than it sounds, though it's not impossible.

This is actually what I did, I think. The trouble I had with it was that the second emitter cannot emit the opposite facing vehicle in its place (emitter block is seperate from vehicle, of course), and I cannot figure out how to remove the first object without 1) a mobile demitter or 2) a finite lifetime. What am I missing? Or are you suggesting do the auto-emit, but into a different layer (leaving two vehicles visible)?
2010-04-02 20:25:00

Author:
SledKnight
Posts: 93


I was wanting to have a vehicle (truck, ridable shark, etc.) traveling right... then if you get off and stand behind it, it would auto-demit/remit a new copy of the vehicle facing the other direction, for traveling back (without the vehicle going 'backwards&apos.

A constrained version where you can only turn the vehicle around at certain points would be relatively easy, but I'm assuming you want to be able to do it at arbitrary positions. Another constraint, whereby you limit the total number of times you can turn the vehicle around would also make it easier.

However, it's still theoretically possible, without these constraints, but you'd probably need a sack-tracker to do it, since I'm fairly sure that putting the emitter on the vehicle itself would require creating an infinite emitter cycle, which I don't believe is possible.

I'll see if I can put together a quick demo...
2010-04-02 20:30:00

Author:
Aya042
Posts: 2870


didn't donkeyshow do something like that in his latest level. I haven't played it but someone said it would change directions if you hit O. I'm assuming your on a jet pack and when you hit O you lose the JP and activate a sensor that emits a new vehicle around you.2010-04-02 20:46:00

Author:
IStwisted
Posts: 428


I'll see if I can put together a quick demo...

Just published a copyable level called "Reversable Car Example for SledKnight". It's very rough, cos I've used stock components. Grab the tracker in the rear layer to reverse the direction of the car in the front layer.

The three off-screen logic gizmos are from left to right: a T-latch, a sequencer, and an RS-latch.
2010-04-02 21:54:00

Author:
Aya042
Posts: 2870


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.