The instructions assume you have some knowledge in [wiki]ACS[/wiki], [wiki]DECORATE[/wiki] and [wiki]SBARINFO[/wiki]. If you don't, I guess it's time to start learning.
I checked Eriguns, and I found out that you only need to do a few ACS changes to the HUD (in the nchud.acs file), more specifically, here (lines 86 to 98):
Code: Select all
str nc_weaponslist[D_NUMBEROFWEAPONS][6] =
{
{"Fist", "NoPrimary", "NoSecondary", "1", "No", "No"},
{"Chainsaw", "NoPrimary", "NoSecondary", "1", "No", "No"},
{"Pistol", "Clip", "NoSecondary", "2", "No", "No"},
{"Shotgun", "Shell", "NoSecondary", "3", "No", "No"},
{"SuperShotgun", "Shell", "NoSecondary", "3", "No", "No"},
{"Chaingun", "Clip", "NoSecondary", "4", "No", "No"},
{"RocketLauncher", "RocketAmmo", "NoSecondary", "5", "No", "No"},
{"PlasmaRifle", "Cell", "NoSecondary", "6", "No", "No"},
{"BFG9000", "Cell", "NoSecondary", "7", "No", "No"},
{"NC_DATPistol", "Clip", "Shell", "8", "No", "Yes"},
{"NC_DATPistol2", "Clip", "Shell", "9", "Yes", "Yes"},
{"NC_DATPistol3", "PistolMag", "Clip", "0", "No", "No"},
};
And, after you're done from the above, here as well (line 63):
There are comments in that same file that will help you understand what these are and what to do with them.
Oh,
and this is very important, once you've done your changes and saved the file, don't forget to compile it into a useable form by the engine.
How do I compile the file, I hear you ask? Here is a hassle-free way (in the long run) to do it:
- Download and install SLADE3 and ACC (you'll find it in the Editing section). If you already have them, then we're done from this step.
- Fire up SLADE, and from the menu go to Edit --> Preferences...
- From the list of headers on the left, expand Scripting (click on the '+' sign) and highlight/click on ACS.
- In the option window/form, there is a browse button, click on it and navigate to where you had ACC installed, and choose acc.exe. Ok everything to end the setup.
Once you're done with that, open the HUD file (with SLADE, of course) and locate the
nchud.acs file. Right-click on it, and from the context menu:
Scripts --> Compile ACS. Save the file after you're done.
If you want, you can make a patch to load on top of the original HUD with Eriguns instead of directly modifying said HUD. To do this:
- Create a new archive with SLADE: from the menu go to File --> New --> Zip Archive.
- Open the HUD file, and copy the nchud.acs file to the new archive you just created: Right-click on the file and choose Copy from the context menu. Click on the new archive tab, and then, from the menu go to Entry --> Paste.
Now you have a copy of that file in the new archive. Make your changes to it, save the file, compile it, and then save the archive. Loading the files, should be in this order: Eriguns --> main HUD --> patch.
The above might seem involving or too much for someone who doesn't have experience in modding, but I'm afraid there is no other way to it; if you want the HUD to work with something other than vanilla Doom, you have to do some modifications.