#(Niklas) making a shotgun

28 messages · Page 1 of 1 (latest)

warped garden
late jewelBOT
#

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.

warped garden
#

I have now a scattering of 2 blocks high

#

I want like 4 blocks weigh and 3 blocks high

glossy vapor
#

!c shoot

wintry egretBOT
# glossy vapor !c shoot
Group

entity

Syntax

shoot [<entity>|...] (origin:<entity>/<location>) (destination:<location>) (height:<#.#>) (speed:<#.#>) (script:<name>) (def:<element>|...) (shooter:<entity>) (spread:<#.#>) (lead:<location>) (no_rotate)

Short Description

Shoots an entity through the air, useful for things like firing arrows.

Description

Shoots an entity through the air up to a certain height, optionally triggering a script on impact with a target.

The launch has three modes: arc, lead, and direct.

The "arc" mode calculates a launch arc to exactly hit the target location.
If you want to use this, specify the "height" argument as how high the arc should go, in blocks.
Do not specify "speed" or "lead".
You can optionally specify a custom "gravity" (hidden from syntax line intentionally) if you know what you're doing and really n...

glossy vapor
#

(just pulling this for myself)

#

well, first things off, why are you inputting two origins?

#

second, your current scatter is hardcoded - guns do not work like this in real life
and even in other games with hardcoded scatters, may i draw a parallel of counter strike's recoil patterns, the pattern is not symmetrical, as yours

#

third, your current scatter is doing the red - doing the green would be more intuitive imo

#

so mostly design choice questions; once we get through this i'll help you get to what you envision

little latch
#

!t random_offset

wintry egretBOT
# little latch !t random_offset

Returns a copy of this location, with the X/Y/Z offset by a random decimal value up to a given limit.
The limit can either be an X,Y,Z location vector like [3,1,3] or a single value like [3] (which is equivalent to [3,3,3]).
For example, for a location at 0,100,0, ".random_offset[1,2,3]" can return any decimal location within the cuboid from -1,98,-3 to 1,102,3.

Group

math

Returns

LocationTag

prime sparrow
glossy vapor
#

!t points_between

wintry egretBOT
# glossy vapor !t points_between
Cannot Specify Searched Tag

Multiple possible tags: <LocationTag.points_between[<location>]>, <LocationTag.points_between[<location>].distance[<#.#>]>.

prime sparrow
#

Yes that is exactly the example I pointed him towards.

glossy vapor
#

easier to just link the tag :>

dull tundraBOT
#
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.)

#

@warped garden