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 → Client cogs
Client cogs
2002-08-12, 1:06 PM #1
Ok, part of the tutorial ive been using on how to make client cogs successfully work says:
2. Make sure every projectile in every weapon has its own unique ID that can be retrieved in the trigger message.

does this mean that in the weap_bryar.cog, im supposed to change
int ID local

into something else? that would mean id have to change
//Take away the FireProjectile command, take it to the client cog and replacing it with triggering.
ID = GetCurWeapon(player) * 10 + GetSenderRef();
SendTrigger(-1, ID, player, 0, 0, 0);
as well, right?

is there anything im doing wrong? because at the moment, my bryar pistol is shooting my rail detonators projectiles.


------------------
DC_SepTa
-=SepTa=-
-=SepTa=-
2002-08-12, 2:27 PM #2
No cross-posting across different forums.

Continue your post in the Editing Forum.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!