Log in to reply
 

Official Map Modding Tutorial (Part 3) : Making a custom ymap!



  • Background Info:
    Back again with part 3. This one will show you how to start making your own custom ymap and spawn the custom .ydr you created in part 2 with codewalker.

    REMEMBER TO CHECK OUT MY PREVIOUS TUTORIALS BEFORE DOING THIS ONE

    Programs we will be using for this tutorial:

    Making a custom map using the custom .ydr created

    Step One: The first step you want to create a .ytyp for the object. All you need for this is a program I made. You can read the instructions on how to make a .ytyp for an object. All you need to do is open the .odr (we will be using CubeExample.odr) and calculate BB's then Import them and change the flags to 32, make sure to check embedded collisions and then name the ytyp file to something meaning full. Here is the CubeExample done:
    0_1518044613763_upload-f7ffedbe-1bc5-4270-8854-783844871808
    Now click create and then your done. Take that ytyp file created and set it next to the .odr used to create the ytyp. The last thing you want to do is go to the content.xml under the dlc.rpf and add in these new lines:
    0_1518046591226_upload-a5881781-d2e0-4039-a18d-7ecae28efd52
    Replace the name that is highligted with the name of the .ytyp that was generated.

    Step Two: Next just put the .odr and the .ytyp in the "models.rpf" that was created when setting up a dlc pack for map modding. Like this:
    0_1518044799064_upload-8ab2e02b-dec2-4c10-89c6-3041ecd88c9d

    Step Three: Next you need to download this _manifest.ymf from here: https://ufile.io/9cn4e Just place that inside the "models.rpf" next to the ytyp. should look like this:

    0_1518045022529_upload-db4e6067-40e9-414a-9993-719c5a4a394f

    Step Four: Open codewalker you will see the gtaV world start to render. Next you need to click the little << in the corner and one by one enable mods and dlcs. Like so:
    0_1518045234990_upload-fc3b49f9-79a4-461d-94ed-0c8667d891f3

    Step Five: Now just click tools... and select project window then you will see a new window popup it should look like this:
    0_1518045299552_upload-dd6e936a-ff7f-4a4b-86e4-76674405f6e2

    Step Six: Now click file >new > ymap file and you will see this load:
    0_1518045412570_upload-08415fcc-4740-4e6f-b584-e5c466bdf4c0
    Now just select the map1.ymap and in the toolbar click ymap > new entity it should then show this:
    0_1518045543463_upload-9479ecd9-41aa-4a7f-b80b-460a43dc4bef
    Now all you have to do is where it says "Archetype:" type in your custom ydrs name for this we will be using CubeExample (MAKE SURE IT IS LOWERCASE) Like so:
    0_1518045725526_upload-d8021015-7f2a-41de-af09-3624cf4c370a
    Now you will see in the background your object loaded in. You can now move around to view it better.
    Now just click T and you will see a tool bar pop up:
    0_1518046667067_upload-bab209e2-74ff-4bdc-bec3-972c97ad52dc
    Now you can move/rotate/scale the object with them buttons and place it where you want it in the world when you have it in a suitable location in the world click the map1.ymap and click "Calculate Extents". Like so:
    0_1518046724032_upload-d35d1f78-cec6-44a6-918a-892e53cc3880

    Step Seven: Once that is done you can click file > save Map1.ymap as... And save it to a location where you will remember you can name it whatever you want for this tutorial I will use "cubeexample". Here is what it looks like done:
    0_1518046767966_upload-f4fb7ead-3770-415f-a2c5-0bb85ddd412a
    Step Eight: After that click the "new codewalker project and the "manifset" tab and then click generate, you should get something like this:
    0_1518046813816_upload-793fbee1-4fa4-4053-8001-1a7e62ac8122
    After that you want to copy all that stuff generated and go into openIV where the _manifest.ymf is and paste all that data in and save it. Once done it should look like this:
    0_1518046874383_upload-8e53f844-f38b-4822-a6d9-aec60bd2460f

    Step Nine: Place the .ymap inside the "models .rpf " and thats it. Once all complete the models.rpf sshould look like this:
    0_1518047109383_upload-22b67d09-7400-4fb1-a1c7-ac4b80e7b487

    Conclusion: Time to test. I placed the cube right in front of franklins house so I could see it really quick, here is a screenshot:
    0_1521026661232_upload-0d7d7f1f-336f-46e5-b634-8f4a225ffa9b
    Extra Notes: Never forget your _manifest.ymf or the ymap will not be loaded.

    IF YOU NEED HELP BEST WAY TO CONTACT ME IS THROUGH DISCORD YOU CAN JOIN MY MAP MODDING SERVER HERE : https://discord.gg/7xbYQaN Your always welcome dont be afraid to join!!


  • MODERATOR

    @skylumz this is just awesome information! Presented very clearly! Thank you!



  • @DarthPungz Anything to help the community and spread the word!! Thanks


  • MODERATOR

    @skylumz Great work! Spread the word, man! :)

    Now all I need is a tutorial on MILO loading. grin



  • @skylumz first i want to thank you for your efforts and your time to make this TUT bro but let me suggest if you make this TUT in video it will be very helpful for us and very easy for you and there is many people me one of them dont speak english
    Let me again to thank you bro for your big efforts



  • @skylumz bro all your files link is expired please update it



  • @kingfire If you search for .ymf you can find one in gta files and just copy it and bring it to your dlc pack! Then use it as I would.



  • @skylumz bro sorry if I annoying you with my questions , in step one if I have more than one object what I can do in content.xml when I add the lines



  • @kingfire just add the objects in the models.rpf no need to edit the context.xml or anything else... drag and drop



  • @skylumz link for manifest.ymf is dead, can you reupload it?



  • @lazlow555 read above . . there are existing .ymf files that co-contained with ytyp files in gta v .. so just extract one ,edit as xml and delete the entries.. its the same thing



  • This post is deleted!


  • This post is deleted!


  • This post is deleted!


  • This post is deleted!


  • @skylumz this program creat file in xml format, not file like*.ytyp - what is this and what you mean, how to work with it?? "Now click create and then your done. Take that ytyp file created and set it next to the .odr used to create the ytyp." there is no ytyp, only xml..



  • This post is deleted!


  • This post is deleted!


  • well now you want load your custom dlc.rpf.. but how? i can see object in the game, i see model with texture in CodeWalker, but not in game.



  • The object won't show in the game no matter how hard i try!!


Log in to reply
 

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