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 → TC Cogger
TC Cogger
2001-12-28, 6:42 AM #1
GBK, I am making a "SpaceBalls" TC. I can make levels, but I need a cogger (cause cogging is like german to me). Also, how would you make it so that if someone ran into a wall, that they would get stuck there?
Who made you God to say "I'll take your life from you"?
2001-12-28, 11:16 AM #2
OMG lol.
2001-12-28, 11:34 AM #3
Ill not join any TC, sorry to disappoint you. I work freelance. Always have, always will.

As for the sticking-to-wall, thats easy, Use something like:
Code:
Touched:
Setactorflags(Player, 0xa00000);


Thatll stop the player's ability to move. He can still be pushed around, though.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-28, 11:35 AM #4
Achtung, die Vermacht bist eine kleine Stroumph verlassen und zie Kartoffel bist kraut.
2001-12-28, 12:59 PM #5
Thanks GBK, and to whatever the last guy said, If I could read it, I'm sure it'd be helpful.
Who made you God to say "I'll take your life from you"?
2001-12-28, 1:43 PM #6
GBK, that sticky wall cog isn't working.
Who made you God to say "I'll take your life from you"?
2001-12-28, 1:47 PM #7
Umm, it isnt a cog. Its just a snippet of code. This is a cog:


Code:
#12/2001 GBK
Symbols
Message Entered
Message Touched
Surface Wall
End
Code
Entered:
Touched:
Setactorflags(JKgetlocalplayer, 0);
Stop;
End



That really doesnt have a practical application, but it should work.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-28, 5:39 PM #8
Sorry GBK, still doesn't work. I don't want all of the walls to be sticky, just the ones that I input to the cog to be sticky.
Who made you God to say "I'll take your life from you"?
2001-12-28, 6:15 PM #9
Silly me.

Code:
#12/2001 GBK
Symbols
Message Entered
Message Touched
Surface Wall
End
Code
Entered:
Touched:
Setactorflags(JKgetlocalplayer(), 0xa00000);
Stop;
End



It works, I tested it. Although I still dont see a practical application for this...

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-28, 6:52 PM #10
Holy Crap GBK! You have it set up so when they hit the surface, they become brain-dead. They can't even kill themselves. I want it so when you touch the surface, you freeze at the exact spot. You can still turn and fire your weapon and kill yourself.
Who made you God to say "I'll take your life from you"?
2001-12-28, 7:05 PM #11
Just change the GBK's cog where it says "0xa00000" to "0x40000". That should fix it.
Team Battle.

↑ Up to the top!