Jump to content

DiSaMe

Helpers
  • Posts

    1,461
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by DiSaMe

  1. DiSaMe

    peds for mta

    I doubt if MTA will beat SA-MP in player count if community is going to always wait for something, but do nothing. SA-MP community isn't so special in any way either, but because most people are used to it, they won't move to MTA unless they see something unique and original. If MTA servers used all potential of the mod, SA-MP players would see more point in switching to MTA, but no - its community is just waiting. I'd rather like to see NPC traffic scripted and not released, but used in the server by resource author.
  2. Why to wait for something for months instead of scripting that in a few weeks?
  3. DiSaMe

    peds for mta

    There has been the stimilar situation with bone attachments: everyone wanted them, but nobody scripted them. So I had to script them. It's the same about peds: many people want NPC traffic, but they're just waiting. And I feel like I don't really have time to make it. People would better start acting, not just wait and watch.
  4. We all want MTA to be better than SA-MP and that's exactly how it is. But I find a little problem in MTA community: everyone wants somebody to come out of nowhere and do the job for them. That was the situation with bone attachments: getPedBonePosition has existed for a long time, but there still were many people who wanted bone attachment functions to be implemented. That took such a long time that they could have scripted it themselves, but they didn't. So I decided to make the resource myself. I'm glad that people like it, but I also feel a bit disappointed in them.
  5. Why do people take SA-MP as an example? SA-MP sucks and has nothing impossible for MTA. Actually, with getPedBonePosition in MTA you can do much more than SetPlayerAttachedObject in SA-MP. If you don't want to script attachElementToBone yourself, use bone attachments resource. It has no limits for attaching objects, while in SA-MP there are only 5 object slots per player.
  6. This has happened to me a few times when I was playing around with my resource which uses NPCs. The NPC appeared/behaved in a way GTA peds do, not like I had scripted and MTA seemed to be unaware of it.
  7. AFAIK, this may be caused by markers. And you don't need to write such block of code. Put it somewhere around isLineOfSightClear and you will see the line when the object gets checked. Then if the line looks too long, change the offset, restart the script and check again.
  8. DiSaMe

    Unified Textures

    Yes, you need to make sure that no objects with the same model ID are near. And it's better to do replace/restore model onClientElementStreamIn/onClientElementStreamOut. That's not right. The object may be streamed in even if it's too far to be visible. 'Streamed in' means that the object is physically present in GTA world. When it's streamed out, it gets removed from the game and only exists in MTA memory.
  9. I don't think so. Why don't you test it yourself? Make a dxDrawLine3D call and you will see what offset you need. By the way, disable checking of all elements other than objects in isLineOfSightClear.
  10. Yeah, but not too far, so that the ray wouldn't hit nearby objects.
  11. Just get the position of the object for one point and a little offset from the object for another, so that one point would be inside the object and another would be outside.
  12. DiSaMe

    peds for mta

    The server shouldn't rely on client that much, otherwise it will be vulnerable to hacking.
  13. Have you at least tried to use isLineOfSightClear? Do you think that one call of this function will freeze the game for a significant time? I guess you're not going to check 200 objects at the same time...
  14. I once have imported LC into MTA and it was like 200 MB, not 800. However, MTA couldn't load all parts of city at the same time. Anyway, I think there is a way to prevent players from having to wait for the files to download when they join the server. Client-side part of the resource can be uploaded somewhere on the internet, so players could download and put it into resources when not playing MTA.
  15. I think isLineOfSightClear is a more reliable way to check whether the object has broken or not.
  16. DiSaMe

    Unified Textures

    Objects themselves don't directly have DFFs/TXDs. Their IDs (which are numbers) do. All objects with the same ID will have the same DFF/TXD at the same time. However, because of the way MTA handles custom models, they can be replaced/restored during the game. So if you replace the model when the object is streamed in and restore when it's streamed out, with no other objects with the same ID being nearby, you will have an object with unique model.
  17. DiSaMe

    peds for mta

    With NPC traffic MTA would become more popular. But everybody waits for somebody to do something for them instead of doing the work themselves. Well, then it's one man's job to make MTA popular. I wonder who will be the one.
  18. I didn't. I once thought of creating a topic which would clearly show how MTA owns, but that would have been a waste of time.
  19. A few days ago I was reading a topic about best map editor in SA-MP forums. Many suggested MTA map editor. Someone posted a link to MTA site and someone else said "please don't post links to MTA site" It's funny. How are SA-MP mappers going to download MTA with its map editor if they don't know what is the website? What's even funnier, those posts are removed from the topic now
  20. DiSaMe

    Sticky fishes

    A script to test bone attachments and make the game a bit funnier: Download link: https://community.multitheftauto.com/index.php?p= ... ls&id=2548
  21. Resource updated. Added functions to check whether the element is attached, to get attachment details and to get bone position and rotation. The latter is useful if you, for example, want to create transformers without doing the stuff with trigonometry yourself
  22. DiSaMe

    peds for mta

    There are. Almost all stuff with peds can be controlled from MTA and everyone is free to make such resource.
  23. DiSaMe

    Bone attachments

    That's not the programming itself, it's mainly maths. Some trigonometry and matrices. Interestingly enough, I haven't learned about matrices in school, but discovered many things myself
  24. Maybe some good scripters would script for free, but this won't happen unless you can script well too. No one will want to form a team with you if you're much worse and are going to leave all your job for them to do.
  25. DiSaMe

    Objs!

    Did you start the resource?
×
×
  • Create New...