Posted by CogKing on March 13, 1998 at 01:25:54:
In Reply to: This cog is not working posted by EV on March 12, 1998 at 22:00:03:
> The problems with this cog:
> 1: It doesn't change the players model.
> 2: If you die, you don't fly anymore when you come back.
> 3: The speed does not change much.
> This cog was used in a multiplayer level.
> Thanks.
> # Flying cog
> #
> #--------------------------------------
> symbols
> thing player
> model tModel=tieb.3do
> message startup
> end
> #-----------------------------
> code
> startup:
> player=GetLocalPlayerThing();
> SetThingModel(player,tModel);
> ClearPhysicsFlags(player, 0x1);
> SetPhysicsFlags(player, 0x2002);
> SetActorExtraSpeed(player,10);
> return;
> end
1. Weird... it should work. Are you sure of the template ? Is it in the JKL ?
2. Just handle the newplayer: message (see kyle.cog)
3. SetActorExtraSpeed(player, 10); is enormous... way more than Force Speed
-CogKing