PDA

View Full Version : custom RPG


lesfundi
06-17-2007, 01:02 PM
what do you need to make your own custom RPG. For the pistol you need
to dupiclate the weapon_pistol.cpp and replace the pistol words and add to the client side. But the rpg...?

-> i copied the weapon_rpg.cpp and weaon_rpg.h and replace the words rpg and also missile, and also laserdot
-> added it to the
-> made the weapon_XXX.txt for it

-> the game start up and i type: sv_cheats, impulse 101, give weapon_XXX
I get the weapon but the moment i click on the mouse to schoot, the game crashes :-(

any advice