Do you use the C-Script or the Lite-C templates?
If you use Lite-C proceed as follows:
Open the file plBipedWeap00,
starting from line 151 you can see the template scripts for the first four weapons that are predefined. You can change the weapon models by replacing the weapon models in the models folder under "template 6" (keep the name of the template weapon models).
If you want to add more weapons, go to line 351 (Weapon #5 Model). IN line 356 (Type) you can replace the model with the name of the weapon model you wish to add.
Save the changed script file and close.
Open your level in WED, place the wepon somewhere and give it the template biped weapon action. Under properties, change the ID to "5" (the ID of the weapon you just changed in the script)
now, you can pick up the weapon and when you cycle through your weapons ingame, it will appear and you can use it.
Changing the firing mode:
If you want to customize your new weapon, proceed as follows:
Open "weapons00.wdl" in SED and got to line 436 ("section: Weapon #5")
between line 443 to line 474 you can change the various parameters of your weapon (there is an explanation provided of what each parameter does)
from LIne 476 on you can select the effects for your weapon by simply deleting the two slashes in front of the corresponding line.
Example:
Line 482: // weapons00_template[(4*weapons00_weap_field_count) + weapons00_weap_fx] += weapons00_fx_laser;
This is the laser effect. If you want to uses this effect for your weapon, simply delete the two slashes to make the line look like this:
Line 482: weapons00_template[(4*weapons00_weap_field_count) + weapons00_weap_fx] += weapons00_fx_laser;
the two scripts offer some more weapon numbers so you can add more weapons with various effect as you wish.
I hope this was comprehensible.
Best regs and have a nice sunday
Rince