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 → Ultra super easy cog help
Ultra super easy cog help
2003-03-24, 12:42 PM #1
Anyone have a cog that completely eliminates falling/collision damage?

------------------
Beta Tester Extraordinaire
Currently Testing: OMF

Some Cool Links
Lyrics are highly overrated.
2003-03-24, 1:26 PM #2
This would do it.
Code:
#By DSLS_DeathSythe
flags=0x240
symbols
#-----
message    startup
message    damaged
#-----
thing      player=-1    local
#-----
end
#-----
code
#-----
startup:
  player = GetLocalPlayerThing();
  CaptureThing(player);
return;
#-----
damaged:
  if(GetParam(1) == 64)
    {
    ReturnEx(0);
    }
return;
#-----
end

But it might be better to just set the NO DAMAGE FROM FALL surface flag if you want it to be all over the level. With this cog the person will still act like he got hurt but wont take any damage.

------------------
Famous last words - "It seemed like a good idea at the time."
2003-03-24, 2:49 PM #3
Thanks! I'll give you credit [http://forums.massassi.net/html/smile.gif]

------------------
Beta Tester Extraordinaire
Currently Testing: OMF

Some Cool Links
Lyrics are highly overrated.

↑ Up to the top!