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 → how to make kyle fly?
how to make kyle fly?
2004-04-22, 2:37 AM #1
yeah.how to make kyle fly?


------------------
When 900 years you reach look good you will not-Yoda
Shutup you old creep-Justin(my real name)
My Main Objective------ Is to make Jk Real......No i mean Really Real.
2004-04-22, 6:36 AM #2
Superman fly?

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
And when the moment is right, I'm gonna fly a kite.
2004-04-22, 5:04 PM #3
Clear the physics flag 0x1.

------------------
Bond, Power, CA, The Force, Saber, IC, Epic, Oily Mexican Food, BG, /\ |> /\ /\/\, Sentences.
Now you know where I've been.
May the mass times acceleration be with you.
2004-04-23, 5:17 AM #4
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Darth Slaw:
Clear the physics flag 0x1.

</font>


Equivilent to No Sector Gravity... I believe he wants to enable the cheat eriamjh in COG. Therefore, you'll need 2 ingreediances.
ClearPhysicsFlags(player,0x1);
SetPhysicsFlags(player,0x2000);
Now, to turn it off, just turn around the Clear and Set:
ClearPhysicsFlags(player,0x2000);
SetPhysicsFlags(player,0x1);

PhysicsFlags(0x2000)==Object can fly.
PhysicsFlags(0x1)==Object is affected by gravity.

/Edward
Edward's Cognative Hazards
2004-04-23, 6:14 AM #5
Code:
# Script for hotkey-control of flymode.
#
# GBK tools
#
# 10/2002 GBK
Symbols
	Message Startup
	Message Activated
	Message Damaged
	Thing Player			Local
	Int I=0				Local
End
Code
	Startup:
		Sleep(0.5);
		Player = JKgetlocalplayer();
		Setinv(Player, 28, 1);
	Stop;
	Activated:
		If(!I)
		{
			I=1;
			Detachthing(Player);
			Clearphysicsflags(Player, 0x41);
			Setphysicsflags(Player, 0x2000);
			Print("Flymode enabled.");
		}
		Else
		{
			I=0;
			Setphysicsflags(Player, 0x41);
			Clearphysicsflags(Player, 0x2000);
			Print("Flymode disabled.");
		}
	Stop;
	Damaged:
		If(I==1) Returnex(0);
		Else Returnex(Getparam(0));
	Stop;
End



..Yes, thats part of the GBK Tools. Someone should be able to use the code... [http://forums.massassi.net/html/wink.gif]

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!