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

605 lines
No EOL
25 KiB
Text
Raw Permalink Blame History

#include maps\_utility;
#include maps\_anim;
#include common_scripts\utility;
#include maps\icbm_code;
#include maps\icbm_dialog;
#include maps\_props;
#using_animtree("generic_human");
anim_main()
{
//Where's Griggs? X
level.scr_sound[ "price" ][ "wheresgriggs" ] = "icbm_pri_wheresgriggs";
//No idea sir. X
level.scr_sound[ "gaz" ][ "noidea" ] = "icbm_uk2_noidea";
//Bravo Six, Sgt. Griggs just activated his emergency transponder. He's half a click to your south west, over. X
//icbm_hqr_gettingabortcodes
//We're on our way. Bravo Six out. Let's go. X
level.scr_sound[ "price" ][ "wereonourway" ] = "icbm_pri_wereonourway";
//Sounds like they have Griggs. DONT USE
//level.scr_sound[ "price" ][ "soundslike" ] = "icbm_pri_soundslike";
//Soap, go take a look. X
level.scr_sound[ "price" ][ "takealook" ] = "icbm_pri_takealook";
//Charlie Six, what's your status over? X
level.scr_sound[ "price" ][ "Charlie_status" ] = "icbm_pri_status";
//Charlie Six, the tower's down and the power's out. Twenty seconds. X
level.scr_sound[ "price" ][ "charlie_towersdown" ] = "icbm_pri_towersdown";
//Gaz, take Soap and the rest and scout through this base. X
level.scr_sound[ "price" ][ "scoutthrough" ] = "icbm_pri_scoutthrough";
//Griggs and I will look for an alternate route. X
level.scr_sound[ "price" ][ "alternateroute" ] = "icbm_pri_alternateroute";
add_smoking_notetracks( "generic" );
add_cellphone_notetracks( "generic" );
add_smoking_notetracks( "hostile" );
add_cellphone_notetracks( "hostile" );
anims();
patrol();
tower_explode_anims();
script_models();
//run_anims();
//Price - Haggerty, you see where Griggs landed?
level.scr_sound[ "price" ][ "grigsby_landed" ] = "icbm_pri_wherelanded";
//SAS1 - Yeah, over by the buildings to the east. You think they got him?
level.scr_sound[ "gaz" ][ "bybuildingseast" ] = "icbm_uk2_buildingseast";
//Price - We're about to find out. Haggerty, take point
level.scr_sound[ "price" ][ "abouttofindout" ] = "icbm_pri_tofindout";
//SAS1 - You got it sir
level.scr_sound[ "gaz" ][ "yougotit" ] = "icbm_uk2_yougotit";
//SAS1 - Contact front. Enemy vehicle.
level.scr_sound[ "gaz" ][ "enemyvehicle" ] = "icbm_uk2_contactfront";
//SAS1 - Enemy in sight
level.scr_sound[ "generic" ][ "insight" ] = "icbm_sas3_insight";
//Price - Move
level.scr_sound[ "price" ][ "move" ] = "icbm_pri_move";
//Price - They must have Griggs in one of those houses.
level.scr_sound[ "price" ][ "griggsinhouses" ] = "icbm_pri_griggsinhouses";
//Price - Keep it quiet
level.scr_sound[ "price" ][ "keepitquiet" ] = "icbm_pri_basementdoor";
//Gaz 3 2 Room clear. icbm_uk2_roomclear
//SAS 2 3 3 Room clear. icbm_sas2_roomclear
//Gaz 3 4 Room clear. icbm_uk2_roomclear2
//SAS 2 3 6 Building 2 secured. icbm_sas2_2secured
//Gaz 3 7 Building 3 - clear. icbm_uk2_3clear
//Gaz 3 8 This floor's clear. Move up to the second. icbm_uk2_floorsclear
//Gaz: Floor clear. Proceed upstairs.
level.scr_sound[ "gaz" ][ "proceedupstairs" ] = "icbm_uk2_proceedupstairs";
//Gaz: Building 1 - clear.
level.scr_sound[ "gaz" ][ "1clear" ] = "icbm_uk2_1clear";
//Gaz: Griggs isn't here.
level.scr_sound[ "gaz" ][ "griggsnothere" ] = "icbm_uk2_griggsisnthere";
//Captain Price: Roger that, regroup on me downstairs.
level.scr_sound[ "price" ][ "regroupdownstairs" ] = "icbm_pri_regroupdownstairs";
//Gaz: Copy that.
level.scr_sound[ "gaz" ][ "copythat" ] = "icbm_uk2_copythat";
//Captain Price 3 12 Moving to the next house, keep it quiet. icbm_pri_keepitquiet
//Captain Price: Move to the next house. Keep it quiet.
level.scr_sound[ "price" ][ "nexthouse" ] = "icbm_pri_nexthouse";
//Russian 1 3 14 Where are the others? icbm_ru1_whereothers
//Sgt. Griggs 3 15 Griggs. 678-45-2056. icbm_grg_678452056
//Russian 1 3 16 You know tovarisch, the Geneva Convention is a nice idea in theory, no? Why don't you save yourself the trouble and simply answer my questions? icbm_ru1_tovarisch
//Russian 1 3 17 How many others are there? icbm_ru1_howmany
//Sgt. Griggs 3 18 Griggs. 678- icbm_grg_678
//Russian 1 3 19 Who is your commanding officer? icbm_ru1_whoisofficer
//Sgt. Griggs 3 20 It's gonna get real busy around here soon<6F>heh, if I was you I'd get my ass outta here. icbm_grg_getbusy
//Russian 1 3 21 Yuri - where's the hacksaw? icbm_ru1_whereshacksaw
//Russian 2 3 22 I thought you had it. icbm_ru2_youhadit
//Russian 1 3 23 If I had the fuckin' hacksaw I wouldn't have asked for it in the first place you dumb shit! icbm_ru1_ifihad
//Captain Price 3 24 Looks like this is the place. icbm_pri_thisisplace
//Captain Price 3 25 Get ready to breach. icbm_pri_readytobreach
//Captain Price 3 26 Go go go!! icbm_pri_gogogo
//Sgt. Griggs 3 27 Bout damn time... I was starting to think you guys were gonna leave me behind. icbm_grg_leavemebehind
//Captain Price 3 28 Soap, cut Griggs loose. Move. icbm_pri_cutloose
//Captain Price 3 29 That was my first thought, but your arse had all the C4. You all right? icbm_pri_youallright
//Sgt. Griggs 3 30 Yeah I'm good to go. icbm_grg_goodtogo
//Captain Price 3 31 Ok Team One, we got Griggs and we're comin' outta building two. icbm_pri_gotgriggs
//Gaz: All Clear
level.scr_sound[ "gaz" ][ "allclear" ] = "icbm_uk2_allclear";
//SAS2 - Building 2 secured
level.scr_sound[ "generic" ][ "building2secured" ] = "icbm_sas2_2secured";
//SAS1 - Room clear
level.scr_sound[ "gaz" ][ "roomclear" ] = "icbm_uk2_roomclear";
//SAS2 - Room clear
level.scr_sound[ "gaz" ][ "roomclear2" ] = "icbm_uk2_roomclear2";
//SAS2 - neutralized
level.scr_sound[ "generic" ][ "neutralized" ] = "icbm_sas2_neutralized";
//SAS1 - Roger
level.scr_sound[ "gaz" ][ "roger" ] = "icbm_uk2_roger";
//SAS1 - Floor Clear
level.scr_sound[ "gaz" ][ "floorsclear" ] = "icbm_uk2_floorsclear";
//SAS2 - building1 clear
level.scr_sound[ "gaz" ][ "building1clear" ] = "icbm_uk2_1clear";
//SAS1 - Tango down
level.scr_sound[ "generic" ][ "tangodown" ] = "icbm_sas2_tangodown";
//Price - Regroup on me.
level.scr_sound[ "price" ][ "regrouponme" ] = "icbm_pri_regrouponme";
//Price - Jackson regroup
level.scr_sound[ "price" ][ "jacksonregroup" ] = "icbm_pri_jacksonregroup";
//Price - Lets go
level.scr_sound[ "price" ][ "letsgo" ] = "icbm_pri_letsgo";
//SAS2 - Contact
level.scr_sound[ "generic" ][ "contact" ] = "icbm_sas2_contact";
//griggs - Leave me behind
level.scr_sound[ "griggs" ][ "leavemebehind" ] = "icbm_grg_leavemebehind";
//Price - that was my first thought
level.scr_sound[ "price" ][ "firstthought" ] = "icbm_pri_firstthought";
//Price - You all right?
level.scr_sound[ "price" ][ "youallright" ] = "icbm_pri_youallright";
//griggs - Good to go
level.scr_sound[ "griggs" ][ "goodtogo" ] = "icbm_grg_goodtogo";
//Price - That was the plan
level.scr_sound[ "price" ][ "gotgriggs" ] = "icbm_pri_gotgriggs";
//SAS2 - Choppers
level.scr_sound[ "gaz" ][ "enemyhelicopters" ] = "icbm_uk2_helicopters";
//Price - Slicks in bound
level.scr_sound[ "price" ][ "slicksinbound" ] = "icbm_pri_slicksinbound";
//Price - Status
level.scr_sound[ "price" ][ "status" ] = "icbm_pri_team2status";
//Prices radio - Kill power
level.scr_sound[ "price" ][ "killthepower" ] = "icbm_gm4_inposition";
//Price - Roger. Jackson. Plant the charges. Go
level.scr_sound[ "price" ][ "jackgriggsplant" ] = "icbm_pri_jacksonplant";
//griggs - Charges set. Everyone get clear
level.scr_sound[ "griggs" ][ "chargesset" ] = "icbm_grg_chargesset";
//Price - Jackson DO IT!
level.scr_sound[ "price" ][ "doit" ] = "icbm_pri_doit";
//Price - Team Two, the tower's down and the power's out. Twenty seconds.
level.scr_sound[ "price" ][ "towersdown" ] = "icbm_pri_powersout";
//Price radio - Roger. We're breaching the perimeter. Standby.
level.scr_sound[ "price" ][ "breachingperimeter" ] = "icbm_gm4_breachperimeter";
//Price radio - standby
level.scr_sound[ "price" ][ "standby" ] = "icbm_gm4_standby";
//griggs - Backup power in ten seconds<64>
level.scr_sound[ "griggs" ][ "backuppower" ] = "icbm_grg_backuppower";
//griggs - Five seconds<64>
level.scr_sound[ "griggs" ][ "fiveseconds" ] = "icbm_grg_fiveseconds";
//Price radio - Meet at rallypoint
level.scr_sound[ "price" ][ "rallypoint" ] = "icbm_gm4_rallypoint";
//Price - Roger Team Two, we're on our way. Out
level.scr_sound[ "price" ][ "onourway" ] = "icbm_pri_onourway";
//griggs - Backup power's online. Damn that was close!
level.scr_sound[ "griggs" ][ "poweronline" ] = "icbm_grg_poweronline";
//Price - Get that fence open
level.scr_sound[ "price" ][ "getfenceopen" ] = "icbm_pri_getfenceopen";
//griggs - Gonna get real busy around here soon<6F>
level.scr_sound[ "griggs" ][ "getbusy2" ] = "icbm_grg_getbusy2";
//Marine4 - Team One, this is Team Two. Three trucks packed with shooters are headed your way.
level.scr_sound[ "generic" ][ "truckswithshooters" ] = "icbm_gm5_3trucks";
//Price - Roger that
level.scr_sound[ "price" ][ "rogerthat" ] = "icbm_pri_rogerthat";
//Price - Copy. We're entering the old base now. Standby.
level.scr_sound[ "price" ][ "approachingbase" ] = "icbm_pri_oldbase";
//Marine1 - I have a visual on the trucks. There's a shitload of troops sir.
level.scr_sound[ "generic" ][ "haveavisual" ] = "icbm_uk2_visualontrucks";
//Price - All right squad, you know the drill. Griggs, you're with Jackson. Haggerty, on me. Move.
level.scr_sound[ "price" ][ "youknowdrill" ] = "icbm_pri_youknowdrill";
//NEW BASE LINES///////////////
//Price - They<65>re flanking around through the buildings.
level.scr_sound[ "price" ][ "flankingthrough" ] = "icbm_pri_flankingthrough";
//SAS1 - RPG on rooftops
level.scr_sound[ "gaz" ][ "rpgsonrooftop" ] = "icbm_sas1_rpgsonrooftop";
//SAS2 - RPG on rooftops2
level.scr_sound[ "gaz" ][ "rpgsonrooftop2" ] = "icbm_sas2_rpgsonrooftops";
//Price - Jackson grab an RPG...
level.scr_sound[ "price" ][ "grabrpg" ] = "icbm_pri_grabrpg";
//Price - WHATCH OUT BEHIND US
level.scr_sound[ "price" ][ "behindus" ] = "icbm_pri_behindus";
//SAS1 - Tangos behind us
level.scr_sound[ "gaz" ][ "behindus2" ] = "icbm_sas1_behindus";
//Price - WHATCH OUT BEHIND US
level.scr_sound[ "price" ][ "takeoutbmp" ] = "icbm_pri_takeoutbmp";
//Price - Keep moving...
level.scr_sound[ "price" ][ "keepmoving" ] = "icbm_pri_keepmoving";
//SAS1 - Heads up, choppers inbound
level.scr_sound[ "gaz" ][ "choppersinbound" ] = "icbm_sas1_choppersinbound";
//Price - Troops dropping
level.scr_sound[ "price" ][ "droppingin" ] = "icbm_pri_droppingin";
//NUKE LAUNCH///////////////
//SAS1 - look to the south east
level.scr_sound[ "gaz" ][ "whatthe" ] = "icbm_uk2_looksoutheast";
//griggs - What the hell<6C>
level.scr_sound[ "griggs" ][ "problemhere" ] = "icbm_grg_problemhere";
//Price - Delta One X-Ray, we have a missile launch, I repeat we have a missile
level.scr_sound[ "price" ][ "onemissile" ] = "icbm_pri_onemissile";
//griggs - There's another one!
level.scr_sound[ "griggs" ][ "anotherone" ] = "icbm_grg_anotherone";
//Price - Delta One X-Ray - we have two missiles in the air over!
level.scr_sound[ "price" ][ "twomissiles" ] = "icbm_pri_twomissiles";
//HQ on Price's Radio
level.scr_sound[ "price" ][ "gettingabortcodes" ] = "icbm_hqr_satellitestracking";
//griggs - Shits hit the fan now
level.scr_sound[ "griggs" ][ "itsonnow" ] = "icbm_grg_itsonnow";
//Price - You're tellin' me<6D>. Let's go! We gotta move!
level.scr_sound[ "price" ][ "youretellinme" ] = "icbm_pri_gottomove";
//Marine5 - Bravo Six, Sniper Team Two. We're comin' outta the treeline to the south.
level.scr_sound[ "gm5" ][ "treeline" ] = "icbm_gm5_treelineS";
//Price - Hold your fire, it's one of the American teams.
level.scr_sound[ "price" ][ "americanteams" ] = "icbm_pri_americanteams";
//Marine5 - Good to see you guys made it. We'll give you sniper cover once your inside the perime-what the hell is that?
level.scr_sound[ "gm5" ][ "goodtosee" ] = "icbm_gm5_whatthe";
//NEW LINES
//Price - Moving to the next house, keep it quiet
level.scr_sound[ "price" ][ "keepquiet" ] = "icbm_pri_keepitquiet";
//Price - Suns coming up. We<57>re running out of time.
level.scr_sound[ "price" ][ "sunsup" ] = "icbm_pri_sunscomingup";
//Price - We need to blow up that power tower so second squad can breach the electric perimeter fence.
level.scr_sound[ "price" ][ "blowuptower" ] = "icbm_pri_knockouttower";
//Price - They<65>re flanking around us from behind!!
level.scr_sound[ "price" ][ "flankingbehind" ] = "icbm_pri_flankingbehind";
//RUSSIAN INTEROGATION SECENE
//RU1 - Where are the others?
level.scr_sound[ "ru1" ][ "whereothers" ] = "icbm_ru1_whereothers";
//griggs - Griggs. 678-45-2056.
level.scr_sound[ "griggs" ][ "grg_678452056" ] = "icbm_grg_678452056";
//RU1 - You know tovarisch, the Geneva Convention is a nice idea in theory, no? Why don't you save yourself the trouble and simply answer my questions?
level.scr_sound[ "ru1" ][ "tovarisch" ] = "icbm_ru1_tovarisch";
//RU1 - How many others are there?
level.scr_sound[ "ru1" ][ "howmany" ] = "icbm_ru1_howmany";
//griggs - Griggs. 678...
level.scr_sound[ "griggs" ][ "grg_678" ] = "icbm_grg_678";
//RU1 - who is officer
level.scr_sound[ "ru1" ][ "whoisofficer" ] = "icbm_ru1_whoisofficer";
//griggs - Blow me
level.scr_sound[ "griggs" ][ "blowme" ] = "icbm_grg_getbusy";
//RU1 - Yuri - where's the hacksaw?
level.scr_sound[ "ru1" ][ "whereshacksaw" ] = "icbm_ru1_whereshacksaw";
//RU2 - Yuri - I thought you had it.
level.scr_sound[ "ru1" ][ "youhadit" ] = "icbm_ru2_youhadit";
//RU1 - If I had the fuckin' hacksaw I wouldn't have asked for it in the first place you dumb shit!
level.scr_sound[ "ru1" ][ "ifihad" ] = "icbm_ru1_ifihad";
//BREACH GIGS SCENE
//Price - Looks like this is the place.
level.scr_sound[ "price" ][ "thisisplace" ] = "icbm_pri_thisisplace";
//Price - Get ready to breach
level.scr_sound[ "price" ][ "readytobreach" ] = "icbm_pri_readytobreach";
//Price - Go go go!!
level.scr_sound[ "price" ][ "gogogo" ] = "icbm_pri_gogogo";
//Price - Jackson, cut grigs loose.
level.scr_sound[ "price" ][ "cutloose" ] = "icbm_pri_cutloose";
}
patrol()
{
//flashlight guys:
level.scr_anim[ "generic" ][ "patrolwalk_1" ] = %active_patrolwalk_v1;
level.scr_anim[ "generic" ][ "patrolwalk_2" ] = %active_patrolwalk_v2;
level.scr_anim[ "generic" ][ "patrolwalk_3" ] = %active_patrolwalk_v3;
level.scr_anim[ "generic" ][ "patrolwalk_4" ] = %active_patrolwalk_v4;
level.scr_anim[ "generic" ][ "patrolwalk_5" ] = %active_patrolwalk_v5;
level.scr_anim[ "generic" ][ "patrolwalk_pause" ] = %active_patrolwalk_pause;
level.scr_anim[ "generic" ][ "patrolwalk_turn" ] = %active_patrolwalk_turn_180;
//normal patrollers:
level.scr_anim[ "generic" ][ "patrol_walk" ] = %patrol_bored_patrolwalk;
level.scr_anim[ "generic" ][ "patrol_walk_twitch" ] = %patrol_bored_patrolwalk_twitch;
level.scr_anim[ "generic" ][ "patrol_stop" ] = %patrol_bored_walk_2_bored;
level.scr_anim[ "generic" ][ "patrol_start" ] = %patrol_bored_2_walk;
level.scr_anim[ "generic" ][ "patrol_turn180" ] = %patrol_bored_2_walk_180turn;
level.scr_anim[ "generic" ][ "patrol_idle_1" ] = %patrol_bored_idle;
level.scr_anim[ "generic" ][ "patrol_idle_2" ] = %patrol_bored_idle_smoke;
level.scr_anim[ "generic" ][ "patrol_idle_3" ] = %patrol_bored_idle_cellphone;
level.scr_anim[ "generic" ][ "patrol_idle_4" ] = %patrol_bored_twitch_bug;
level.scr_anim[ "generic" ][ "patrol_idle_5" ] = %patrol_bored_twitch_checkphone;
level.scr_anim[ "generic" ][ "patrol_idle_6" ] = %patrol_bored_twitch_stretch;
}
anims()
{
level.scr_anim[ "generic" ][ "pronehide_dive" ] = %hunted_dive_2_pronehide_v1;
// First house
level.scr_anim[ "price" ][ "hunted_open_barndoor" ] = %hunted_open_barndoor;
level.scr_anim[ "price" ][ "hunted_open_barndoor_stop" ] = %hunted_open_barndoor_stop;
level.scr_anim[ "price" ][ "hunted_open_barndoor_idle" ][0] = %hunted_open_barndoor_idle;
level.scr_anim["hostile"]["patrol_twitch"] = %patrolstand_twitch;
level.scr_anim["hostile"]["phoneguy_idle_start"] = %patrol_bored_idle_cellphone;
level.scr_anim["hostile"]["phoneguy_idle"][0] = %patrol_bored_idle_cellphone;
level.scr_anim["hostile"]["phoneguy_alerted"] = %parabolic_phoneguy_reaction;
level.scr_anim["hostile"][ "phoneguy_death" ] = %ICBM_patrol_knifekill_looser;
level.scr_anim["hostile"][ "patrol_bored_idle" ][0] = %patrol_bored_idle;
level.scr_anim["hostile"][ "patrol_bored_idle_smoke" ][0] = %patrol_bored_idle_smoke;
level.scr_anim["hostile"][ "patrol_bored_idle_cellphone" ][0] = %patrol_bored_idle_cellphone;
level.scr_anim[ "generic" ][ "cellphone_idle" ][0] = %patrol_bored_idle_cellphone;
level.scr_anim[ "generic" ][ "smoke_idle" ][0] = %patrol_bored_idle_smoke;
level.scr_anim[ "generic" ][ "lean_smoke_idle" ][0] = %parabolic_leaning_guy_smoking_idle;
level.scr_anim[ "generic" ][ "lean_smoke_idle" ][1] = %parabolic_leaning_guy_smoking_twitch;
level.scr_anim[ "generic" ][ "coffee_idle" ][0] = %parabolic_guard_sleeper_idle;
level.scr_anim[ "generic" ][ "sleep_idle" ][0] = %parabolic_guard_sleeper_idle;
level.scr_anim[ "generic" ][ "cellphone_reach" ] = %patrol_bored_idle_cellphone;
level.scr_anim[ "generic" ][ "smoke_reach" ] = %patrol_bored_idle_smoke;
level.scr_anim[ "generic" ][ "lean_smoke_reach" ] = %parabolic_leaning_guy_smoking_idle;
level.scr_anim[ "generic" ][ "coffee_reach" ] = %parabolic_guard_sleeper_idle;
level.scr_anim[ "generic" ][ "sleep_reach" ] = %parabolic_guard_sleeper_idle;
level.scr_anim[ "generic" ][ "cellphone_react" ] = %patrol_bored_react_look_retreat;
level.scr_anim[ "generic" ][ "smoke_react" ] = %patrol_bored_react_look_advance;
level.scr_anim[ "generic" ][ "lean_smoke_react" ] = %patrol_bored_react_walkstop_short;
level.scr_anim[ "generic" ][ "coffee_react" ] = %parabolic_guard_sleeper_react;
level.scr_anim[ "generic" ][ "sleep_react" ] = %parabolic_guard_sleeper_react;
//level.scr_anim[ "generic" ][ "detcord_stack_leftbreach_01" ] = %explosivebreach_v1_stackL;
//level.scr_anim[ "generic" ][ "detcord_stack_leftbreach_02" ] = %explosivebreach_v1_detcord;
//addNotetrack_customFunction( <animname>, <notetrack> , <function> , <anime> )
addNotetrack_customFunction( "generic", "fire", ::kill_during_breach1, "detcord_stack_leftbreach_01" );
addNotetrack_customFunction( "generic", "fire", ::kill_during_breach2, "detcord_stack_leftbreach_02" );
/*-----------------------
KNIFE KILL SEQUENCE
-------------------------*/
level.scr_anim[ "price" ][ "knifekill_price" ] = %ICBM_patrol_knifekill_winner;
//level.scr_anim[ "price" ][ "knifekill_altending_griggs" ] = %parabolic_knifekill_altending_griggs;
level.scr_anim[ "price" ][ "signal_assault_coverstand" ] = %coverstand_hide_idle_wave02;
level.scr_anim[ "price" ][ "signal_forward_coverstand" ] = %coverstand_hide_idle_wave01;
//griggs scene
level.scr_anim[ "griggs" ][ "grigsby_rescue" ] = %grigsby_rescue;
addNotetrack_customFunction( "griggs", "grab gun", ::griggs_grab_gun, "grigsby_rescue" );
level.scr_anim[ "griggs" ][ "grigsby_rescue_idle" ][0] = %grigsby_rescue_idle;
level.scr_anim[ "griggs" ][ "icbm_fence_cutting_guys" ] = %icbm_fence_cutting_guy2;
level.scr_anim[ "gaz" ][ "icbm_fence_cutting_guys" ] = %icbm_fence_cutting_guy1;
//addNotetrack_attach( animname, notetrack, model, tag, anime )
addNotetrack_attach( "gaz", "can_in_hand", "com_spray_can01", "tag_inhand", "icbm_fence_cutting_guys" );
//addNotetrack_detach( animname, notetrack, model, tag, anime )
addNotetrack_detach( "gaz", "can_out_hand", "com_spray_can01", "tag_inhand", "icbm_fence_cutting_guys" );
//addNotetrack_animSound( animname, anime, notetrack, soundalias )
addNotetrack_animSound( "gaz", "icbm_fence_cutting_guys", "scn_icbm_fence_cut", "scn_icbm_fence_cut" );
addNotetrack_animSound( "gaz", "icbm_fence_cutting_guys", "scn_icbm_fence_pull", "scn_icbm_fence_pull" );
//addNotetrack_customFunction( animname, notetrack, function, anime )
addNotetrack_customFunction( "gaz", "can_start_spray", maps\icbm_code::spraycan_fx, "icbm_fence_cutting_guys" );
addNotetrack_customFunction( "gaz", "can_stop_spray", maps\icbm_code::spraycan_fx_stop, "icbm_fence_cutting_guys" );
//end scene
level.scr_anim[ "price" ][ "icbm_end_price" ] = %icbm_end_price;
level.scr_anim[ "gm5" ][ "icbm_end_sniper" ] = %icbm_end_sniper;
}
#using_animtree( "icbm" );
tower_explode_anims()
{
level.scr_animtree[ "tower" ] = #animtree;
level.scr_anim[ "tower" ][ "explosion" ] = %ICBM_power_tower_crash;
level.scr_animtree[ "wire" ] = #animtree;
level.scr_anim[ "wire" ][ "idle0" ][0] = %ICBM_power_tower_wire_idle_LE1;
level.scr_anim[ "wire" ][ "idle1" ][0] = %ICBM_power_tower_wire_idle_LE2;
level.scr_anim[ "wire" ][ "idle2" ][0] = %ICBM_power_tower_wire_idle_LE3;
level.scr_anim[ "wire" ][ "idle3" ][0] = %ICBM_power_tower_wire_idle_RI1;
level.scr_anim[ "wire" ][ "idle4" ][0] = %ICBM_power_tower_wire_idle_RI2;
level.scr_anim[ "wire" ][ "idle5" ][0] = %ICBM_power_tower_wire_idle_RI3;
level.scr_anim[ "wire" ][ "idle6" ][0] = %ICBM_power_tower_wire_idle_LE4;
level.scr_anim[ "wire" ][ "idle7" ][0] = %ICBM_power_tower_wire_idle_LE5;
level.scr_anim[ "wire" ][ "idle8" ][0] = %ICBM_power_tower_wire_idle_LE6;
level.scr_anim[ "wire" ][ "idle9" ][0] = %ICBM_power_tower_wire_idle_RI4;
level.scr_anim[ "wire" ][ "idle10" ][0] = %ICBM_power_tower_wire_idle_RI5;
level.scr_anim[ "wire" ][ "idle11" ][0] = %ICBM_power_tower_wire_idle_RI6;
level.scr_anim[ "wire" ][ "explosion0" ] = %ICBM_power_tower_wire_LE1;
level.scr_anim[ "wire" ][ "explosion1" ] = %ICBM_power_tower_wire_LE2;
level.scr_anim[ "wire" ][ "explosion2" ] = %ICBM_power_tower_wire_LE3;
level.scr_anim[ "wire" ][ "explosion3" ] = %ICBM_power_tower_wire_RI1;
level.scr_anim[ "wire" ][ "explosion4" ] = %ICBM_power_tower_wire_RI2;
level.scr_anim[ "wire" ][ "explosion5" ] = %ICBM_power_tower_wire_RI3;
level.scr_anim[ "wire" ][ "explosion6" ] = %ICBM_power_tower_wire_LE4;
level.scr_anim[ "wire" ][ "explosion7" ] = %ICBM_power_tower_wire_LE5;
level.scr_anim[ "wire" ][ "explosion8" ] = %ICBM_power_tower_wire_LE6;
level.scr_anim[ "wire" ][ "explosion9" ] = %ICBM_power_tower_wire_RI4;
level.scr_anim[ "wire" ][ "explosion10" ] = %ICBM_power_tower_wire_RI5;
level.scr_anim[ "wire" ][ "explosion11" ] = %ICBM_power_tower_wire_RI6;
//wire_snap
//addNotetrack_sound( animname, notetrack, anime, soundalias )
addNotetrack_sound( "wire", "wire_snap", "explosion0", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion1", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion2", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion3", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion4", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion5", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion6", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion7", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion8", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion9", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion10", "scn_icbm_tower_wire_snap" );
//addNotetrack_sound( "wire", "wire_snap", "explosion11", "scn_icbm_tower_wire_snap" );
addNotetrack_customFunction( "tower", "powertower_break", maps\icbm_code::tower_legBreak_fx, "explosion" );
addNotetrack_customFunction( "tower", "powertower_sparks", maps\icbm_code::tower_spark_fx, "explosion" );
addNotetrack_customFunction( "tower", "powertower_crash", maps\icbm_code::tower_impact_fx, "explosion" );
level.scr_animtree[ "fence" ] = #animtree;
level.scr_anim[ "fence" ][ "model_cut" ] = %icbm_fence_cutting_guy1_fence;
}
#using_animtree("generic_human");
uaz_overrides( )
{
positions = maps\_uaz::setanims();
positions[0].death = %UAZ_driver_death;
positions[1].death = %UAZ_driver_death;
positions[0].death_delayed_ragdoll = .1;
positions[1].death_delayed_ragdoll = .1;
positions[ 0 ].explosion_death = %death_explosion_left11;
positions[ 1 ].explosion_death = %death_explosion_right13;
return positions;
}
#using_animtree( "script_model" );
script_models()
{
level.scr_anim[ "chair" ][ "sleep_react" ] = %parabolic_guard_sleeper_react_chair;
level.scr_animtree[ "chair" ] = #animtree;
level.scr_model[ "chair" ] = "com_folding_chair";
}