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 → Mat animations and cel settings
Mat animations and cel settings
2004-02-21, 12:01 PM #1
SetMaterialCel(mat, cel);
anim_id = MaterialAnim(mat, flags);


I'm writing the P99 cog for the Nightfire mod, and I need to implement a muzzle flash. The flash is multi-celled. In a follow-up email to the one where instructions for the cog (and the flash) were given, this question was asked.
Quote:
<font face="Verdana, Arial" size="2">Originally stated by a_person in an email:
...when you shoot the gun and it animates will it make all the other guns with
that mat animate? If so is it possible to stop.
</font>


So, my forum question is essentially the same. Will these verbs make EVERY P99 in the game animate the flash, or just the one that fired it? And if it does, is there a way to get around it?

Thanks.

------------------
I am Darth Slaw.
The Dark Lord of the Sith,
And part of the Nightfire mod team

[This message has been edited by Darth Slaw (edited February 21, 2004).]
May the mass times acceleration be with you.
2004-02-21, 7:27 PM #2
It'll make every gun flash.

Ways to get around it? Separate models for the flash frame.
2004-02-22, 1:44 AM #3
What do you mean by 'every gun'? If its the other players in MP your worried about, just make the flash effect a seperate cog and make it local.

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-22, 2:58 AM #4
He would still see the other guys' p99 muzzle flash while firing his own. A minor flaw, but still a flaw.

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2004-02-22, 10:23 AM #5
Just use separate models like SS3 did. It's the same principle as saber trails.
2004-02-22, 1:24 PM #6
Ahh, okay. Didn't see right away what you meant. Now I do. Have 3 weapon meshes, one with regular, no flash, thing, one with a silencer (doesn't flash anyway), and one regular with an animated flash surface. 'Kay, gotcha.

Thanks a lot guys.

------------------
I am Darth Slaw.
The Dark Lord of the Sith,
And part of the Nightfire mod team
May the mass times acceleration be with you.
2004-02-22, 4:13 PM #7
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Darth Slaw:
Ahh, okay. Didn't see right away what you meant. Now I do. Have 3 weapon meshes, one with regular, no flash, thing, one with a silencer (doesn't flash anyway), and one regular with an animated flash surface. 'Kay, gotcha.

Thanks a lot guys.
</font>


Would ya like me to send you 3 models like that mr slaw.



------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-02-23, 11:06 AM #8
Yes please, mr person [http://forums.massassi.net/html/biggrin.gif]

------------------
I am Darth Slaw.
The Dark Lord of the Sith,
And part of the Nightfire mod team
May the mass times acceleration be with you.

↑ Up to the top!