Dragonfire RAW FILES
File description
installation of blades
// helicopter fx
level.chopper_fx["explode"]["death"] = loadfx ("explosions/helicopter_explosion_cobra");
level.chopper_fx["explode"]["large"] = loadfx ("explosions/aerial_explosion_large");
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");
level.chopper_fx["smoke"]["trail"] = loadfx ("smoke/smoke_trail_white_heli");
level.chopper_fx["fire"]["trail"]["medium"] = loadfx ("smoke/smoke_trail_black_heli");
level.chopper_fx["fire"]["trail"]["large"] = loadfx ("fire/fire_smoke_trail_L");
level.fx_chopper_rotor = loadfx ("vehicles/test2");
level.fx_chopper_light_tail = loadfx ("misc/aircraft_light_wingtip_green");
playPlaneFx()
{
self endon ( "death" );
wait ( 1.00 );
playfxontag( level.fx_chopper_rotor, self, "tag_rotor_l_0" );
playfxontag( level.fx_chopper_rotor, self, "tag_rotor_r_0" );
playfxontag( level.fx_chopper_rotor, self, "tag_rotor_l_1" );
playfxontag( level.fx_chopper_rotor, self, "tag_rotor_r_1" );
playfxontag( level.fx_chopper_tail, self, "tag_light_tail" );
}
// spawn helicopter at a start node and monitors it
heli_think( owner, startnode, heli_team, requiredDeathCount )
{
heliOrigin = startnode.origin;
heliAngles = startnode.angles;
if ( heli_team == "allies" )
{
chopper = spawn_helicopter( owner, heliOrigin, heliAngles, "cobra_mp", "vehicle_drone" );
chopper playLoopSound( "mp_cobra_helicopter" );
chopper thread playPlaneFx();
}
else
{
//chopper = spawn_helicopter( owner, heliOrigin, heliAngles, "cobra_mp", "vehicle_cobra_helicopter_fly" );
chopper = spawn_helicopter( owner, heliOrigin, heliAngles, "cobra_mp", "vehicle_drone" );
chopper playLoopSound( "mp_hind_helicopter" );
chopper thread playPlaneFx();
}
chopper.requiredDeathCount = owner.deathCount;
Comments
Post comment
ONLY USERS CAN POST COMMENTS.