Log in to reply
 

[Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's



  • Another quick qestion. :) I'm adding an add-on tank now. It Seems to have its vehicles.meta stored in common/data/levels/gta5/, oddly enough. Like:

    <filename>dlc_combi:/common/data/levels/gta5/vehicles.meta</filename>
    

    Is there any reason I can't just add an entry in the default vehicles.meta section?

    EDIT: My guess is the author basically ported a 'replace' car to addon (as that would explain those directories), and was a bit lazy. :)



  • @meimeiriver I've had a lot of cars with that path, I just move them into the normal vehicles.meta and it doesn't seem to cause any problems.



  • @LeeC2202 And what about weapons? It seems to have a section for weapons too

    <filename>dlc_combi:/common/data/weaponchal2mt.meta</filename>
    

    And, indeed, I saw there's a different path (this one) for weapons in the folder templates; so I got to doubt myself again. :)



  • @meimeiriver No idea I am afraid about weapons, it's not something that really interests me in the game, so I have never really looked at doing anything with them.



  • @LeeC2202 The weapons are part of the tank. :) Otherwise I don't care much about weapons either. Thx anyway.



  • @meimeiriver LOL, I thought you meant for hand weapons... sorry. :D I don't think people believe me when I say I can't remember what I did 10 minutes ago... there's the living proof. I had forgotten you mentioned a tank. :blush:



  • @LeeC2202 Np. :) I think I'm just going to make everything part of the regular data folder first. Because, way I figure this, it's content.xml which tells what files to reference; and I can't imagine the game would overide that, and look elsewhere for the weapon definitions. I'm rather stubborn, though, so I could very well be wrong. :P



  • Odd. Tanks are loaded just fine (it's actually 4 different versions). They're not firing, though. And I put the meta back to:

    <filename>dlc_combi:/common/data/weaponchal2mt.meta</filename>
    

    Guess I'm missing something after all.



  • If only I would RTFM. :) You need to switch between weps on this tank! It was working all along!

    P.S. I'm glad I worked thru this process of creating compound DLC's. Sure, it's a pain in the arse, at first, grasping it all, but it was well worth it. No more "ERR_FIL_PACK_1" error for me! :)


  • MODERATOR

    @meimeiriver The weaponchal2mt.meta is needed info for the chal2mt tank weapons to work. It should be used the same way as the other META files, so you just need to put it on your data folder and edit the content.xml file to add 2 new entries (each one in his respective section) to load the file when you start the game.



  • @Reyser said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    @meimeiriver The weaponchal2mt.meta is needed info for the chal2mt tank weapons to work. It should be used the same way as the other META files, so you just need to put it on your data folder and edit the content.xml file to add 2 new entries (each one in his respective section) to load the file when you start the game.

    Yes, I understood that. My point just was whether it needed to be in /common/data/ per se (where it was initially located), or whether it could simply be moved to /data/ (with the rest of my stuffz), because your weapon templates appear to put weapons in /common/data/ too, is why.

    P.S. Glad you're back! :)


  • MODERATOR

    @meimeiriver The location/path is irrelevant, can be placed anywhere even if it isn't in the same Add-On folder. So don't worry about that :)

    Btw, I'm not back at all, but I always check this site while I'm in my "free" time :P



  • @Reyser said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    @meimeiriver The location/path is irrelevant, can be placed anywhere even if it isn't in the same Add-On folder. So don't worry about that :)

    Btw, I'm not back at all, but I always check this site while I'm in my "free" time :P

    Ah, thank you! :) Now I truly understand!



  • Really good tutorial, thanks! But there's a problem... Why the addon does not have textures nor bullet holes collision anymore?


  • MODERATOR

    @Zio-Ark That should be something related to the mod you're using, nothing about my tutorial or the Add-On structure itself.



  • EDIT: So, new discovery. I looked at the files long and hard and decided to take a look in update.rpf to see what I was missing. And, the dlc.rpf I added the car into, mpJanuary2016.rpf, has a subfolder in "dlc_patch". I clicked into the folder, and seen that the handling.meta & vehicles.meta had both been patched. So, I swapped in my edited meta files over the ones already in the folder, and... it worked! And it made me realize something.

    A lot of the cars I had tried to add in the last attempt to create a custom folder had instructions to install folders in the "dlc_patch" subfolder prior to installing the actual car pack. So, there were a lot of cars simply missing data, causing the game to crash.

    As an aside, I really hate how there's no real standard on how modders create these car packs. I have to compensate for every little thing they do. Some have a complete set of folders and subfolders, some only have the most pertinent of data being one click away. Some have vehicles.metas where the cars have different handling ID's than the one for the actual car being installed. And others might have various formatting that I have to compensate for when copying & pasting.

    But, I finally got it working, Thanks to those that have listened to me whine and helped me over the last few months.


  • MODERATOR

    @jWILL253 That's why I've never recommended to install new vehicles into original game DLC folders.

    Is much cleaner and safer to create a new one and put all the vehicle files and edit the data files from the same DLC always. Also, doing that you can save your own DLCs in backups, without the need to save all the entire original game DLCs, saving your SSD or HDD space.



  • I have 22 addons with vehiclemods. When I mod I can not change in Los Santos Custom or Simple Trainer



  • @torres9 said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    I have 22 addons with vehiclemods. When I mod I can not change in Los Santos Custom or Simple Trainer

    Check your carcols.meta & carvariations.meta. Most likely your car ID's are conflicting with one another. Try to come up with a unique ID for each car you add.



  • @jWILL253 said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    @torres9 said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    I have 22 addons with vehiclemods. When I mod I can not change in Los Santos Custom or Simple Trainer

    Check your carcols.meta & carvariations.meta. Most likely your car ID's are conflicting with one another. Try to come up with a unique ID for each car you add.

    An ID conflict within the same carcols.meta would knock out 1 car (or maybe both), but not all of them. More likely causes are either errors in carcols.meta (very easy to occur, so use an XML validator), or simply invalid car IDs. The latter is very annoying. And Lee and ReNNie recently discussed the matter; then I briefly chimed in. The upshot of it all is, that there is no known way to try and determine a valid ID pool to select from (other than by trial and error). So, 1936 may work, but 1937 not. And to make things worse, what will work on your machine, or mine, may not work for another.



  • @torres9 I gave you this
    https://forums.gta5-mods.com/topic/5105/how-to-fix-tuning-parts-and-lights-not-working-on-addons-or-making-your-own-car-packs/

    any mod kit id you give the car with this method will work as its the default games method of giving modkit ids to the vanilla cars. But it has a limit of 255 cars total with modkit ids as this is the game limit. So only 255 cars with tuning parts. Any addon car that i see that doesnt have tuning parts but has a modkit id given to it i just change it to 0 and go under its carvariations.meta file and make sure to change the modkit to 0_default_modkit as theres no point in giving an addon car a modkit id if it doesnt have tuning parts for it.


  • MODERATOR

    @meimeiriver said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    NeLLie

    Lolllll. Should I change to NeLLie Flurrytado as my nick?



  • @ReNNie said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    @meimeiriver said in [Tutorial | Vehicles/Weapons] How to do: Add-On's / Replacer's:

    NeLLie

    Lolllll. Should I change to NeLLie Flurrytado as my nick?

    LOL. My bad. I keep reading it like that for some reason. Guess I'm a wee dyslexic. Changed.


  • TRANSLATOR

    wow! i don't know this tutorial exists!


  • MODERATOR


Log in to reply
 

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