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 → Change Frame Cog
Change Frame Cog
2000-11-15, 2:34 PM #1
Yet another simple cog that I can't find in JK. I need a cog that will change the frame of a mat from the first to second and then stay there. It should also play a sound as it does this. That's it.

Boy, I need to learn to cog....one of these days....

------------------
You should know my title by now, but if you didn't, it's

_,-'The Bazooka Floydist'-,_

"Troops, don't fire till you see their eye textures switch from affine to perspective!"
"You've got to be trusted by the people that you lie to, so when they turn tehir backs on you, you have a chance to put the knife in" Pink Floyd, from "Dogs"
Clarinetists, unite!

-writer of Bloodwing
(a work in progress)
2000-11-16, 10:43 AM #2
when should it change? startup? when it's damaged by a weapon? when it's activated by the player?

-Jipe
2000-11-17, 5:48 AM #3
whoops, can't believe I forgot to put thatr in the message....it should change when activated.


BTW, Jibe, the frame cog for the lightthing isn't working...the light is staying in one frame. Yes, I have checked the frames to make sure they're correct.

------------------
You should know my title by now, but if you didn't, it's

_,-'The Bazooka Floydist'-,_

"Troops, don't fire till you see their eye textures switch from affine to perspective!"
"You've got to be trusted by the people that you lie to, so when they turn tehir backs on you, you have a chance to put the knife in" Pink Floyd, from "Dogs"
Clarinetists, unite!

-writer of Bloodwing
(a work in progress)
2000-11-19, 6:04 AM #4
I just tested my frame cog and it worked.. not sure what you're doing wrong. Here's this cog:

Code:
symbols

surface   switch1

message   activated

int   donothing
end

code

activated:

if(donothing == 1) Return;

else
{
SetWallCel(switch, 1);
donothing = 1;
}

return;

end


-Jipe

↑ Up to the top!