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 Unique Cog
I need a Unique Cog
2002-07-05, 4:50 AM #1
I need a cog that will change the texture of a surface for an amount of time that will be inputed and then change it back to the original surface. The cog should also change the surface from being a regular floor to a killing floor and then back to regular again with the ammount of time the user inputs.
Who made you God to say "I'll take your life from you"?
2002-07-05, 5:03 AM #2
HAH! I beat you to it, DP! [http://forums.massassi.net/html/biggrin.gif]

Code:
#07/2002 GBK
Symbols
Message Startup
Message Activated
Message Entered
Message Timer
Surface Switch
Surface Floor
Material On
Material Off
Flex Time
Sound Beep
Sound Kill
End
Code
Startup: Setwallcel(Switch, 0); Stop;
Activated: If(Getwallcel(Switch) == 1) Stop;
Setwallcel(Switch, 1); Settimer(Time);
Setsurfacemat(Floor, On); 
Playsoundpos(Beep, Surfacecenter(Switch), 1, 0, 10, 0);
Stop;
Timer: Setwallcel(Switch, 0);
Setsurfacemat(Floor, Off); Stop;
Entered: If(Getsenderref() != Floor) Stop;
Damagething(Getsourceref(), 1000, 0x2, Getsourceref());
Playsoundthing(Kill, Getsourceref(), 1, 0, 10, 0); Stop;
End


Credit me.

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.

[This message has been edited by GBK (edited July 05, 2002).]
And when the moment is right, I'm gonna fly a kite.
2002-07-05, 8:42 AM #3
*gumbles* That's what happens when you have a Fourth of July, late night, fireworks party. *gumbles* So now were in a competion?

------------------
The Sniper Missions. Current project, The Sniper Missions

[This message has been edited by Descent_pilot (edited July 05, 2002).]
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-07-05, 8:59 AM #4
Not really. I just havent done any cog requests lately...

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-07-05, 9:17 AM #5
Is this some kind of a test? If not, you're just making fun of me.

------------------
The Sniper Missions. Current project, The Sniper Missions
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-07-05, 9:42 AM #6
So you've got new competition, eh, KGB?

GO GET 'EM, Descent_pilot!
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2002-07-05, 10:30 AM #7
Grr. Dont call me that! [http://forums.massassi.net/html/mad.gif]

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-07-05, 11:03 AM #8
The cog you gave me is a bit screwy. The floor kills you before you push the switch, the mat doesn't change when you push the switch, and the option between it being a reg. floor and a killing floor doesn't even change when the switch is pushed.
Who made you God to say "I'll take your life from you"?
2002-07-05, 11:14 AM #9
How about using a touched message and KillThing(GetSourceRef()); , and add this as the first line of the activated message
Code:
If(GetSenderRef() != switch) Return;
The KGB was/is the Russian version of the Secret Service. Just some info. [http://forums.massassi.net/html/wink.gif]

[This message has been edited by Descent_pilot (edited July 05, 2002).]
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack

↑ Up to the top!