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 → I Need A Cog...
I Need A Cog...
2001-12-10, 3:20 PM #1
Can someone make me a cog that makes a sector have low gravity and takes shield in intervals; and when all the shield is gone takes health in intervals.

------------------
Watch Your Back On The Zone...Cause "Deth" Is Always Creeping Up Behind.
(Hostile Takeover)
http://www.massassi.net/levels/files/1708.shtml
(RWP)
http://www.massassi.net/levels/files/1780.shtml
Check Um Out...
2001-12-11, 9:41 AM #2
Somebody, Anybody...

------------------
Watch Your Back On The Zone...Cause "Deth" Is Always Creeping Up Behind.
(Hostile Takeover)
http://www.massassi.net/levels/files/1708.shtml
(RWP)
http://www.massassi.net/levels/files/1780.shtml
Check Um Out...
2001-12-11, 9:52 AM #3
Im assuming you want this for an 'outer space' kind of feel... It would be easier just to set the sector's flags to 'no gravity'.

Code:
#12/2001 GBK
Symbols
Message Startup
Message Pulse
Thing Player    Local
Sector Kill_sector
Flex Interval=10.0
Flex Pulse_rate=1.0
End
Code
Startup:
Setpulse(Pulse_rate);
Player = JKgetlocalplayer();
Stop;
Pulse:
If(Getthingsector(Player) != Kill_sector) Stop;
Damagething(Player, Interval, 0x20, Player);
Stop;
End


That will damage the player accordingly. I set the damage flags to 'drowning', to make it seem like he is suffocating.

I dont know if it works, I just typed it into the box. But it should... [http://forums.massassi.net/html/biggrin.gif]


------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!