PDA

View Full Version : My taxi just aint flying right!!



[SF]pjb
06-28-2004, 04:21 AM
this ownage set of air taxi cogs aint working, the taxi's just fly off into nowhere and crash into walls..

the full set of cogs can be found HERE (http://www.geocities.com/sf_pjb1/gaycog.html)

... save me...

stupid url hyperling thing >_<;;

------------------
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?

[This message has been edited by [SF]pjb (edited June 28, 2004).]

[This message has been edited by [SF]pjb (edited June 28, 2004).]

[This message has been edited by [SF]pjb (edited June 28, 2004).]

[This message has been edited by [SF]pjb (edited June 28, 2004).]

G-Man
06-28-2004, 06:53 AM
Did you make the "start and end frame"
.

------------------
Sprite Mod (JO 2003) (http://www.pcgamemods.com/1992)

[This message has been edited by G-Man (edited June 28, 2004).]

[SF]pjb
06-30-2004, 09:14 AM
i set everything up perfectly...

------------------
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?

G-Man
07-01-2004, 07:52 AM
I will try to help you....
why don't ask Millennium Cog(http://millennium.massassi.net/)



------------------
Sprite Mod (JO 2003) (http://www.pcgamemods.com/1992)

G-Man
07-01-2004, 08:00 AM
When you have Mots, look ito video folder on your Cd and open the zip and you find the Mots cutscenes with all used cog in.
What I wanna say is: In one Cutscene crashs a ship into a wall....

------------------
Sprite Mod (JO 2003) (http://www.pcgamemods.com/1992)

[SF]pjb
07-01-2004, 01:16 PM
how dose that help my taxi cog?

and this is the forum for millenium
.... and my taxi's still wont work, i downgraded to a simpler cog.. but it heads to the wong goddamed frames!



# JK cog script
#
# PJ_taxi.cog
#
# a simple taxi that flys in a loop unless it is called or sent
# to a taxi landing area.
#
# [PJB]
#flags=0x1 #debug mode

symbols
message activated
message arrived
message entered
message timer
message startup

thing taxi linkid=1
thing port linkid=2
thing port2 linkid=3

int start_loop
int end_loop

int port_enter
int port_frame
int port_return

int port2_enter
int port2_frame
int port2_return

flex speed=5
flex callspeed=25
int debug=0
int goingport=0 local
int inport=0 local
end

code
//XXXXXXXXXXXXXXXXXXXXX
//XXXXXX(\___/)XXXXXXXX
//XXXXX(\|O_O|/)XXXXXXX
//XXXXXX\ /XXXXXXXX
//XXXXXX| o |XXXXXXXX
//XXXXXX/ /U\ \XXXXXXXX
//XXXXX( /XXX\ )XXXXXXX
//XXXXXXXXXXXXXXXXXXXXX
// By pudjiimoto (PJB)

startup:
if(start_loop != 0) start_loop=start_loop-1;
end_loop=end_loop-1;
port_enter=port_enter-1;
port_frame=port_frame-1;
port_return=port_return-1;
port2_enter=port2_enter-1;
port2_frame=port2_frame-1;
port2_return=port2_return-1;

movetoframe(taxi,start_loop,speed); //start loop
return;

activated:
if(getsenderid()==1) if(inport) settimer(1);
entered:
if(inport || goingport) return;

if(getsenderid()==1)
{
if(debug)print("taxi");
if(vectordist(getthingpos(taxi), getthingpos(port)) <= vectordist(getthingpos(taxi),getthingpos(port2)))
{
if(getcurframe(taxi) < port_enter)
{
movetoframe(taxi,port_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi) > port_enter)
{
movetoframe(taxi,start_loop,callspeed);
waitforstop(taxi);
movetoframe(taxi,port_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi)==port_enter) skiptoframe(taxi,port_frame,speed);

}
else
{
if(getcurframe(taxi) < port2_enter)
{
movetoframe(taxi,port2_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi) > port2_enter)
{
movetoframe(taxi,start_loop,callspeed);
waitforstop(taxi);
movetoframe(taxi,port2_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi)==port2_enter) skiptoframe(taxi,port2_frame,speed);
}
}

if(getsenderid()==2)
{
if(debug)print("port1");
if(getcurframe(taxi) < port_enter)
{
movetoframe(taxi,port_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi) > port_enter)
{
movetoframe(taxi,start_loop,callspeed);
waitforstop(taxi);
movetoframe(taxi,port_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi)==port_enter) skiptoframe(taxi,port_frame,speed);
}

if(getsenderid()==3)
{
if(debug)print("port2");
if(getcurframe(taxi) < port2_enter)
{
movetoframe(taxi,port2_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi) > port2_enter)
{
movetoframe(taxi,start_loop,callspeed);
waitforstop(taxi);
movetoframe(taxi,port2_enter,callspeed);
goingport=1;
}
if(getcurframe(taxi)==port2_enter) skiptoframe(taxi,port2_frame,speed);
}
return;

timer:
if(getcurframe(taxi)==port_frame) skiptoframe(taxi,port_return,speed);
if(getcurframe(taxi)==port2_frame) skiptoframe(taxi,port2_return,speed);
goingport=0;
inport=0;
return;

arrived:
if(getcurframe(taxi)==port_frame || getcurframe(taxi)==port2_frame)
{
goingport=0;
inport=1;
settimer(10);
return;
}
else
{
if(getcurframe(taxi)==port_enter) skiptoframe(taxi,port_frame,speed);
if(getcurframe(taxi)==port2_enter) skiptoframe(taxi,port2_frame,speed);
return;
}
if(getcurframe(taxi)==port_return || getcurframe(taxi)==port2_return)
{
movetoframe(taxi,end_loop,speed);
inport=0;
return;
}
if(getcurframe(taxi)==end_loop) skiptoframe(taxi,start_loop,speed); //if we are at the end of the loop, go to the start
if(getcurframe(taxi)==start_loop) movetoframe(taxi,end_loop,speed); //if we are at the start of the loop, go to the end
return;
end


------------------
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?

G-Man
07-03-2004, 08:23 AM
there is a cog that flys to a wall and explodes. Maybe you can use that.

------------------
Sprite Mod (JO 2003) (http://www.pcgamemods.com/1992)

[SF]pjb
07-04-2004, 08:51 AM
yah... right... um....

-commits suiside-

------------------
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?

COTF_Dude
07-05-2004, 04:43 PM
I think he means, it crashes into a wall and he dont want it too, I don't know cog or i'd help ya, but maybe now someone will understand what you want lol. http://forums.massassi.net/html/wink.gif


------------------
Total Toothpickings; 7

ORJ_JoS
07-07-2004, 06:15 PM
*wishes he could help*

I have not even the slightest idea how to do stuff like that. I'm a cog noob, lol.

------------------
ORJ_JoS
=Council Member=
+Order of Reborn Jedi+

http://www.rebornjedi.cjb.net

Long live JK! =Best Game Ever=