Log in to reply
 

[Tutorial] Editing map files with OpenIV


  • MODERATOR

    Hi all, now that OpenIV allows us to edit map files it would be very helpful if someone were to provide a detailed tutorial on just how to go about doing so. I would very much like to know how to change the spawn vehicle at a given location or to completely remove a spawn vehicle from a chosen location.

    Thank you very much for your time and consideration. Best wishes.

    DarthPungz



  • @DarthPungz Are you sure this is map related and not scripted-event related? If you use a trainer to remove all vehicles, do these vehicles still show up at the same location?

    If so, they could be being generated by scripted events, much like those buses that stop and either pick-up or let-off passengers. I know that when I was messing around with my bus mod, turning all the vehicles off still left quite a few vehicles in the map, that did certain (and regular) movements.

    It's like if you are in the desert, on the highway near Trevor's trailer and the UFO camp, there is regularly a vehicle that pulls onto the side of the road if you are on the UFO camp side of the road, then there is another that pulls into the shops on the left just past that (at the T junction). With all vehicles turned off, they still happen.

    Might be worth checking if any trainer options remove them, if not you might need to search for two possible solutions. I think there is a Native that turns off scripted vehicles in an area... can't remember what it is off the top of my head, will check later.

    The ones in Green,

    alt text


  • MODERATOR

    @LeeC2202

    Hi Lee,

    Thank you for the reply professor! I had seen the post below from @_Vlad_ ;

    @Vlad said in [COLLECTION][REL] Realism Dispatch Enhanced (RDE) 3.0:

    For next update, you guys can replace spawning cars without a script, at least i found the .ymap for Davis.
    https://forums.gta5-mods.com/topic/37/map-wip-real-california-architecture/353
    UPD. SAHP Station car spawning in hei_id2_07_strm_0.ymap

    This is what motivated me to make this thread. Script usage can slow down the game and worse if running scripts conflict. I would like a easy and easily editiable way to spawn and remove specific vehicles at specific locations. I hate those garbage trucks at the airport and the limo and van in front of the hangar...



  • @DarthPungz That's much better if it can be done that way then... it would be interesting to know what a ymap file actually does.

    I must confess, I just presumed they were for actual map data and not vehicles. There's obviously a lot more in there than I thought.



  • @DarthPungz You just need to know the coordinates of this vehicles. Simple Trainer has option for it. Just make a screens with coordinates, and after that, search for related ymaps of the area. Just find the models of this area, and there should be folder xxx_metadata. In this folder a lot of ymap files, but as far as i know, only files with strm in the name contain the vehicle placement. I didn't tried just remove spawning position, but it's mostly like should work.

    For example, with La Mesa Police Station, the model is located in id2_07.rpf, and ymap where vehicle placement called id2_07_strm_0.ymap, but this file was updated by rockstar with heist update, so latest version of this file called hei_id2_07_strm_0.ymap and only this version loads in the game.

    Another example with Davis Police (Sheriff) Station.
    It's located in sc1_19.rpf and related ymap file with vehicle placement called sc1_rd_strm_3.ymap and located in the same x64 rpf in scentral_metadata.rpf. But the file also was updated by Rockstar in Lowrider updates, so the latest version of the file called lr_sc1_rd_strm_3.ymap.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.