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 → Why crule world why!
Why crule world why!
2003-03-15, 5:07 AM #1
ok here is v.3 of my darn cut cog, nothing wong with it, oh and dont say"use parsec" i cant my widows wont let me put 1% on the end!
(i am getting real real *@#£&*@#¬! off whith this cog! here it is!
Code:
#Cutscen Level COG V.03
#Generated by PJB (pokejoyboy@aol.com, pjb@pjb.i8.com) 
#credit to Antony Espindola for making the tutor that 
#helped me make this cog.

Symbols   
	Message   startup	
	Thing	Cameraone	
	Thing      player	local
	Thing      Kyle		local
	Thing	bombghost	   	    
	Template   gunless	 
	Float	speed		
	Sound	shot		
	Keyframe    crouch   
end

code
startup:
		// setup first
	Player = GetLocalPlayerThing();
		// switch the player for an Actor
	SetActorFlags(player, 0xa00000);
	StopThing(player);
	Kyle = CreateThing(gunless, player);
	StopThing(Kyle);
	SetThingCurGeoMode(player, 0);
		// switch to camera view one
	SetCameraFocus(0, Cameraone);
	Print("uhhh.....");
	PlayKey(Kyle, crouch, 1, 0x4);
	sleep(GetKeyLen(crouch));
	MoveToFrame(Cameraone, 1, speed);
	AISetMoveSpeed(Kyle, 1.0);
	Print("Where am I? and for that matter Who am i?");
	AISetLookPos(Kyle, GetThingPos(BombGhost));
	sleep(2);
	Print("I must have lost my memory, but why? and how did i do it here?");
	MoveToFrame(Cameraone, 2, speed);
	AISetMoveThing(Kyle, BombGhost);
	MoveToFrame(Cameraone, 3, speed);
	Sleep(1);
	PlaySoundLocal(shot,0.6, 0.0,0x4); 
	PlayKey(Kyle, crouch, 1, 0x4);
	sleep(GetKeyLen(crouch));
	Print("What was that?")
	JKendlevel(1);
Stop;
end

Ok, why dosent it work? heres what i have done.
Made the cog, placed it in my project directory /cog put it in the cog window, assighend the correct templates and stuff, refreshed, saved the level JKL'ed it and GOB, placed it in episode and started JK new game/my level. Then in sted of the camra flying around and me doing stuff, nothing, could another cog (like the sound track) be messing it up?

------------------
I am pjb.
Another post......
another moment of my life wasted.....
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-03-15, 7:59 AM #2
Put a ; after your last print message.
Try that for now.

------------------
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
2003-03-16, 3:23 AM #3
Why double post why!

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

↑ Up to the top!