예제 #1
0
        public Entity HeliSetup(Entity owner, float yaw)
        {
            Entity heli = Function.Call <Entity>("spawnHelicopter", owner, GetPathStart(owner.Origin, yaw), new Vector3(0, yaw, 0), "pavelow_mp", "vehicle_pavelow");

            VEHICLES.Add(heli);
            return(heli);
        }
예제 #2
0
        public Entity HARRIER_SETUP(Entity self, Vector3 startPos, Vector3 forward)
        {
            Entity harrier = Function.Call <Entity>("SpawnHelicopter", self, startPos, forward, "harrier_mp", "vehicle_av8b_harrier_jet_opfor_mp");

            harrier.Call("SetHoverParams", 50, 100, 50);
            harrier.Call("SetTurningAbility", .05f);
            harrier.Call("SetYawSpeed", 250, 250, 250, .5f);
            harrier.Call("SetSpeed", 250, 175);
            harrier.Call("SetMaxPitchRoll", 0, 0);
            VEHICLES.Add(harrier);
            return(harrier);
        }
예제 #3
0
        public Entity COBRA_SETUP(Entity self, Vector3 startPos, Vector3 forward)
        {
            Entity cobra = Function.Call <Entity>("SpawnHelicopter", self, startPos, forward, "cobra_mp", "vehicle_mi24p_hind_mp");

            cobra.Call("SetMaxPitchRoll", 45, 85);
            cobra.Call("SetYawSpeed", 120, 80);
            cobra.Call("SetSpeed", 130, 125);

            VEHICLES.Add(cobra);

            return(cobra);
        }