Jump to content

2kristof2

Members
  • Posts

    80
  • Joined

  • Last visited

Details

  • Gang
    idk

Recent Profile Visitors

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

2kristof2's Achievements

Transformer

Transformer (11/54)

0

Reputation

  1. Hello, It'd be nice if you add support for breakable objects which require additional .dat file. That would be amazing.
  2. Hello, 6th argument of setPedAnimation function should update position of a ped but when I tried to use it in server-sided script it didn't work. It updated its position only if the ped was streamed in.
  3. As I thought. It would be cool to make breakable objects like glass or walls in the future. About particles I meant effects like smoke, explsions, gunshots etc, not ped animations, @Saml1er. I recreate an object every 100 ms and it works fine. Thanks for the answers.
  4. Hello, I've got gta particles in dff files and I have a question if it is possible to edit for example gunshot animation and make it looped? Because when I create an object with this animation it disappears when the animation ends. Also another question, is it possible to make a breakable object in mta? As I know a .dat file is needed so probably it isn't. Thanks.
  5. The element is attached and getElementRotation won't return actual rotation but rotation before attaching. And yes I know all those functions related to attachments but there are needed even more complicated maths to rotate an element by setting its offsets.
  6. Hello, I would like to know how to get rotation of an element (rx,ry,rz) if I have its x,y,z axes and their positions (P1, P2, P3 and element's position are given like in the picture below). Some maths are needed but unfortunately calculating angles is not my strong side. Thanks in advance.
  7. Hello, MTA wiki says: Due to a limitation in GTA, unexpected attach rotations may occur if all rotation offsets are non-zero. (i.e. Try to ensure at least one of 'xRotOffset', 'yRotOffset' or 'zRotOffset' is zero) I want to create group of objects (with random xyz rotations) and make possibility to move them and rotate around all axes (around their center point). I wanted to use simple attachElements but as you can see I can't due to a limitation. So all I want to know is it possible to rotate group of objects around all 3 axes without bugs?
  8. Hello, I made a map which is quiet big and has a big amount of objects (textured objects if it does matter). As everyone knows there is object limit what is really annoying. The best way would be use LODs for all objects but they are so bugged when I tried to use it. Also there is a function called engineSetModelLODDistance but it has nothing to do with extending object limit. I think it's just impossible to solve the problem with a script but I hope I'm wrong. Maybe there is a shader which could help me? Thanks in advance for any help.
  9. Is it possible to edit/delete files of resources which are zipped? I read them succesfully but I have a problem with editing/removing them. Also it's impossible to create a file which is zipped.. What can I do? (I want to change xml file of a resource which is in .zip format)
  10. Hello, I'd like to know how to change selected element in map editor via script. For example I selected an object and want to drop it and select a new created object called object1. I found few server and client events like onElementDrop and onElementSelect but I don't know how to use it. Thanks in advance.
  11. I was checking the collisions in exactly the same way. The handler doesn't trigger for example when I jump on an object with ID 3095. Anyway I don't really need this handler anymore. Thanks for your answer.
  12. It doesn't work on small jumps. You attach the line near a player.
  13. Hey, I have a problem related to this topic. I want to detect collision when bmx hits an object. The problem is that handler "onClientVehicleCollision" not always works. Any suggestions? I was thinking about processLineOfSight but maybe there is better solution, Thanks in advance.
×
×
  • Create New...