IW4-Dump-Files/maps/_t72.gsc

122 lines
3.6 KiB
Plaintext

#include maps\_vehicle;
#include maps\_vehicle_aianim;
#using_animtree( "vehicles" );
main( model, type )
{
build_template( "t72", model, type );
build_localinit( ::init_local );
build_deathmodel( "vehicle_t72_tank", "vehicle_t72_tank_d_body", 3.7 );
build_deathmodel( "vehicle_t72_tank_low", "vehicle_t72_tank_d_body", 3.7 );
build_deathmodel( "vehicle_t72_tank_woodland", "vehicle_t72_tank_d_woodland_body", 3.7 );
build_deathmodel( "vehicle_t72_tank_woodland_low", "vehicle_t72_tank_d_woodland_body", 3.7 );
build_shoot_shock( "tankblast" );
build_drive( %abrams_movement, %abrams_movement_backwards, 10 );
// build_deathfx( <type> , <effect> , <tag> , <sound> , <bEffectLooping> <delay> , <bSoundlooping> , <waitDelay> , <stayontag> , <notifyString> )"
// build_deathfx( "explosions/grenadeexp_default", "tag_engine_left", "explo_metal_rand", undefined, undefined, undefined, 0 );
// build_deathfx( "fire/firelp_large_pm", "tag_engine_left", undefined, undefined, undefined, undefined, 0 );
// build_deathfx( "explosions/tank_ammo_breach", "tag_deathfx", undefined, undefined, undefined, undefined, 0 );
build_deathfx( "explosions/vehicle_explosion_t72", "tag_deathfx", "exp_armor_vehicle", undefined, undefined, undefined, 0 );
build_deathfx( "fire/firelp_large_pm", "tag_deathfx", "fire_metal_medium", undefined, undefined, true, 0 );
build_turret( "t72_turret2", "tag_turret2", "vehicle_t72_tank_pkt_coaxial_mg" );
build_treadfx();
build_life( 999, 500, 1500 );
build_rumble( "tank_rumble", 0.15, 4.5, 600, 1, 1 );
build_team( "allies" );
build_mainturret();
build_frontarmor( .33 );// regens this much of the damage from attacks to the front
build_compassicon( "tank", false );
}
init_local()
{
}
set_vehicle_anims( positions )
{
return positions;
}
#using_animtree( "generic_human" );
setanims()
{
positions = [];
for ( i = 0;i < 11;i++ )
positions[ i ] = spawnstruct();
positions[ 0 ].getout_delete = true;
return positions;
}
/*QUAKED script_vehicle_t72_tank (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_t72::main( "vehicle_t72_tank" );
and these lines in your CSV:
include,vehicle_t72_tank_t72
sound,vehicle_t72,vehicle_standard,all_sp
sound,vehicle_armor_exp,vehicle_standard,all_sp
defaultmdl="vehicle_t72_tank"
default:"vehicletype" "t72"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_t72_tank_low (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_t72::main( "vehicle_t72_tank_low" );
and these lines in your CSV:
include,vehicle_t72_tank_low_t72
sound,vehicle_t72,vehicle_standard,all_sp
sound,vehicle_armor_exp,vehicle_standard,all_sp
defaultmdl="vehicle_t72_tank_low"
default:"vehicletype" "t72"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_t72_tank_woodland (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_t72::main( "vehicle_t72_tank_woodland" );
and these lines in your CSV:
include,vehicle_t72_tank_woodland_t72
sound,vehicle_t72,vehicle_standard,all_sp
sound,vehicle_armor_exp,vehicle_standard,all_sp
defaultmdl="vehicle_t72_tank_woodland"
default:"vehicletype" "t72"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_t72_tank_woodland_low (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_t72::main( "vehicle_t72_tank_woodland_low" );
and these lines in your CSV:
include,vehicle_t72_tank_woodland_low
sound,vehicle_t72,vehicle_standard,all_sp
sound,vehicle_armor_exp,vehicle_standard,all_sp
defaultmdl="vehicle_t72_tank_woodland_low"
default:"vehicletype" "t72"
default:"script_team" "allies"
*/