Started by
Meowmere
on
Topic category: Advanced modding
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)
What values do you used?
@#1 * did you use
I used 1, 2, 1
that gives me a a particle one block in front and one block to the left.
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
Use coords of the player --> player.posX and player.posZ. (It is possible that your "player" variable has different name like "entityPlayer")
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
@#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.
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.
Apparantly the origin for X and Z are relative to the player, but they are off a little.
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