How do you add guns to class manager?!
2013-08-05, 03:53 AM
#1
How do you add guns to class manager?!
please help me somebody! i was wondering how to add another gun onto the weapons list (menus_class_manager) and i just cant figure out how to do it. i've tried time and time again but have just failed. all i need is for somebody to tell me how to add my own custom made gun to the weapons list, i would really appreciate it,
THANKS! Big Grin

MY ROFLCOPTER GOES SOI SOI SOI
Post Reply Quote this message in a reply
2013-08-05, 05:57 AM
#2
RE: How do you add guns to class manager?!
ask dm.mossberg. he coded a new pistol

[Image: cooltext1203588761_zps9cfa0053.gif]
Post Reply Quote this message in a reply
2013-08-05, 07:18 AM
#3
RE: How do you add guns to class manager?!
The file menus_class_manager.cfg just define the memu allowing to set faster and easier used weapons and perks. If you try to remove a part of the perk and weapons at removing them from this file, they'll stop appearing in the class manager menu but will remain as usable as usual by bots and set the class manager to use them will remain usable with the console (nextprimary, nextsecondary, nextperk1 and nextperk2 are hardcoded).

The existing weapon packs only change the skins and the model of already existing weapons and this way to mod also allow to change their sounds and the weapon names you can read in the class manager menu.

To actually add or remove a weapon, you need modify and recompile the C++ source code files.

Post Reply Quote this message in a reply
2013-08-05, 07:25 AM
#4
RE: How do you add guns to class manager?!
Do you know c++? You would have to code the pistol and basically go through the entire source code fixing all the code THEN you have to edit the config. Even then it can be really buggy so u might also need to debug it,I know the system is currently stupid but we are currently trying to fix this by having the weapons be in a xml but it might take a couple months/year to get that completed, so basically there is no easy way to add new weapons.

I might make a new thread teaching people how to code the weapons once I get the hang of it myself...

[Image: name_zps459dc421.gif]
[Image: cooltext1206791925_zps58ab60b5.gif]

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." - Bjarne Stroustrup
Post Reply Quote this message in a reply
2013-08-05, 04:52 PM
#5
RE: How do you add guns to class manager?!
thanks for the advice, where is the c++ folder anyway?

MY ROFLCOPTER GOES SOI SOI SOI
Post Reply Quote this message in a reply
2013-08-06, 01:43 AM
#6
RE: How do you add guns to class manager?!
@kewbacca you have to download the source and if you download it the code is under source/src
Post Reply Quote this message in a reply


Forum Jump: