Dragonfire RAW FILES

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 11

K
noKeT0h
Would be so cool to replace choppers with that
A
huasus89
yes
V
huvakihun
Nice work mate, cool thing
S
ruSusel
https://www.youtube.com/watch?v=ot2OJnQQ3N4
A
huasus89
:)
K
auKemikool
SUSEL I LOVE YOU PLEASE HELP ME ADD THIS :(
S
ruSusel
xfire suselrus
S
ruSusel
[youtube]hmLtUpj0lbo[/youtube]
S
ruSusel
http://openwarfaremod.com/owforum/viewtopic.php?f=82&t=11910
[youtube]IshqN3Sovjg[/youtube]
A
huasus89
Nice :)
S
ruSusel
[youtube]3ZlefNBQwwg[/youtube]

Comments are archived - posting is closed.

More from Custom Models