Home    LBP Showcase / Reviews / Recommendations    Level Showcase
#1

Measurement tools for LBP3

Archive: 5 posts


Link: https://lbp.me/v/qy75mbg/activity

Tools present are rulers for measuring the X and Y axes, and the last tool currently present is a sub-layer positioning chipset. Will update when more tools are added. Leave suggestions for measurement tools and they will be added in if pertinent.
http://lbp.me/v/qy75mbg
2015-11-23 06:16:00

Author:
amiel445566
Posts: 664


not sure the point of having an x and y ruler when the grid and sensors are so readily available,

however you can make a Z movement (distance) sensor by placing a speed sensor set to (71.4 and in/out) and wiring it to a speed scale timer set to 0.2.
it comes with some issues though, it either has to start at the back layer and only be 1 thick layer, or start at the front with the timer set to a current time of 0.2 aswell (it could be more than one layer thick if it starts at the front).
if you want to use it on a thin layer you need to use a different speed, but i dont remember that of the top of my head.

if set as i described it will be 100% at the front and 0% at the very back layer any you will have an analogue reading for everywhere in between
2015-11-23 09:01:00

Author:
evret
Posts: 612


Thanks, I'll be sure to include that in the next update. Didn't think there was a reliable way to measure z-axis position2015-11-23 15:47:00

Author:
amiel445566
Posts: 664


not sure the point of having an x and y ruler when the grid and sensors are so readily available,

however you can make a Z movement (distance) sensor by placing a speed sensor set to (71.4 and in/out) and wiring it to a speed scale timer set to 0.2.
it comes with some issues though, it either has to start at the back layer and only be 1 thick layer, or start at the front with the timer set to a current time of 0.2 aswell (it could be more than one layer thick if it starts at the front).
if you want to use it on a thin layer you need to use a different speed, but i dont remember that of the top of my head.

if set as i described it will be 100% at the front and 0% at the very back layer any you will have an analogue reading for everywhere in between

Some issues can be resolved by placing this logic on a block of material that follows what you wish to measure. That way you set the tool and never have to recalibrate it. This makes it so you can measure players position even if they teleport or use layer launchers.
2015-11-26 23:44:00

Author:
one-mad-bunny
Posts: 334


you can have a bit of holo emit with it that has another speed sensor and is wired to the timer with the main speed sensor (adding OR gate), and have it move to the back at the same speed as the sensor and it will add the current in/out position to the timer.

Edit:
here is a pic of the setup. i don't like using followers unless i absolutely have to coz they introduce latency (unless it's part of gameplay)
test block on left would be emitted on same layer as main object (right)
the test block destroys itself when it stops moving backwards. speed is set at 40 to allow the main block to move at speeds of upto 31.4 while the test block is still active (only a few frames) without affecting the result.

http://www.lbpcentral.com/forums/attachment.php?attachmentid=50039&d=1448633740
50039
2015-11-27 08:46:00

Author:
evret
Posts: 612


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.