Navigation

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

0 0

Would be so cool to replace choppers with that


Posted on 03.03.2014 / 14:16

0 0

yes


Posted on 03.03.2014 / 14:42

0 0

Nice work mate, cool thing


Posted on 04.03.2014 / 9:04

0 0

https://www.youtube.com/watch?v=ot2OJnQQ3N4


Posted on 13.03.2014 / 16:06

0 0


Posted on 13.03.2014 / 22:01

0 0

SUSEL I LOVE YOU PLEASE HELP ME ADD THIS


Posted on 16.03.2014 / 9:58

0 0

xfire suselrus


Posted on 07.04.2014 / 19:29

0 0


Posted on 07.04.2014 / 19:34

0 0

http://openwarfaremod.com/owforum/viewtopic.php?f=82&t=11910


Posted on 07.04.2014 / 19:36

0 0

Nice


Posted on 07.04.2014 / 20:44

0 0


Posted on 08.04.2014 / 19:44

Post comment

ONLY USERS CAN POST COMMENTS.

Related files