Author Topic: Template needed  (Read 2174 times)

Can anyone help me make a template for a weapon?
Where I can, change fire-rate, spread, magazine size on the weapon, bullet drop (like, on or off).

This would help me alot, cause I have guns lying around with no scripts and such.
« Last Edit: January 27, 2013, 01:01:35 PM by bangbang »

Just look into the default Weapon_Gun's cs files

Just look into the default Weapon_Gun's cs files

Well, I have already done that, but I do not know what do edit, else than the name of the model and such.
And it doesn't show up anywhere ingame, not even in the ''Add-ons'' list.

I don't think anyone can help you very much. The variable names are quite self-explanatory in my opinion. What do you not understand?

I don't think anyone can help you very much. The variable names are quite self-explanatory in my opinion. What do you not understand?

Why it isn't showing up in the addons menu, want me to post the server.cs?

Note, I've removed the shell ejection joint on the model, would that be why it's not working?

Why it isn't showing up in the addons menu, want me to post the server.cs?

Note, I've removed the shell ejection joint on the model, would that be why it's not working?
Check the console log, it usually tells you the reason why your add-on was not executed.

Check the console log, it usually tells you the reason why your add-on was not executed.

It doesn't even show up there.

might be the way you packaged it
is it in a folder named weapon_(name) with a description.txt inside with the server.cs?

namecheck.txt is required as well.

might be the way you packaged it
is it in a folder named weapon_(name) with a description.txt inside with the server.cs?

Yes?
namecheck.txt is required as well.

I know, and it's there.
Well this is the first time that I am trying this, so heh.
« Last Edit: February 01, 2013, 02:03:32 PM by bangbang »


No it's not

No? I do have that anyway.

Shall I send the packaged file, and then someone could tell me whats wrong?


No it's not
My goodness! You're right. I guess the habit stuck because of RTB.

Quote from: SomeguyIdon'tremember
I'm going to make this very easy for you. I have made templates for each type, so you don't have to script at all.
If you are making a gun, download this:
http://www.mediafire.com/download.php?yyytykad4mj
If you are making a Machine Gun, download this:
http://www.mediafire.com/?j5qmizmyen0
If you are are making a weapon you hit people with, download this:
http://www.mediafire.com/download.php?km4mzmmeuzl
If you are making a thrown weapon, download this:
http://www.mediafire.com/download.php?nwggmjqyxeq