Page 1 of 1

Weapon Mod Add-On

Posted: Mon Jun 14, 2021 1:30 am
by Ninlhil
I'm still pretty new at the programming side of all this, and I'm trying to figure out how to create a .pk3 that changes the appearances and some functions of the weapons. Do I only need to have the new images and modified decorate files in their proper directories in the .pk3 and then make sure the load order is correct?

Re: Weapon Mod Add-On

Posted: Mon Jun 14, 2021 7:10 am
by Jarewill
When making a .pk3, you should create a structure.
For example: Create a "sprites" and "actors" folders in the .pk3
In the "sprites" folder you can place your sprites and in the "actors" folder you can place your weapon DECORATE files.

However, those DECORATE files won't load by themselves, so you will have to create a DECORATE file outside of any folders that contains "includes":

Code: Select all

#include "actors/pistol.txt"
#include "actors/shotgun.txt"    
And so on.

Here is an example file structure:
Spoiler:

Re: Weapon Mod Add-On

Posted: Mon Jun 14, 2021 8:02 am
by peewee_RotA
This is very well put together and succinct. Is there a wiki page with this information? I think it would make a great little article there.

Re: Weapon Mod Add-On

Posted: Mon Jun 14, 2021 9:14 am
by m8f

Re: Weapon Mod Add-On

Posted: Tue Jun 15, 2021 10:33 pm
by Ninlhil
Thanks for the info