Log in to reply
 

why are weapons not addons?



  • there exist a tutorial on gtaforums how to make new weapons as DLC without replacing current weapons: http://gtaforums.com/topic/794835-pocv-creating-a-dlc-pack-and-adding-a-new-weapon/

    now i see most of the weapons are replacements. my question: why are modders not making theyr weapons as addons like vehicles are mostly released as addons?
    is there a limit that i dont know about or are weapon DLC more complicated ?



  • @shephart said in why are weapons not addons?:

    are weapon DLCs more complicated ?

    You may have answered your own question.


  • MODERATOR

    it's not that perse, creating a dlcpack with several machineguns in itself isn't the hurdle

    v1.26 can hold 4 to 5 extra weapon models in total before it crashes the game on load, no matter what extra edits in gameconfig you make, see my previous posts on this, like here
    v1.36 and above crash even on the first added weapon

    come to think of it, I have to reexamine it some more after these pointers via discord by @Unknown-Modder

    You must be doing something wrong
    There is no limit besides the archetype limit (RAGE allows up to 65535 archetypes)
    The game always allocates MaxExtraWeaponModelInfos * sizeof(CWeaponModelInfo) bytes of memory
    Make sure to increase that number + the drawable store if it doesnt work and check your DLC pack
    

    //edit: tried it just now on v1.41 with my AK dlcpack which holds 5 extra models (and works on v1.26)

    On v1.41 with dilipatated's gameconfig I've increased:

    • Cweapon poolsize from 1024 to 2048
    • MaxWeaponModelInfos from 115 to 600 (it was on 350 in my working gameconfig)
    • MaxExtraWeaponModelInfos from 340 to 600 (it is on 400 in my working gameconfig)
    • Drawable store from 64200 to 72800 (and values in between)

    it just keeps crashing no matter what ...



  • this means we either must wait until R* increases the limit (which i doubt) or that someone hacks the limit. Maybe the creator of Grand theft space mod can hack this limit, i doubt that fastman92 will start creating his limit adjuster for GTA V


  • MODERATOR

    @ReNNie I can use my own weapon mods Add-Ons without limit problems on the latest game version before the last DLC update. I currently have just 1 Add-On weapon, but I remember having more long time ago in the same package and working correctly.

    I think that your weapons could be incompatible with the latest game versions for some reason and that's why they crash for you, but idk. I use F7YO gameconfig btw.



  • @Reyser you can still use add-on weapons ? or does it crashes with the latest update?

    btw, do we have a projectile limit too? because there are some mods that add new projectiles (different missiles etc) and how can add-on jets have its own custom weapons when add-on weapons crashes the game?

    there are some add-on planes which have its own missiles with new speed etc... and they work fine. does weapons on vehicles count as weapons?



  • ok guys, someone might have fixed the crash issue when adding weapon as addon:
    https://www.gta5-mods.com/weapons/mg-42-add-on-replace

    Look into the comment section of this addon, Claude_III has uploaded a fix for the addon version which should make it work, i post the link he posted in the comment section here again, in case someone want to try it:
    https://mega.nz/#!Z5ZTjbaL!xuR7kMn8quYZhNm9Fb-nvwuNlLcDVBpyz5mUTSSUwVQ

    moderator @Reyser confirmed it works for him


  • MODERATOR

    atm I have 17 weapons converted from replace to add-on
    I've added them in 4 seperate dlcpacks and it's all active in my dlclist.xml
    so yes, add-on weapons do work on later versions as long as the gameconfig poolsizes are up to par

    Even @metroidguy 's RPG7 I've managed to add-on
    0_1521958970044_upload-37264650-5dfd-4ad9-8982-42a47833ae48



  • @ReNNie you gonna add more weapons? if so, please report your progress, im interest if there is a limit or not

    also, do you spawn your addon weapons with a trainer or did you added them to the gunshop ?


  • MODERATOR

    @shephart He uses Simple Trainer, and recently asked sjaak for more added weapon slots which is why the latest update added 40 more slots.


  • MODERATOR

    Correcto

    Unfortunately a Pick your Weapon script isn't a reality yet



  • @Jitnaught said in why are weapons not addons?:

    @shephart He uses Simple Trainer, and recently asked sjaak for more added weapon slots which is why the latest update added 40 more slots.

    I saw that. Too bad we don't have a new scripthook yet. :)



  • however, it should be possible to spawn peds with addon weapons, right? maybe with bodyguard spawner or even changing the loadout from the police

    also, anyone tried adding more weapon attachements ?


Log in to reply
 

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