cod4-sdk/raw/maps/_bradley.gsc
2008-01-19 00:00:00 +00:00

43 lines
972 B
Text

#include maps\_vehicle_aianim;
#include maps\_vehicle;
#using_animtree( "vehicles" );
main( model, type )
{
build_template( "bradley", model, type );
build_localinit( ::init_local );
build_deathmodel( "vehicle_bradley", "vehicle_m1a1_abrams_dmg" );
build_deathfx( "explosions/large_vehicle_explosion", undefined, "exp_armor_vehicle" );
build_treadfx();
build_life( 999, 500, 1500 );
build_team( "allies" );
build_mainturret();
build_compassicon();
build_frontarmor( .33 ); //regens this much of the damage from attacks to the front
}
init_local()
{
}
set_vehicle_anims( positions )
{
/*
positions[ 0 ].vehicle_getinanim = %tigertank_hatch_open;
positions[ 1 ].vehicle_getoutanim = %tigertank_hatch_open;
*/
return positions;
}
#using_animtree( "generic_human" );
setanims()
{
positions = [];
for( i=0;i<11;i++ )
positions[ i ] = spawnstruct();
positions[ 0 ].getout_delete = true;
return positions;
}