Door Kickers 2: How to Create Weapon Mods
Published on: November 5, 2020 by Robins ChewIf you intend on creating other mods, please read this too as there are other parts that might be important.
Game directory HOW TO MOD WEAPONS REALLY QUICKmost of this is copy-pasted from my own Discord message so it may be a bit messy.
Most of this pertains to the closed testing period, so I don’t know if there has been any changes to how weapons work since then.
Also, I will be referencing an Uzi mod I made a lot.
All of the game files are stored withinSteam\steamapps\common\DoorKickers2\data \data\equipment\ This folder houses the actual files for weapons, ammo, and how the rangers fire said weapon.
`firearms_rifles` and `firearms_pistols` houses the actual weapon files per se. If you want to create a gun that uses the same ammo, same way of attacking as the default rifles then you will only have to edit this.
`firearms_ammo` is the type of ammo the weapons have. You can just reuse the ones meant for the rifles but if you are creating something new, then this one is important. It defines the firerate of the weapon, sound radius of the weapon, crit chance of the weapon etc etc
`firearms_attacktypes` is how the soldiers use the weapons. So for like say the M4 say at <25m they will use attacktype RangersRapidfire, for Both `firearms_rifles` and `firearms_pistols` reference `firearms_ammo` and `firearms_attacktypes`. they also reference other things which I will get into in a moment For game files like in `equipment`, you will have to put the `@firearm_uzi_name` in there. The text you put afterwards is what the game will display. For 3d models and textures, there is not much to do there because there is no documentation of how to export from blender to their proprietary formant, and also none for the other way around. the UI icons are using .dds format. you can open this with I think some photoshop or the latest version of gimp. IDK why though but the files are all upside down. DONT FORGET! You need to add your sound file to `sounds_library.xml` for each channel you can list different sound files, which I think is how the gunshot sound effect variety is done. Always remember though that `firearms_rifles` has max of 4 or so sound files for gunshot variety. Related Posts: About Robins Chew I'm Robins, who love to play the mobile games from Google Play, I will share the gift codes in this website, if you also love mobile games, come play with me. Besides, I will also play some video games relresed from Steam.
Here is another example of a weapon description from the closed testing build that conveniently explains something else.
If you do not add anything to that xml file your game will crash upon trying to play that sound









