Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Changing weapon models...
Changing weapon models...
2001-03-29, 1:19 PM #1
I need a cog that changes your weapon model when you fire. It needs to change from model1 to model2,3,4,5 and then back to 1 again, with maybe a little wait inbetween each model. (it also fires a projectile like normal of course) Any help here?

Oh wait, just remembered it would have to change to different models depending on if you were in pov or 3rd person mode.
Save a tree, Kill a beaver!
2001-03-30, 1:55 PM #2
For just one weapon or all of them? If it was one weapon it would be easier.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-01, 7:49 PM #3
under fire: message ...

if(getcurrentcamera == 0);
{
Sleep(0.8);
JkSetPovModel(player, 1);
Sleep(0.8);
JkSetPovModel(player, 2);
Sleep(0.8);
JkSetPovModel(player, 3);
Sleep(0.8);
JkSetPovModel(player, 4);
Sleep(0.8);
JkSetPovModel(player, 5);
Sleep(0.8);
JkSetPovModel(player, 6);
Sleep(0.8);
JkSetPovModel(player, 0);
}
else
if(getcurrentcamera == 1)
{
Sleep(0.8);
JkSetPovModel(player, e1);
Sleep(0.8);
JkSetPovModel(player, e2);
Sleep(0.8);
JkSetPovModel(player, e3);
Sleep(0.8);
JkSetPovModel(player, e4);
Sleep(0.8);
JkSetPovModel(player, e5);
Sleep(0.8);
JkSetPovModel(player, e6);
Sleep(0.8);
JkSetPovModel(player, e0);
}

return;

and of course the e0 , and 0 stuff is the varible for the name of the pov model

model e0=gun1g.3do local

I hope that helps ...

↑ Up to the top!