help hunger games plane
#1

can someone tell me , or give me a script for do this: https://www.youtube.com/watch?v=cpTLRnuhA6w

min 1:50

script for the airplane
please.
Reply
#2

Make your own script bruv, or try to ****** it.
Reply
#3

or it could be a flight path recorded using an npc, and the players are speccing the object/npc.
Reply
#4

and you can also use that func (include) writed by m1n1vv:

PHP код:
#if defined SPAWNAIRCRAFT
    #endinput
#endif
#define SPAWNAIRCRAFT
#if !defined S_AIR__DISTANCE
    #define S_AIR__DISTANCE            (4000.0)
#endif
#if !defined S_AIR__FLIGHT
    #define S_AIR__FLIGHT            (450.0)
#endif
#if !defined floatrandom
    #define floatrandom(%0) (float(random(%0))+float(random(1000))/1000)
#endif
stock GetDirectionOfAircraft(&Float:angle, &Float:x, &Float:y, &Float:z, &Float:fpoint_x, &Float:fpoint_yFloat:fault 0.0)
{
        static
                
Float:distance S_AIR__DISTANCE;
        
S_AIR__FLIGHT;
        
angle floatrandom(360);
        
0.0 distance * -floatsin(angledegrees);
        
0.0 distance floatcos(angledegrees);
    
        
distance *= 2.0;
        
angle += fault floatrandom(90) - 45.0;
        
fpoint_x distance * -floatsin(angledegrees);
        
fpoint_y distance floatcos(angledegrees);
        
distance S_AIR__DISTANCE;
    
        return 
1;
}
/*
by m1n1vv
Version: 0.1
*/ 
Код HTML:
&Float:angle - returns plane`s angle of direction.
&Float:x - returns flight starting pos by X.
&Float:y - returns flight starting pos by Y.
&Float:z - returns flight starting pos by Z.
&Float:fpoint_x - returns flight end pos by Z.
&Float:fpoint_y - returns flight end pos by Y.
Float:fault - If by default object rotated not good u can write here this fault.
GitHub: https://github.com/m1n1vv/SpawnAircraft

p.s sorry for bad english :P
Reply
#5

That is the jet object. Just move it like Twixx suggested and attach the camera to it.

The player is not actually on that plane, it is spectate mode combined with AttachCameraTo(Player)Object (that's why it is so smooth and the players will still be able to look around, which wouldn't be the case with InterpolateCameraPos).

See flymode.pwn for an example of how to attach a camera to an object.

When pressing F (or whatever key you want to use) the player just spawns at the Aircraft's location.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)