IW4-Dump-Files/maps/_80s_wagon1.gsc

177 lines
5.4 KiB
Plaintext

#include maps\_vehicle_aianim;
#include maps\_vehicle;
#using_animtree( "vehicles" );
main( model, type )
{
//SNDFILE=vehicle_80s_car
build_template( "80s_wagon1", model, type );
build_localinit( ::init_local );
build_destructible( "vehicle_80s_wagon1_brn_destructible_mp", "vehicle_80s_wagon1_brn" );
build_destructible( "vehicle_80s_wagon1_green_destructible_mp", "vehicle_80s_wagon1_green" );
build_destructible( "vehicle_80s_wagon1_red_destructible_mp", "vehicle_80s_wagon1_red" );
build_destructible( "vehicle_80s_wagon1_silv_destructible_mp", "vehicle_80s_wagon1_silv" );
build_destructible( "vehicle_80s_wagon1_tan_destructible_mp", "vehicle_80s_wagon1_tan" );
build_destructible( "vehicle_80s_wagon1_yel_destructible_mp", "vehicle_80s_wagon1_yel" );
build_compassicon( "automobile", false );
build_drive( %technical_driving_idle_forward, %technical_driving_idle_backward, 10 );
build_deathfx( "explosions/large_vehicle_explosion", undefined, "explo_metal_rand" );
// build_drive( %technical_driving_idle_forward, %technical_driving_idle_backward, 10 );
// build_treadfx();
build_life( 999, 500, 1500 );
build_team( "allies" );
build_aianims( ::setanims, ::set_vehicle_anims );
}
init_local()
{
}
set_vehicle_anims( positions )
{
return positions;
}
#using_animtree( "generic_human" );
setanims()
{
positions = [];
return positions;// no anims yet
/*
for(i=0;i<4;i++)
positions[i] = spawnstruct();
positions[0].sittag = "body_animate_jnt";
positions[1].sittag = "body_animate_jnt";
positions[2].sittag = "tag_passenger";
positions[3].sittag = "body_animate_jnt";
positions[0].idle = %humvee_driver_climb_idle;
positions[1].idle = %humvee_passenger_idle_L;
positions[2].idle = %humvee_passenger_idle_R;
positions[3].idle = %humvee_passenger_idle_R;
positions[0].getout = %humvee_driver_climb_out;
positions[1].getout = %humvee_passenger_out_L;
positions[2].getout = %humvee_passenger_out_R;
positions[3].getout = %humvee_passenger_out_R;
positions[0].getin = %humvee_driver_climb_in;
positions[1].getin = %humvee_passenger_in_L;
positions[2].getin = %humvee_passenger_in_R;
positions[3].getin = %humvee_passenger_in_R;
*/
return positions;
}
/*QUAKED script_vehicle_80s_wagon1_brn_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_brn_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_brn_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_brn_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_brn_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_80s_wagon1_green_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_green_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_green_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_green_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_green_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_80s_wagon1_red_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_red_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_red_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_red_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_red_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_80s_wagon1_silv_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_silv_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_silv_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_silv_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_silv_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_80s_wagon1_tan_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_tan_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_tan_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_tan_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_tan_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/
/*QUAKED script_vehicle_80s_wagon1_yel_destructible_mp (1 0 0) (-16 -16 -24) (16 16 32) USABLE SPAWNER
put this in your GSC:
maps\_80s_wagon1::main( "vehicle_80s_wagon1_yel_destructible_mp" );
and these lines in your CSV:
include,vehicle_80s_wagon1_yel_destructible_mp_80s_wagon1
include,destructible_vehicle_80s_wagon1_yel_destructible_mp
sound,vehicle_car_exp,vehicle_standard,all_sp
sound,vehicle_80s_car,vehicle_standard,all_sp
defaultmdl="vehicle_80s_wagon1_yel_destructible_mp"
default:"vehicletype" "80s_wagon1"
default:"script_team" "allies"
*/