Particles *directly* above the head

Started by Meowmere on Sat, 09/24/2016 - 10:30

Topic category: Advanced modding

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Particles *directly* above the head
Sat, 09/24/2016 - 10:30

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)

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

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

What values do you used?

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

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

@#1 * did you use

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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")

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 04:30, 7. Oct 2016
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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