#(ikuria) how would you create a drone?

40 messages · Page 1 of 1 (latest)

solar forge
#

would you bring the player into spectator mode?
attach/mount him to a happy_ghast and make it invisible? (problem here is the still visible harness)
attach the model to the player?
is there any kind of example script, to fiddle around with?

remote oceanBOT
#

(ikuria) how would you create a drone?

remote oceanBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

short wren
#

i mean

#

technically

#

you could make them spectate an invisible armor stand

#

and then move the armor stand

spiral pagoda
#

Yes.

spiral pagoda
gentle karma
#

i've made it quadratic not linear now

#

but i will look into the display entity thing

#

seems smoother

solar forge
#

mhm, but you get that same with the player controlling himself?

spiral pagoda
#

!tias

coarse etherBOT
# spiral pagoda !tias
Info: tias

Try it and see!

If somebody pulled this up for you, you're probably asking a question of the public channel that's easier and faster to figure out by just attempting your idea in-game and looking at the result of that attempt.

spiral pagoda
#

¯_(ツ)_/¯

#

from, my understanding, mounting an armor_stand will give you a locked perspective, however - yes

#

and then from there:

#

!event steers

coarse etherBOT
# spiral pagoda !event steers
Group

Player

Event Lines

player steers entity player steers <entity>

Triggers

every tick that a player is controlling a vehicle. Use !event player input on MC 1.21+.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.entity> returns the EntityTag being steered by the player.
<context.sideways> returns an ElementTag(Decimal) where a positive number signifies leftward movement.
<context.forward> returns an ElementTag(Decimal) where a positive number signifies forward movement.
<context.jump> returns an ElementTag(Boolean) that signifies whether the player is attempting to jump with the entity.
<context.dismount> returns an ElementTag(Boolean) that signifies whether the player is attempting to dismount.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

spiral pagoda
#

<context.dismount> returns an ElementTag(Boolean) that signifies whether the player is attempting to dismount.
you can determine cancelled if they are attempting to dismount

gentle karma
#

why is the teleport duration so small

#

0-59 ticks i presume

#

i thought it was seconds

spiral pagoda
#

are you referring to the - define dur 50t

#

because i think it was just to demo

shut anvil
#

!e player inputs

coarse etherBOT
shut anvil
#

!e player input

coarse etherBOT
# shut anvil !e player input
Group

Player

Event Lines

player input

Triggers

when a player sends updated keyboard/gamepad movement control input to the server.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.backward> returns whether the player is providing backwards movement input (normally this means they are pressing S).
<context.forward> returns whether the player is providing forwards movement input (normally this means they are pressing W).
<context.left> returns whether the player is providing left movement input (normally this means they are pressing A).
<context.right> returns whether the player is providing right movement input (normally this means they are pressing D).
<context.jump> returns whether the player is providing jump input (normally this means they are pressing SPACEBAR).
<context.sneak> returns whether the player is providing sneak input (normally this means they are pressing SHIFT).
<context.sprint> returns whether the player is providing sprint input (normally this means they are pressing CONTROL).

spiral pagoda
#

ah, possibly

#

i didnt see that one yet, ty

somber crystalBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@solar forge

somber crystalBOT
#
Resolved

Thread closed as resolved.

somber crystalBOT
#
Thread Reopened

Thread was manually reopened by @round dawn.