Jump to content

Cassandra

Members
  • Posts

    200
  • Joined

  • Last visited

Details

  • Location
    OH, U.S.A.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Cassandra's Achievements

Chump

Chump (17/54)

1

Reputation

  1. MTA is not a FPS game. I use to play a lot of COD MW and I quite liked it but I play a lot more MInecraft now.
  2. Re-create it using different rotation.
  3. Sorry, but this tutorial doesn't even explains on why someone would consider using latentEvents.
  4. Finally, good work! If there's any server using this, please pm me the server details.
  5. Is it possible? If so, how?
  6. I think you can if you add specular map to the object's material's texture and set the object's alpha to 0. Edit: I don't think it will work as setting object's alpha also affects the material.
  7. After checking out the source, he/she didn't use any custom objects or shaders. He/she is using CLEO to do that so it's either a particle effect or an object which already exist on the game. I think the latter.
  8. As you can see in this video: Is it possible to implement it on MTA? If so, how?
  9. This looks fine to me. Player is roughly 2units high, so your code would work fine. If your objects gets created underground then the model's pivot point is higher than you'd expect it to be. Even if the player is crouching his position is still at the same spot, this is also the reason why you can't crouch underneath other environment models (it's not just collision that's causing you not being able to crouch underneath objects). Your code is fine, but like DNL291 said, you can use getGroundPosition to get accurate ground position or processLineOfSight. Thanks for your input. I'm using custom skin models which I've created on Maya and find out the problem that the origin point starts from the head rather than the center. Thanks!
  10. Sure, here you go. createObject(2060, transform[1], transform[2], transform[3] - 0.875) The transform table stores player's x, y and z position. Edit: There should be a way to get the ground's position the player (or certain entity) is upon.
  11. I did but sometimes it goes under the ground. Thanks for your help though.
  12. Well whenever I try to create an object on player's position, it creates that object on the pivot(center) of the player rather than the ground.
  13. How to create objects on the ground rather than the pivot?
×
×
  • Create New...