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 → New lightning Cog
New lightning Cog
2001-12-09, 7:08 AM #1
Could someone make me(or tell me where to get)a cog that fires lightning between to things on Jed?

Thanks
2001-12-09, 7:12 AM #2
Check through the cogs, there was one that did that for one of the SP levels. If you're too lazy then just use the one from Laboratory VI, I made it and I give you permission to use it.
2001-12-09, 8:14 AM #3
Here:
Code:
# Jedi Knight Cog Script
#
# lightning.cog
# Modified 11:54 PM March 14, 2001 by Aglar for use in Lab VI for Spiral
flags=0x240
symbols
	message	startup		
	message	pulse
	message timer		
	
	thing		ghost0	linkid=-1
	thing		ghost1	linkid=-1
   	thing		ghost2	linkid=-1
	thing		ghost3	linkid=-1
	thing		ghost4	linkid=-1
	thing		ghost5	linkid=-1
	
	flex		pulserate=0.25
	
	int	dummy	local
	int	number local
	
	template	flash=+force_lightning	local
	
	sound	wav0=ForceFieldHit01.wav

end


code
startup:
	SetPulse(pulserate);
   return;
	
pulse:
	SetTimer(rand());
	return;

timer:
	number = rand()*6;
	dummy = CreateThing(flash, ghost0[number]);
	PlaySoundThing(wav0, ghost0[number], 0.5, -1, -1, 0);
	return;

end

↑ Up to the top!