![]() |
How do you add guns to class manager?! - Printable Version +- AssaultCube Reloaded Forums (https://acrf.victorz.ca) +-- Forum: Gameplay (https://acrf.victorz.ca/forum-3.html) +--- Forum: Gameplay Discussion (https://acrf.victorz.ca/forum-12.html) +--- Thread: How do you add guns to class manager?! (/thread-916.html) |
How do you add guns to class manager?! - -{ET}-Kewbacca - 2013-08-05 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! ![]() RE: How do you add guns to class manager?! - {KE}bluwarguy - 2013-08-05 ask dm.mossberg. he coded a new pistol RE: How do you add guns to class manager?! - asmanel - 2013-08-05 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. RE: How do you add guns to class manager?! - dm.mossberg590a1 - 2013-08-05 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... RE: How do you add guns to class manager?! - -{ET}-Kewbacca - 2013-08-05 thanks for the advice, where is the c++ folder anyway? RE: How do you add guns to class manager?! - ruler501 - 2013-08-06 @kewbacca you have to download the source and if you download it the code is under source/src |