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 → No Crush Damage
No Crush Damage
2004-03-12, 10:09 AM #1
Hi!
I'm looking into a COG from the Rolling Mod Development Kit. It is the NoDamage COG. The COG that does so that when you run into a wall or obsticle, you hear a crunch but you're not hurt. Now, I look and see that it Sets Inventory 71 to 1 for no damage, and when I look up 71 in the items.dat, I find that it is the maxsecrets number. Now I wonder... How does setting the maxsecrets to 1 make me Invul to crushing?

/Edward
Edward's Cognative Hazards
2004-03-12, 10:12 AM #2
because the cog that catches the damage (level cog) looks to see if that bin is set to 1 or 0; if 1, no damage; if 0, damage.

------------------
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-03-12, 10:54 AM #3
If youve got a custom kyle.cog in your mod, do this... Under Damaged:, check if the damage type is impact (dont recall the flag), and if it is, returnex(0);....

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-03-12, 11:32 AM #4
Thank you!
Edward's Cognative Hazards

↑ Up to the top!