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 → Tough glass
Tough glass
2002-02-27, 9:03 AM #1
could anyone direct me on how i would edit the default JK glass cog (00_breakingglass.cog) so the glass would only smash after 3 hits with a conc, or another weapon with similar damage.
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2002-02-27, 9:14 AM #2
AFAIK, Param0 of a :Damaged message is the amount. Soooo...

Add 'Flex Damage=0 Local' and 'Flex Break_damage=500' to the symbols section.

And add this code:

Damaged:
Damage = Damage + Getparam(0);
If(Damage < Break_damage) Stop;

 


'Break_damage' is the amount of damage required to break the glass.

[EDIT: D@MN SMILIES!]

------------------
Success is the inverse relationship between effort, gain, and loss.

JK editing resources.

[This message has been edited by GBK (edited February 27, 2002).]
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!