Particles *directly* above the head

Started by Meowmere on

Topic category: Advanced modding

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Particles *directly* above the head

Im making TF2 style unusual armors, and particles work how I want them to, take of the helm, they stop appearing. But! They are really wierd, they're always a few blocks off, I got the Y coordinate perfectly figured out, but X and Z are giving me issues, what would be the XYZ for directly above the player (center of above head)

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What values do you used?
Sat, 09/24/2016 - 15:33

What values do you used?

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:What values do you used?
Sat, 09/24/2016 - 15:34

@#1 * did you use

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I used 1, 2, 1
Sat, 09/24/2016 - 16:16

I used 1, 2, 1

that gives me a a particle one block in front and one block to the left.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Left 2 blocks, forward one
Sat, 09/24/2016 - 17:05

Left 2 blocks, forward one block. That's what I need.

-1, 2, -1, is the closest. I just need it left 2 blocks and forward one

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use coords of the player -->
Sat, 09/24/2016 - 17:34

Use coords of the player --> player.posX and player.posZ. (It is possible that your "player" variable has different name like "entityPlayer")

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wouldnt that be under or in
Sat, 09/24/2016 - 17:42

wouldnt that be under or in the middle of the player though? Also I think you have to use coordinates. Im using j i k + the respective coordinate

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Use coords of the player -->
Sat, 09/24/2016 - 17:53

@#4

Can you help me out, I just realized this isnt GML anymore... Sorry, forgot xD.

How would I make Player.posX able to work? MCreator says thats invalid.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, I set x and z to
Sat, 09/24/2016 - 18:03

Okay, I set x and z to nothing, and I just barely need it to go one block left, and like a quarter of one back.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Apparantly the origin for X
Sat, 09/24/2016 - 18:47

Apparantly the origin for X and Z are relative to the player, but they are off a little.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, I figured it out
Sat, 09/24/2016 - 18:55

Well, I figured it out

+0.5

+2

+0.5

 

it snaps to the block the player is on, so if you're in between a block it wont follow you untill you move into the next one, not that noticable