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 → Portion of weapon cog
Portion of weapon cog
2002-01-23, 5:57 AM #1
I need the exact part of a weapon cog that inflicts damage so i can just copy it (and it's declarations etc.) to modifiy the grapply hook cog to inflict damage when it hits a player, does anyone know how to do this?

if there's anyway at all to inflict damage with the grapply cog please tell me!!! (as long as it can still grapple when striking a wall.. etc.)
2002-01-23, 7:11 AM #2
Its not in the cog, its in the template.


Add something like 'Damage=50' to the grapple template.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-01-23, 11:59 AM #3
the template? the best guess i have at that (i'm a newbie at cogging) is that in the cog file at the top under "symbols" i write

template damage=50

then some have "local" at the end of that line, is that anywhere near?
2002-01-23, 12:30 PM #4
Quote:
<font face="Verdana, Arial" size="2">Originally posted by GBK:
Its not in the cog...</font>


In other words, it doesnt have anything to do with the cog. Period.

 

In the mod's 'Static.jkl', find the line defining the grapple, and add 'Damage=50' or whatever amount you want.

Im not sure, but that should make it damage actors.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-01-23, 12:47 PM #5
ah dude that works!!! thanks very much you're the man.

you dunno if there's anyway of making it so it goes on a neg. vector (ie downwards) when you hit the back cursor key? orbably take a while to code would it?
2002-01-23, 3:57 PM #6
You mean repelling away from the grapple? Sure, its possible, but it would have to be a new hotkey.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-01-24, 3:41 AM #7
so coul dit be possible to shoot the grapple and get drag toward it like normal but when this new hotkey is pressed for the direction to change to the opposite?
2002-01-24, 7:30 AM #8
I see we have a firm believer in the limits of cog and the obsoleteness of the English language. [http://forums.massassi.net/html/frown.gif]

The question is not whether it's possible or not, but whether the effort it would take to code is worth it.

------------------
More matter with less art.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!