hammy 0 Posted January 9, 2004 Im currently working on a RPG and i dont know how to make it so when the user fires the rocket on the end disapears and when its reloaded it reappears. how would i make the model? would i make two different models of the RPG one with the rocket on the end and one without? or would i make a model of the RPG without the rocket and make the rocket in a different p3d? would scripts be nessicary(sp)? or could i do it all in the cpp file? ps. im new to cpp making Share this post Link to post Share on other sites
SelectThis 0 Posted January 9, 2004 You need two models, one with the rocket on the end, the other without. Then in the cpp, you use modelspecial to tell the game which one to use. (look at NP2, JAM or Keg's RPG7 cpps for examples) SelectThis Share this post Link to post Share on other sites
Scud 0 Posted January 9, 2004 Quote[/b] ]Then in the cpp, you use modelspecial to tell the game which one to use. Can this modelspecial be used on the model or just part there of? And if so, does it transfer the driver, gunner etc to the replacement model? If you know what I mean. Share this post Link to post Share on other sites
SelectThis 0 Posted January 9, 2004 Modelspecial is pretty limited in scope. ie it only works for weapon classes. What it does is to let you use one model for a "loaded" weapon and a different one for a "unloaded" one. eg start with a unloaded rpg tube, when it's reloaded with a rocket it swaps the model. Once you fire the weapon the model switches back to the unloaded one. SelectThis Share this post Link to post Share on other sites
Scud 0 Posted January 9, 2004 Understood - thanx for explanation. Share this post Link to post Share on other sites
bmgarcangel 0 Posted January 10, 2004 Sorry for going off-topic, but I do believe BAS should have done that with there machine guns Share this post Link to post Share on other sites