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 → HELP!!! this is inportaint any surjestions welcome
HELP!!! this is inportaint any surjestions welcome
2003-03-04, 2:14 PM #1
i thorght that my problem was refesh, it partly was. But now its gone kaput, you know the camra cog from the nar-shaddar CTF level? the one from the tutorial? well it wont work, i assiaghn a Console 3DO, set up the gost, place the cog, put the values in, gob up the level, and play it. The camras dont work, whats wong?
i am having the same kinda problems with other LEC cogs, like 00_NEONSIGHN.COG i got the right MAT, i put the cog in, shove in the settings, gob it up. No flahie sighn, i am using the APP1/2 mats whats wong there? i ned some help here, i am gona post this in the editing forum to, coz i aint shue if its cog or my level editing.

Other cogs are doing it to like the simple elivator cog, whats wong?

------------------
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-04, 4:21 PM #2
Whenever using cogs other then ones from Res2.gob, add them into your project directory.

1 more thing, use one of my cogs.
Code:
# Jedi Knight Cog Script
#
# CAMERA.COG
#
# A camera cog the functions kinda like the ones in MotS
# Version two, indestructable cameras 
#
# [DP]
#

symbols
thing       console
thing       cam
thing       cam1
thing       cam2
thing       cam3
thing       cam4
thing       cam5
thing       cam6
thing       cam7
thing       cam8
thing       cam9
int         numcams
# bin is if you want to disable weapons firing
int         bin=-1
int         cur=0                       local
int         player                      local
int         origanalCam                 local
int         on=0                        local
int         canMove                     local
vector      Lvec                        local
vector      pos                         local

message     Activated
message     Pulse
message     Timer

end

# ========================================================================================

code

Activated:
   player = GetLocalPlayerThing();
   If(!on)
   {
      If(bin != -1) SetInv(player, bin, 1);
      Lvec = GetThingLvec(player);
      pos = GetThingPos(player);
      SetActorFlags(player, 0x800000);
      origanalCam = GetCurrentCamera();
      If(GetCurrentCamera()) CycleCamera();
      SetCameraFocus(0, cam[cur]);
      SetPulse(.05);
      on = 1;
   }
   Else
   {
      If(bin != -1) SetInv(player, bin, 0);
      SetCameraFocus(0, player);
      SetThingPos(player, pos);
      SetThingLook(player, Lvec);
      ClearActorFlags(player, 0x800000);
      If(GetCurrentCamera() != origanalCam) CycleCamera();
      SetPulse(0);
      on = 0;
   }
   canMove = 1;
   Return;

# ........................................................................................

Pulse:
   If(GetCurrentCamera()) CycleCamera();
   SetThingLook(player, Lvec);
   SetThingPos(player, pos);
   If(canMove)
   {
      If(VectorY(GetThingRotVel(player)) > 0 || VectorX(GetThingThrust(player)) > 0)
      {
         cur = cur + 1;
         If(cur > numcams) cur = 0;
         SetTimer(.5);
         canMove = 0;
      }
      Else If(VectorY(GetThingRotVel(player)) < 0 || VectorX(GetThingThrust(player)) < 0)
      {
         cur = cur - 1;
         If(cur < 0) cur = numcams;
         SetTimer(.5);
         canMove = 0;
      }
   }
   SetCameraFocus(0, cam[cur]);
   Return;

# ........................................................................................

Timer:
   canMove = 1;
   Return;

end

Code:
# Jedi Knight Cog Script
#
# CAMERA.COG
#
# A camera cog the functions kinda like the ones in MotS
# First version - indestructable movable cameras 
#
# [DP]
#

symbols
thing       console
thing       cam
# bin is if you want to disable weapons firing
int         bin=-1
int         player                      local
int         dummy                       local
int         origanalCam                 local
int         on=0                        local
vector      Lvec                        local
template    ghost=ghost                 local

message     Activated
message     Pulse

end

# ========================================================================================

code

Activated:
   player = GetLocalPlayerThing();
   If(!on)
   {
      If(bin != -1) SetInv(player, bin, 1);
      Lvec = GetThingLvec(player);
      SetActorFlags(player, 0x840000);
      origanalCam = GetCurrentCamera();
      If(GetCurrentCamera()) CycleCamera();
      SetCameraFocus(0, cam);
      SetPulse(.05);
      on = 1;
   }
   Else
   {
      If(bin != -1) SetInv(player, bin, 0);
      SetCameraFocus(0, player);
      SetThingLook(player, Lvec);
      ClearActorFlags(player, 0x840000);
      If(GetCurrentCamera() != origanalCam) CycleCamera();
      SetPulse(0);
      on = 0;
   }
   Return;

# ........................................................................................

Pulse:
   If(GetCurrentCamera()) CycleCamera();
   If(IsThingCrouching(player)) call Activated;
   dummy = FireProjectile(player, ghost, -1, -1, '0 0 0', '0 0 0', 0,0,0,0);
   SetThingLook(cam, GetThingLvec(dummy));
   DestroyThing(dummy);
   Return;

end
Pick and chose, no credit is nessecary.

edit - Removed debugging text.

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

The Magician Saber System.

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

Completed
Judgement Day (HLP), My level pack
2003-03-04, 9:27 PM #3
Hm... NeonSign... APP1/2... That won't work! NeonSign will only work on the Neon Sign MATs. The NeonSign COG plays all apart from the first 2 frames. When you damage this surface it will freeze on the first frame (broken). Use 00_surfanim.cog!

/Edward
Edward's Cognative Hazards
2003-03-05, 3:43 AM #4
Um...edward he App mats are the JK neon sighn mats, and ill try the suface animi.cog but i woul have thourght that Neonsighn.cog would be better, oh and thanxs for the camracogs descent_pilot

------------------
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-05, 4:12 AM #5
Oh, Sorry... You see, I was writing from school at the moment and I forgot what the mats were. Now I know... And sorry, can't help...

/Edward
Edward's Cognative Hazards
2003-03-06, 10:25 AM #6
Ach, its not working, nither of your camra cogs, none of your camera cogs work, nither dose the neonsign cog's. I need help, The odd thing is that when i ran the game in debug mode the neonsighn worked, but the camra dident.
wazzupp?

------------------
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-06, 2:37 PM #7
Both of them work. I even rechecked for the 100th time (thats an approx number, but true) both of the cogs work. You must be doing something wrong. And all cogs work in both reg and debug modes execpt ones with a special verb and flag combo. BTW - recopy them, they had some debugging text in them, looks bad.

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

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2003-03-07, 10:20 AM #8
nope i tryed that, ither of the darn cogs are working i am useing them right, and the neonsighn oly works in debug, Ill upload a copy of the level and post a link soon.

------------------
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-07, 10:26 AM #9
http://members.aol.com/pokejoyboy//Level.gob My level(in a gob) un gob it and open the LVL1.jkl file, lvl1cut.jkl is the cut seen help there would be good to. But please get my levels cogs working.

------------------
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-08, 3:32 AM #10
okay, I'll see what I can do.

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

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack

↑ Up to the top!