adding guns ET


(stealth6) #1

is it possible to make like an addon for a mod like noquarter or jaymod or whatever
with more guns?
So that when you open the limbo menu you can select thompson and more guns
so not just adjusting the skins of the guns that are there now?

Because we don’t want to make a completely new mod, just add guns to an already existing mod


(Elite) #2

No, sorry to dissapoint you, but it’s not possible to do that.

The closest you can come is to have the same number of weapons and just replace the weapons with other ones, however in the game it would say the old weapon names and not the new ones. Another option is to just make new skins for the current weapons.

Other than those 2 options, you really can’t do anything with the weapons without your own mod.

Now with that being said, I think NoQuarter may still be open source and looking for developers. SO if you want to help out with that mod, I’m sure they wouldn’t mind. Also ETPub is open source, so if you want to have ETPub with new weaps you can start there also.


(stealth6) #3

where do I find the information about guns so I can add my own?
I downloaded ET source, etpub source, an visual C++, I had dev-C++ bu they said visul so ok got that, but haven’t installed it yet, cause it takes forever…

anyway once tht is installed, where do i find the file which one of the many?

ty in advance


(Elite) #4

Once you have everything ready to go, it’s a bit more complicated than just adding the weapons.

To start off, I would pick an existing weapon in the game that most closely matches the weapon you want to add. Then do a “Find in Files” for the existing weapon (ie, search for THOMPSON), and just add the new code entries pretty much the same as the existing weapon, but for the new weapon.

Keep in mind you are going to need to make the models as well, animate them, and create an image for the limbo menu also.


(stealth6) #5

we have all the models etc, just needed to know how to add them to the limbo screen :stuck_out_tongue:


(stealth6) #6

which files do I have to edit for new guns?
I have been comparing etpub to noquarter, but I don’t understand the connection to why it is sometimes there and sometimes isn’t…

like I think you have to edit cgame-> cg_weapons, but not sure where
because when looking at noquarter I can find a little something about venom, but nothing about the rest of the guns…

SO coud someboy please point me in the right direction?


(shires) #7

how did they add shotguns to the game?


(stealth6) #8

via a mod, which I am slowly learning now how to make it now I got this while searcing the forum
I think i only have to edit files in the game part and thes files I have so far that i have to edit:
src\game\bg_misc.c
src\game\bg_pmove.c
src\game\bg_public.h
src\game\g_combat.c
src\game\cg_weapons.c
src\game\cg_events.c
src\game\cg_newdraw.c

anybody got some more… :stuck_out_tongue:

EDIT: ah just read, only edit the source folder not the header folder


(Elite) #9

There’s alot of stuff you need to add. Your best bet, like I mentioned above is to use the Find in Files tool:

To start off, I would pick an existing weapon in the game that most closely matches the weapon you want to add. Then do a “Find in Files” for the existing weapon (ie, search for THOMPSON), and just add the new code entries pretty much the same as the existing weapon, but for the new weapon.


(stealth6) #10

yes I searched, but if I compare to noquarter they haven’t edited all the files where thompson is there… so I don’t think you have to edit all the files with thompson in it


(Elite) #11

True, you don’t need to copy it exactly, just with the features you want. All you realyl need is to load the weapon models and info, the limbo image, spawning with it, bullet fire, etc, but you don’t need to have everything else if you don’t want it.


(stealth6) #12

Ok, I went through every file that had the word THOMPSON in it, and added my own weapons :P, BUT
When I tried to compile it I got loads of errors, and the best part is, none of them are in te bits I coded…

I modified the etpub sript, and there were loads of mistakes, is that normal??


(Elite) #13

Ummm… you mean the patch file?? You are supposed to use a program called Patch, get the original sources, and patch the original sources with etpub patch.

Maybe I misunderstood you here, if so please rephrase it thanks.


(stealth6) #14

nono ok I will try tha when I get some time