diff --git a/_mcp graveyard ghost fix.vpk b/_mcp graveyard ghost fix.vpk new file mode 100644 index 0000000..229f838 Binary files /dev/null and b/_mcp graveyard ghost fix.vpk differ diff --git a/_mcp saxton hale fix.vpk b/_mcp saxton hale fix.vpk new file mode 100644 index 0000000..6ffe499 Binary files /dev/null and b/_mcp saxton hale fix.vpk differ diff --git a/_modern casual preloader/cfg/old_preloader.cfg b/_modern casual preloader/cfg/old_preloader.cfg new file mode 100644 index 0000000..6fe09b0 --- /dev/null +++ b/_modern casual preloader/cfg/old_preloader.cfg @@ -0,0 +1,14 @@ +//MODERN CASUAL PRELOADER +cl_always_flush_models 0 +mod_load_anims_async 0 +mod_load_mesh_async 0 +mod_load_vcollide_async 0 +mod_touchalldata 1 +mod_forcetouchdata 0 +mod_forcedata 1 +mod_lock_mdls_on_load 1 //was 0 +sv_allow_wait_command 1 +sv_allow_point_servercommand always +sv_pure -1 +wait 3;toggle mat_aaquality 0 1;wait 15;toggle mat_aaquality 0 1 +map preloader_vscript;wait 80;disconnect;wait;hud_reloadscheme;wait 3;playmenumusic;echo "--Modern Casual Preloader--" \ No newline at end of file diff --git a/_modern casual preloader/cfg/old_preloaderwalkway.cfg b/_modern casual preloader/cfg/old_preloaderwalkway.cfg new file mode 100644 index 0000000..cf67919 --- /dev/null +++ b/_modern casual preloader/cfg/old_preloaderwalkway.cfg @@ -0,0 +1,14 @@ +//MODERN CASUAL PRELOADER +cl_always_flush_models 0 +mod_load_anims_async 0 +mod_load_mesh_async 0 +mod_load_vcollide_async 0 +mod_touchalldata 1 +mod_forcetouchdata 0 +mod_forcedata 1 +mod_lock_mdls_on_load 1 //was 0 +sv_allow_wait_command 1 +sv_allow_point_servercommand always +sv_pure -1 +wait 3;toggle mat_aaquality 0 1;wait 15;toggle mat_aaquality 0 1 +map tr_walkway_preloader;wait 2;echo "--Modern Casual Preloader-- LOADING TR_WALKWAY..." \ No newline at end of file diff --git a/_modern casual preloader/cfg/preloader.cfg b/_modern casual preloader/cfg/preloader.cfg new file mode 100644 index 0000000..814c9ee --- /dev/null +++ b/_modern casual preloader/cfg/preloader.cfg @@ -0,0 +1,14 @@ +//MODERN CASUAL PRELOADER +cl_always_flush_models 0 +mod_load_anims_async 0 +mod_load_mesh_async 0 +mod_load_vcollide_async 0 +mod_touchalldata 1 +mod_forcetouchdata 0 +mod_forcedata 1 +mod_lock_mdls_on_load 1 +sv_allow_wait_command 1 +sv_allow_point_servercommand always +sv_pure -1 +wait 3;toggle mat_aaquality 0 1;wait 30;toggle mat_aaquality 0 1 +map preloader_vscript;wait 90;disconnect;wait 3;playmenumusic;echo "--Modern Casual Preloader--" \ No newline at end of file diff --git a/_modern casual preloader/cfg/preloaderwalkway.cfg b/_modern casual preloader/cfg/preloaderwalkway.cfg new file mode 100644 index 0000000..ded2adc --- /dev/null +++ b/_modern casual preloader/cfg/preloaderwalkway.cfg @@ -0,0 +1,14 @@ +//MODERN CASUAL PRELOADER +cl_always_flush_models 0 +mod_load_anims_async 0 +mod_load_mesh_async 0 +mod_load_vcollide_async 0 +mod_touchalldata 1 +mod_forcetouchdata 0 +mod_forcedata 1 +mod_lock_mdls_on_load 1 +sv_allow_wait_command 1 +sv_allow_point_servercommand always +sv_pure -1 +wait 3;toggle mat_aaquality 0 1;wait 30;toggle mat_aaquality 0 1 +map tr_walkway_preloader;wait 2;echo "--Modern Casual Preloader-- LOADING TR_WALKWAY..." \ No newline at end of file diff --git a/_modern casual preloader/cfg/tr_walkway/cvars.cfg b/_modern casual preloader/cfg/tr_walkway/cvars.cfg new file mode 100644 index 0000000..d048cb1 --- /dev/null +++ b/_modern casual preloader/cfg/tr_walkway/cvars.cfg @@ -0,0 +1,388 @@ +// Variables + +//Variable A +alias tr_AINC "ent_fire custom_Avar add 1" +alias tr_ADEC "ent_fire custom_Avar subtract 1" +alias tr_ALOAD "ent_fire custom_Avar getvalue" +alias tr_ARESET "ent_fire custom_Avar setvalue 0" +alias tr_ONAEQUAL +alias tr_ONANOTEQUAL +alias tr_ONAGREATERTHAN +alias tr_ONALESSTHAN + +//Variable B +alias tr_BINC "ent_fire custom_Bvar add 1" +alias tr_BDEC "ent_fire custom_Bvar subtract 1" +alias tr_BLOAD "ent_fire custom_Bvar getvalue" +alias tr_BRESET "ent_fire custom_Bvar setvalue 0" +alias tr_ONBEQUAL +alias tr_ONBNOTEQUAL +alias tr_ONBGREATERTHAN +alias tr_ONBLESSTHAN + +//Variable C +alias tr_CINC "ent_fire custom_Cvar add 1" +alias tr_CDEC "ent_fire custom_Cvar subtract 1" +alias tr_CLOAD "ent_fire custom_Cvar getvalue" +alias tr_CRESET "ent_fire custom_Cvar setvalue 0" +alias tr_ONCEQUAL +alias tr_ONCNOTEQUAL +alias tr_ONCGREATERTHAN +alias tr_ONCLESSTHAN + +//Variable D +alias tr_DINC "ent_fire custom_Dvar add 1" +alias tr_DDEC "ent_fire custom_Dvar subtract 1" +alias tr_DLOAD "ent_fire custom_Dvar getvalue" +alias tr_DRESET "ent_fire custom_Dvar setvalue 0" +alias tr_ONDEQUAL +alias tr_ONDNOTEQUAL +alias tr_ONDGREATERTHAN +alias tr_ONDLESSTHAN + +//Variable E +alias tr_EINC "ent_fire custom_Evar add 1" +alias tr_EDEC "ent_fire custom_Evar subtract 1" +alias tr_ELOAD "ent_fire custom_Evar getvalue" +alias tr_ERESET "ent_fire custom_Evar setvalue 0" +alias tr_ONEEQUAL +alias tr_ONENOTEQUAL +alias tr_ONEGREATERTHAN +alias tr_ONELESSTHAN + +//Variable BUFFER +alias tr_BUFFERINC "ent_fire custom_BUFFERvar add 1" +alias tr_BUFFERDEC "ent_fire custom_BUFFERvar subtract 1" +alias tr_BUFFERRESET "ent_fire custom_BUFFERvar setvalue 0" +alias tr_ONBUFFEREQUAL +alias tr_ONBUFFERNOTEQUAL +alias tr_ONBUFFERGREATERTHAN +alias tr_ONBUFFERLESSTHAN + +// Comparer +alias tr_CMP "ent_fire custom_compare compare" +alias tr_LOADX "ent_fire custom_buffer_x getvalue" +alias tr_LOADY "ent_fire custom_buffer_y getvalue" + +alias tr_ONCMPEQUAL +alias tr_ONCMPNOTEQUAL +alias tr_ONCMPGREATERTHAN +alias tr_ONCMPLESSTHAN + +// Switch +alias tr_CASE "ent_fire custom_buffer_case getvalue" +alias tr_CASERAND "ent_fire custom_case pickrandom" +alias tr_CASERANDSHUF "ent_fire custom_case pickrandomshuffle" +alias tr_ONCASE00 +alias tr_ONCASE01 +alias tr_ONCASE02 +alias tr_ONCASE03 +alias tr_ONCASE04 +alias tr_ONCASE05 +alias tr_ONCASE06 +alias tr_ONCASE07 +alias tr_ONCASE08 +alias tr_ONCASE09 +alias tr_ONCASE10 +alias tr_ONCASE11 +alias tr_ONCASE12 +alias tr_ONCASE13 +alias tr_ONCASE14 +alias tr_ONCASE15 +alias tr_CASEDEF + +// Timers +alias tr_ONTIMERA +alias tr_ONTIMERB +alias tr_ONTIMERC +alias tr_ONTIMERD + +alias tr_TIMERA_ON "ent_fire custom_timer_A enable" +alias tr_TIMERA_OFF "ent_fire custom_timer_A disable" +alias tr_TIMERB_ON "ent_fire custom_timer_B enable" +alias tr_TIMERB_OFF "ent_fire custom_timer_B disable" +alias tr_TIMERC_ON "ent_fire custom_timer_C enable" +alias tr_TIMERC_OFF "ent_fire custom_timer_C disable" +alias tr_TIMERD_ON "ent_fire custom_timer_D enable" +alias tr_TIMERD_OFF "ent_fire custom_timer_D disable" + +// Extra coding system +alias tr_ONSTART +alias tr_ONMID +alias tr_ONEND +alias tr_ONLEAVE +alias tr_POSEVENT_ON "ent_fire events_walkway enable" +alias tr_POSEVENT_OFF "ent_fire events_walkway disable" + +alias tr_TEXT1 "ent_fire custom_text1 display" +alias tr_TEXT2 "ent_fire custom_text2 display" +alias tr_TEXT3 "ent_fire custom_text3 display" + +alias tr_RELAY "ent_fire custom_relay trigger" + +// Movement speed +alias tr_speed_no "ent_fire speed_counter setvalue 1" +alias tr_speed_snail "ent_fire speed_counter setvalue 2 +alias tr_speed_heavy "ent_fire speed_counter setvalue 3" +alias tr_speed_soldier "ent_fire speed_counter setvalue 4" +alias tr_speed_demoman "ent_fire speed_counter setvalue 5" +alias tr_speed_average "ent_fire speed_counter setvalue 6" +alias tr_speed_medic "ent_fire speed_counter setvalue 7" +alias tr_speed_scout "ent_fire speed_counter setvalue 8" +alias tr_speed_jet "ent_fire speed_counter setvalue 9" + +alias tr_speed_up "ent_fire speed_counter add 1" +alias tr_speed_down "ent_fire speed_counter subtract 1" + +alias tr_stop "ent_fire stop_toggle test" + +// Deploy time +alias tr_deploy_120 "ent_fire deploy_counter setvalue 9" +alias tr_deploy_60 "ent_fire deploy_counter setvalue 8" +alias tr_deploy_40 "ent_fire deploy_counter setvalue 7" +alias tr_deploy_30 "ent_fire deploy_counter setvalue 6" +alias tr_deploy_20 "ent_fire deploy_counter setvalue 5" +alias tr_deploy_15 "ent_fire deploy_counter setvalue 4" +alias tr_deploy_10 "ent_fire deploy_counter setvalue 3" +alias tr_deploy_05 "ent_fire deploy_counter setvalue 2" +alias tr_deploy_no "ent_fire deploy_counter setvalue 1" + +alias tr_deploy_down "ent_fire deploy_counter subtract 1" +alias tr_deploy_up "ent_fire deploy_counter add 1" + +// Bots spawn +alias tr_spawn_random "ent_fire bots_create_random test" +alias tr_spawn_airblast "ent_fire bots_create_airblast test" +alias tr_spawn_light "ent_fire bots_create_light test" +alias tr_spawn_comp "ent_fire bots_create_comp test" +alias tr_spawn_headshot "ent_fire bots_create_headshot test" +alias tr_spawn_all "ent_fire bots_create_all test" + +alias tr_spawn_pyros "ent_fire bots_create_pyros test" +alias tr_spawn_scouts "ent_fire bots_create_scouts test" +alias tr_spawn_heavies "ent_fire bots_create_heavys test" +alias tr_spawn_medics "ent_fire bots_create_medics test" +alias tr_spawn_spies "ent_fire bots_create_spies test" +alias tr_spawn_demomen "ent_fire bots_create_demomen test" +alias tr_spawn_soldiers "ent_fire bots_create_soldiers test" +alias tr_spawn_engineers "ent_fire bots_create_engineers test" +alias tr_spawn_snipers "ent_fire bots_create_snipers test" + +alias tr_spawn_1pyro "ent_fire bots_create_1pyro test" +alias tr_spawn_1scout "ent_fire bots_create_1scout test" +alias tr_spawn_1heavy "ent_fire bots_create_1heavy test" +alias tr_spawn_1medic "ent_fire bots_create_1medic test" +alias tr_spawn_1spy "ent_fire bots_create_1spy test" +alias tr_spawn_1demoman "ent_fire bots_create_1demoman test" +alias tr_spawn_1soldier "ent_fire bots_create_1soldier test" +alias tr_spawn_1engineer "ent_fire bots_create_1engineer test" +alias tr_spawn_1sniper "ent_fire bots_create_1sniper test" +alias tr_spawn_1random "ent_fire bots_create_1random test" + +// Bots management +alias tr_maxbots_up "ent_fire botmax_counter add 1" +alias tr_maxbots_down "ent_fire botmax_counter subtract 1" + +alias tr_maxbots_16 "ent_fire launchpad_counter setvalue 9" +alias tr_maxbots_14 "ent_fire launchpad_counter setvalue 8" +alias tr_maxbots_12 "ent_fire launchpad_counter setvalue 7" +alias tr_maxbots_10 "ent_fire launchpad_counter setvalue 6" +alias tr_maxbots_08 "ent_fire launchpad_counter setvalue 5" +alias tr_maxbots_05 "ent_fire launchpad_counter setvalue 4" +alias tr_maxbots_03 "ent_fire launchpad_counter setvalue 3" +alias tr_maxbots_01 "ent_fire launchpad_counter setvalue 2" +alias tr_maxbots_00 "ent_fire launchpad_counter setvalue 1" + +alias tr_kill "ent_fire bots_kill trigger" +alias tr_kick "ent_fire bots_kickall trigger" +alias tr_default "ent_fire all_default trigger" + +alias tr_firewall "ent_fire killmid_toggle test" +alias tr_firewall_OFF "ent_fire killmid_toggle setvaluetest 1" +alias tr_firewall_ON "ent_fire killmid_toggle setvaluetest 0" + +// Map options +alias tr_resupply "ent_fire resupply_toggle test" +alias tr_resupply_ON "ent_fire resupply_toggle setvaluetest 0" +alias tr_resupply_OFF "ent_fire resupply_toggle setvaluetest 1" + +alias tr_panic "ent_fire panic_toggle test" +alias tr_panic_ON "ent_fire panic_toggle setvaluetest 0" +alias tr_panic_OFF "ent_fire panic_toggle setvaluetest 1" + +alias tr_grav "ent_fire grav_select compare" +alias tr_grav_default "ent_fire grav_select setvaluecompare 2" +alias tr_grav_low "ent_fire grav_select setvaluecompare 0" +alias tr_grav_verylow "ent_fire grav_select setvaluecompare 1" + +alias tr_walls "ent_fire walls_select compare" +alias tr_walls_ON "ent_fire walls_select setvaluecompare 2" +alias tr_walls_OFF "ent_fire walls_select setvaluecompare 0" +alias tr_walls_OFFnd "ent_fire walls_se lect setvaluecompare 1" + +alias tr_crits "ent_fire crits_toggle test" +alias tr_crits_ON "ent_fire crits_toggle setvaluetest 0" +alias tr_crits_OFF "ent_fire crits_toggle setvaluetest 1" + +alias tr_deploy_rand "ent_fire deployrand_toggle test" +alias tr_deploy_rand_ON "ent_fire deployrand_toggle setvaluetest 0" +alias tr_deploy_rand_OFF "ent_fire deployrand_toggle setvaluetest 1" + +alias tr_deploy_left "ent_fire deploy_left test" +alias tr_deploy_right "ent_fire deploy_right test" +alias tr_deploy_stop "ent_fire deploy_stop compare" + +alias tr_deployonlp "ent_fire deploylp_toggle test" +alias tr_deployonlp_ON "ent_fire deploylp_toggle setvalutest 0" +alias tr_deployonlp_OFF "ent_fire deploylp_toggle setvalutest 1" + +// Hill and ramp + +alias tr_hill_up "ent_fire relay_slope_up test" +alias tr_hill_down "ent_fire relay_slope_down test" + +alias tr_ramp_up "ent_fire relay_slope_cw test" +alias tr_ramp_down "ent_fire relay_slope_ccw test" + +alias tr_ramp_full "ent_fire relay_slope_extreme test" +alias tr_ramp_fullup "ent_fire relay_slope_extreme setvaluetest -1" +alias tr_ramp_fulldown "ent_fire relay_slope_extreme setvaluetest 1" + +// Bots dodge options +alias tr_jump "ent_fire jump_toggle test" +alias tr_jump_ON "ent_fire jump_toggle setvaluetest 0" +alias tr_jump_OFF "ent_fire jump_toggle setvaluetest 1" + +alias tr_back "ent_fire back_toggle test" +alias tr_back_ON "ent_fire back_toggle setvaluetest 0" +alias tr_back_OFF "ent_fire back_toggle setvaluetest 1" + +alias tr_strafe "ent_fire strafe_select compare" +alias tr_strafe_ON "ent_fire strafe_select setvaluecompare 2" +alias tr_strafe_ONR "ent_fire strafe_select setvaluecompare 0" +alias tr_strafe_OFF "ent_fire strafe_select setvaluecompare 1" + +alias tr_crouch "ent_fire crouch_select compare" +alias tr_crouch_ON "ent_fire crouch_select setvaluecompare 2" +alias tr_crouch_ONR "ent_fire crouch_select setvaluecompare 0" +alias tr_crouch_OFF "ent_fire crouch_select setvaluecompare 1" + +alias tr_strafe_timer "ent_fire strafetimer_select compare" +alias tr_strafe_timer_default "ent_fire strafetimer_select setvaluecompare 2" +alias tr_strafe_timer_long "ent_fire strafetimer_select setvaluecompare 0" +alias tr_strafe_timer_short "ent_fire strafetimer_select setvaluecompare 1" + +// Retractable platform +alias tr_platform "ent_fire platform_toggle test" +alias tr_platform_ON "ent_fire platform_toggle setvaluetest 0" +alias tr_platform_OFF "ent_fire platform_toggle setvaluetest 1" + +alias tr_platform_up "ent_fire platform_Z1 test" +alias tr_platform_down "ent_fire platform_Z2 test" +alias tr_platform_left "ent_fire platform_Y1 test" +alias tr_platform_right "ent_fire platform_Y2 test" +alias tr_platform_stop "ent_fire platform_stop test" + +// Bots actions +alias tr_hurt "ent_fire hurt_select compare" +alias tr_hurt_ON "ent_fire hurt_select setvaluecompare 0" +alias tr_hurt_ONlow "ent_fire hurt_select setvaluecompare 1" +alias tr_hurt_OFF "ent_fire hurt_select setvaluecompare 2" + +alias tr_aim "ent_fire aim_select compare" +alias tr_aim_default "ent_fire aim_select setvaluecompare 2" +alias tr_aim_up "ent_fire aim_select setvaluecompare 0" +alias tr_aim_down "ent_fire aim_select setvaluecompare 1" + +alias tr_botresupply_OFF "ent_fire botres_toggle setvaluetest 1" +alias tr_botresupply_ON "ent_fire botres_toggle setvaluetest 0" +alias tr_botresupply "ent_fire botres_toggle test" + +alias tr_spam "ent_fire dispenser_select compare" +alias tr_spam_spy "ent_fire dispenser_select setvaluecompare 1" +alias tr_spam_dispenser "ent_fire dispenser_select setvaluecompare 0" +alias tr_spam_none "ent_fire dispenser_select setvaluecompare 2" + +alias tr_attack "ent_fire attack_counter add 1" +alias tr_attack_ON "ent_fire attack_counter setvalue 1" +alias tr_attack_ON3 "ent_fire attack_counter setvalue 2" +alias tr_attack_ONR "ent_fire attack_counter setvalue 3" +alias tr_attack_OFF "ent_fire attack_counter setvalue 0" + +// Launchpad options +alias tr_lp "ent_fire launchpad_toggle test" +alias tr_lp_ON "ent_fire launchpad_toggle setvaluetest 0" +alias tr_lp_OFF "ent_fire launchpad_toggle setvaluetest 1" + +alias tr_lp_randpow "ent_fire launchpad_random_toggle test" +alias tr_lp_randpow_ON "ent_fire launchpad_random_toggle setvaluetest 0" +alias tr_lp_randpow_OFF "ent_fire launchpad_random_toggle setvaluetest 1" + +alias tr_lp_randtraj "ent_fire launchpad_traj_toggle test" +alias tr_lp_randtraj_ON "ent_fire launchpad_traj_toggle setvaluetest 0" +alias tr_lp_randtraj_OFF "ent_fire launchpad_traj_toggle setvaluetest 1" + +alias tr_lp_pow_9 "ent_fire launchpad_counter setvalue 9" +alias tr_lp_pow_8 "ent_fire launchpad_counter setvalue 8" +alias tr_lp_pow_7 "ent_fire launchpad_counter setvalue 7" +alias tr_lp_pow_6 "ent_fire launchpad_counter setvalue 6" +alias tr_lp_pow_5 "ent_fire launchpad_counter setvalue 5" +alias tr_lp_pow_4 "ent_fire launchpad_counter setvalue 4" +alias tr_lp_pow_3 "ent_fire launchpad_counter setvalue 3" +alias tr_lp_pow_2 "ent_fire launchpad_counter setvalue 2" +alias tr_lp_pow_1 "ent_fire launchpad_counter setvalue 1" + +alias tr_lp_pow_up "ent_fire launchpad_counter add 1" +alias tr_lp_pow_down "ent_fire launchpad_counter subtract 1" + +alias tr_lp_traj_up "ent_fire launchpad_traj_up test" +alias tr_lp_traj_down "ent_fire launchpad_traj_down test" +alias tr_lp_traj_stop "ent_fire launchpad_traj_stop compare" + +// Sentry room +alias tr_sentry1 "ent_fire button_sentry1 use" +alias tr_sentry2 "ent_fire button_sentry2 use" +alias tr_sentry3 "ent_fire button_sentry3 use" +alias tr_disp1 "ent_fire button_sentry1d use" +alias tr_disp2 "ent_fire button_sentry2d use" +alias tr_disp3 "ent_fire button_sentry3d use" +alias tr_blocks "ent_fire button_block2 use" +alias tr_blockl "ent_fire button_block use" +alias tr_deploengi "ent_fire button_engy use" +alias tr_changeteam "ent_fire button_teamswitch use" +alias tr_eraseone "ent_fire button_clearout_single use" +alias tr_eraseall "ent_fire button_clearout use" +alias tr_sr_up "ent_fire button_xbak use" +alias tr_sr_down "ent_fire button_xfwd use" +alias tr_sr_left "ent_fire button_ybak use" +alias tr_sr_right "ent_fire button_yfwd use" +alias tr_sr_cw "ent_fire button_clockwise use" +alias tr_sr_ccw "ent_fire button_counterclockwise use" + +alias tr_sr "ent_fire branch_sr_enabling test" +alias tr_sr_ON "ent_fire branch_sr_enabling setvaluetest 0" +alias tr_sr_OFF "ent_fire branch_sr_enabling setvaluetest 1" + +alias tr_wrench "ent_fire wrench_toggle test" +alias tr_wrench_ON "ent_fire wrench_toggle setvaluetest 0" +alias tr_wrench_OFF "ent_fire wrench_toggle setvaluetest 1" + +// Extra +alias tr_attackonce "ent_fire attack_once trigger" +alias tr_deployonce "ent_fire spawncounter add 1" +alias tr_iwantmyhoovy "ent_fire engicounter_case_1 invalue 200" + +alias tr_tele_0 "ent_fire teleport_relay_0 Activate" +alias tr_tele_1 "ent_fire teleport_relay_1 Activate" +alias tr_tele_2 "ent_fire teleport_relay_2 Activate" +alias tr_tele_3 "ent_fire teleport_relay_3 Activate" +alias tr_tele_4 "ent_fire teleport_relay_4 Activate" +alias tr_tele_5 "ent_fire teleport_relay_5 Activate" +alias tr_tele_6 "ent_fire teleport_relay_6 Activate" +alias tr_tele_7 "ent_fire teleport_relay_7 Activate" +alias tr_tele_8 "ent_fire teleport_relay_8 Activate" +alias tr_tele_9 "ent_fire teleport_relay_9 Activate" +alias tr_tele_10 "ent_fire teleport_relay_10 Activate" +echo "=======================" +echo "tr_walkway cvars loaded" +echo "=======================" \ No newline at end of file diff --git a/_modern casual preloader/cfg/tr_walkway/games/gsoldier.cfg b/_modern casual preloader/cfg/tr_walkway/games/gsoldier.cfg new file mode 100644 index 0000000..4edf0dc --- /dev/null +++ b/_modern casual preloader/cfg/tr_walkway/games/gsoldier.cfg @@ -0,0 +1,197 @@ +// Galaga soldier +// This is a test mini game to demostrate the codin system in tr_walkway. To play this game, enter "exec gsoldier" in the +// console. This will rebind w, s and mouse1. It will go back to normal when the game ends. + +// Soldier actions +// ---------------------------------- +// Soldier position +alias soldpos1 "bot_teleport Soldier_Boy -240 2229 -434 0 90 0.000000; alias soldiermoveup soldpos2" +alias soldpos2 "bot_teleport Soldier_Boy -140 2229 -434 0 90 0.000000; alias soldiermoveup soldpos3; alias soldiermovedown soldpos1" +alias soldpos3 "bot_teleport Soldier_Boy -40 2229 -434 0 90 0.000000; alias soldiermoveup soldpos4; alias soldiermovedown soldpos2" +alias soldpos4 "bot_teleport Soldier_Boy 60 2229 -434 0 90 0.000000; alias soldiermoveup soldpos5; alias soldiermovedown soldpos3" +alias soldpos5 "bot_teleport Soldier_Boy 160 2229 -434 0 90 0.000000; alias soldiermoveup; alias soldiermovedown soldpos4" +// Soldier movement +alias soldiermoveup soldpos4 +alias soldiermovedown soldpos2 +// Soldier fire +alias +soldattack "bot_forcefireweapon tf_weapon_rocketlauncher" +alias -soldattack "bot_forcefireweapon ^^" + +// Scout handling +// ---------------------------------- +// Scout spawning position +alias case4scouts "alias tr_ONCASE05 tr_ONCASE00;alias tr_ONCASE10 tr_ONCASE00;alias tr_ONCASE06 tr_ONCASE01;alias tr_ONCASE11 tr_ONCASE01;alias tr_ONCASE07 tr_ONCASE02;alias tr_ONCASE12 tr_ONCASE02;alias tr_ONCASE08 tr_ONCASE03;alias tr_ONCASE13 tr_ONCASE03;alias tr_ONCASE09 tr_ONCASE04;alias tr_ONCASE14 tr_ONCASE04;alias tr_ONCASE15 tr_CASERAND" +alias scoutdamage +// Scout 1 +alias tpscout11 "bot_teleport Invader_Scout_1 -240 3050 -434 0 270 0.000000" +alias tpscout12 "bot_teleport Invader_Scout_1 -140 3050 -434 0 270 0.000000" +alias tpscout13 "bot_teleport Invader_Scout_1 -40 3050 -434 0 270 0.000000" +alias tpscout14 "bot_teleport Invader_Scout_1 60 3050 -434 0 270 0.000000" +alias tpscout15 "bot_teleport Invader_Scout_1 160 3050 -434 0 270 0.000000" +alias tpdamage1 "bot_teleport Invader_Scout_1 1664 566 510 0 270 0.000000" +// Scout 2 +alias tpscout21 "bot_teleport Invader_Scout_2 -240 3050 -434 0 270 0.000000" +alias tpscout22 "bot_teleport Invader_Scout_2 -140 3050 -434 0 270 0.000000" +alias tpscout23 "bot_teleport Invader_Scout_2 -40 3050 -434 0 270 0.000000" +alias tpscout24 "bot_teleport Invader_Scout_2 60 3050 -434 0 270 0.000000" +alias tpscout25 "bot_teleport Invader_Scout_2 160 3050 -434 0 270 0.000000" +alias tpdamage2 "bot_teleport Invader_Scout_2 1664 566 510 0 270 0.000000" +// Scout 3 +alias tpscout31 "bot_teleport Invader_Scout_3 -240 3050 -434 0 270 0.000000" +alias tpscout32 "bot_teleport Invader_Scout_3 -140 3050 -434 0 270 0.000000" +alias tpscout33 "bot_teleport Invader_Scout_3 -40 3050 -434 0 270 0.000000" +alias tpscout34 "bot_teleport Invader_Scout_3 60 3050 -434 0 270 0.000000" +alias tpscout35 "bot_teleport Invader_Scout_3 160 3050 -434 0 270 0.000000" +alias tpdamage3 "bot_teleport Invader_Scout_3 1664 566 510 0 270 0.000000" +// Scout 4 +alias tpscout41 "bot_teleport Invader_Scout_4 -240 3050 -434 0 270 0.000000" +alias tpscout42 "bot_teleport Invader_Scout_4 -140 3050 -434 0 270 0.000000" +alias tpscout43 "bot_teleport Invader_Scout_4 -40 3050 -434 0 270 0.000000" +alias tpscout44 "bot_teleport Invader_Scout_4 60 3050 -434 0 270 0.000000" +alias tpscout45 "bot_teleport Invader_Scout_4 160 3050 -434 0 270 0.000000" +alias tpdamage4 "bot_teleport Invader_Scout_4 1664 566 510 0 270 0.000000" +// Scout 5 +alias tpscout51 "bot_teleport Invader_Scout_5 -240 3050 -434 0 270 0.000000" +alias tpscout52 "bot_teleport Invader_Scout_5 -140 3050 -434 0 270 0.000000" +alias tpscout53 "bot_teleport Invader_Scout_5 -40 3050 -434 0 270 0.000000" +alias tpscout54 "bot_teleport Invader_Scout_5 60 3050 -434 0 270 0.000000" +alias tpscout55 "bot_teleport Invader_Scout_5 160 3050 -434 0 270 0.000000" +alias tpdamage5 "bot_teleport Invader_Scout_5 1664 566 510 0 270 0.000000" +// Scout 6 +alias tpscout61 "bot_teleport Invader_Scout_6 -240 3050 -434 0 270 0.000000" +alias tpscout62 "bot_teleport Invader_Scout_6 -140 3050 -434 0 270 0.000000" +alias tpscout63 "bot_teleport Invader_Scout_6 -40 3050 -434 0 270 0.000000" +alias tpscout64 "bot_teleport Invader_Scout_6 60 3050 -434 0 270 0.000000" +alias tpscout65 "bot_teleport Invader_Scout_6 160 3050 -434 0 270 0.000000" +alias tpdamage6 "bot_teleport Invader_Scout_6 1664 566 510 0 270 0.000000" +// Scout 7 +alias tpscout71 "bot_teleport Invader_Scout_7 -240 3050 -434 0 270 0.000000" +alias tpscout72 "bot_teleport Invader_Scout_7 -140 3050 -434 0 270 0.000000" +alias tpscout73 "bot_teleport Invader_Scout_7 -40 3050 -434 0 270 0.000000" +alias tpscout74 "bot_teleport Invader_Scout_7 60 3050 -434 0 270 0.000000" +alias tpscout75 "bot_teleport Invader_Scout_7 160 3050 -434 0 270 0.000000" +alias tpdamage7 "bot_teleport Invader_Scout_7 1664 566 510 0 270 0.000000" +// Scout 8 +alias tpscout81 "bot_teleport Invader_Scout_8 -240 3050 -434 0 270 0.000000" +alias tpscout82 "bot_teleport Invader_Scout_8 -140 3050 -434 0 270 0.000000" +alias tpscout83 "bot_teleport Invader_Scout_8 -40 3050 -434 0 270 0.000000" +alias tpscout84 "bot_teleport Invader_Scout_8 60 3050 -434 0 270 0.000000" +alias tpscout85 "bot_teleport Invader_Scout_8 160 3050 -434 0 270 0.000000" +alias tpdamage8 "bot_teleport Invader_Scout_8 1664 566 510 0 270 0.000000" +// Scout 9 +alias tpscout91 "bot_teleport Invader_Scout_9 -240 3050 -434 0 270 0.000000" +alias tpscout92 "bot_teleport Invader_Scout_9 -140 3050 -434 0 270 0.000000" +alias tpscout93 "bot_teleport Invader_Scout_9 -40 3050 -434 0 270 0.000000" +alias tpscout94 "bot_teleport Invader_Scout_9 60 3050 -434 0 270 0.000000" +alias tpscout95 "bot_teleport Invader_Scout_9 160 3050 -434 0 270 0.000000" +alias tpdamage9 "bot_teleport Invader_Scout_9 1664 566 510 0 270 0.000000" +// Scout 10 +alias tpscout101 "bot_teleport Invader_Scout_10 -240 3050 -434 0 270 0.000000" +alias tpscout102 "bot_teleport Invader_Scout_10 -140 3050 -434 0 270 0.000000" +alias tpscout103 "bot_teleport Invader_Scout_10 -40 3050 -434 0 270 0.000000" +alias tpscout104 "bot_teleport Invader_Scout_10 60 3050 -434 0 270 0.000000" +alias tpscout105 "bot_teleport Invader_Scout_10 160 3050 -434 0 270 0.000000" +alias tpdamage10 "bot_teleport Invader_Scout_10 1664 566 510 0 270 0.000000" +// Change switch for the scouts starting point +alias deployscout1 "alias tr_ONCASE00 tpscout11; alias tr_ONCASE01 tpscout12;alias tr_ONCASE02 tpscout13;alias tr_ONCASE03 tpscout14;alias tr_ONCASE04 tpscout15" +alias deployscout2 "alias tr_ONCASE00 tpscout21; alias tr_ONCASE01 tpscout22;alias tr_ONCASE02 tpscout23;alias tr_ONCASE03 tpscout24;alias tr_ONCASE04 tpscout25" +alias deployscout3 "alias tr_ONCASE00 tpscout31; alias tr_ONCASE01 tpscout32;alias tr_ONCASE02 tpscout33;alias tr_ONCASE03 tpscout34;alias tr_ONCASE04 tpscout35" +alias deployscout4 "alias tr_ONCASE00 tpscout41; alias tr_ONCASE01 tpscout42;alias tr_ONCASE02 tpscout43;alias tr_ONCASE03 tpscout44;alias tr_ONCASE04 tpscout45" +alias deployscout5 "alias tr_ONCASE00 tpscout51; alias tr_ONCASE01 tpscout52;alias tr_ONCASE02 tpscout53;alias tr_ONCASE03 tpscout54;alias tr_ONCASE04 tpscout55" +alias deployscout6 "alias tr_ONCASE00 tpscout61; alias tr_ONCASE01 tpscout62;alias tr_ONCASE02 tpscout63;alias tr_ONCASE03 tpscout64;alias tr_ONCASE04 tpscout65" +alias deployscout7 "alias tr_ONCASE00 tpscout71; alias tr_ONCASE01 tpscout72;alias tr_ONCASE02 tpscout73;alias tr_ONCASE03 tpscout74;alias tr_ONCASE04 tpscout75" +alias deployscout8 "alias tr_ONCASE00 tpscout81; alias tr_ONCASE01 tpscout82;alias tr_ONCASE02 tpscout83;alias tr_ONCASE03 tpscout84;alias tr_ONCASE04 tpscout85" +alias deployscout9 "alias tr_ONCASE00 tpscout91; alias tr_ONCASE01 tpscout92;alias tr_ONCASE02 tpscout93;alias tr_ONCASE03 tpscout94;alias tr_ONCASE04 tpscout95" +alias deployscout10 "alias tr_ONCASE00 tpscout101; alias tr_ONCASE01 tpscout102;alias tr_ONCASE02 tpscout103;alias tr_ONCASE03 tpscout104;alias tr_ONCASE04 tpscout105" +// Deploy chain +alias choosescout "choosescout1" +alias choosescout1 "deployscout1; alias scoutdamage tpdamage1; alias choosescout choosescout2" +alias choosescout2 "deployscout2; alias scoutdamage tpdamage2; alias choosescout choosescout3" +alias choosescout3 "deployscout3; alias scoutdamage tpdamage3; alias choosescout choosescout4" +alias choosescout4 "deployscout4; alias scoutdamage tpdamage4; alias choosescout choosescout5" +alias choosescout5 "deployscout5; alias scoutdamage tpdamage5; alias choosescout choosescout6" +alias choosescout6 "deployscout6; alias scoutdamage tpdamage6; alias choosescout choosescout7" +alias choosescout7 "deployscout7; alias scoutdamage tpdamage7; alias choosescout choosescout8" +alias choosescout8 "deployscout8; alias scoutdamage tpdamage8; alias choosescout choosescout9" +alias choosescout9 "deployscout9; alias scoutdamage tpdamage9; alias choosescout choosescout10" +alias choosescout10 "deployscout10; alias scoutdamage tpdamage10; alias choosescout choosescout1" + + +// Keys setup +// ---------------------------------- +bind "w" "soldiermoveup" +bind "s" "soldiermovedown" +bind "MOUSE1" "+soldattack" + +// Initial configuration +// ---------------------------------- +ent_fire custom_timer_a refiretime 0.01 +ent_fire custom_timer_b refiretime 5 +ent_fire custom_timer_c refiretime 5 + +// Variable A will be the ammount of bots left to be released per wave. The initial wave +// will have 10 scouts +// Variable B will be the total ammount of HP of the player. When it reach zero, the +// player will die and the game will end +ent_fire custom_Avar setvalue 10 +ent_fire custom_Avarcomp setcomparevalue 0 +ent_fire custom_Bvar setvalue 200 +ent_fire custom_Bvarcomp setcomparevalue 0 + +tr_kick +tr_deploy_no +tr_POSEVENT_ON +setpos -491.211639 2526.273438 -91.027405;setang 42.176033 3.626426 0.000000 + +alias tr_ONAEQUAL newlevel + +// Hurt the player when a bot reaches the middle point of th walkway, reduce the B +// variable by 20 and if B reaches 0, kill the player and end the game +alias tr_ONMID "hurtme 20;ent_fire custom_Bvar subtract 20" +alias tr_ONBEQUAL "kill;play misc/your_team_lost.mp3; tr_TEXT2;tr_TIMERC_ON;alias tr_ONTIMERC endgsoldier" + +ent_fire custom_text1 addoutput "message Prepare for a new wave" +ent_fire custom_text2 addoutput "message You fail!" +ent_fire custom_text3 addoutput "message You won!" + +// Start game +// ---------------------------------- +alias tr_ONTRIGGER "tr_TIMERA_ON; alias tr_ONTIMERA configstep1" + +tr_RELAY + +alias configstep1 "tr_default; alias tr_ONTIMERA configstep2" +alias configstep2 "tr_deploy_no; alias tr_ONTIMERA configstep3" +alias configstep3 "bot -team red -class soldier -name Soldier_Boy; bot -team blue -class scout -name Invader_Scout_1; bot -team blue -class scout -name Invader_Scout_2; bot -team blue -class scout -name Invader_Scout_3; bot -team blue -class scout -name Invader_Scout_4; bot -team blue -class scout -name Invader_Scout_5; alias tr_ONTIMERA configstep4" +alias configstep4 "tr_killmid_ON; bot -team blue -class scout -name Invader_Scout_6; bot -team blue -class scout -name Invader_Scout_7; bot -team blue -class scout -name Invader_Scout_8; bot -team blue -class scout -name Invader_Scout_9; bot -team blue -class scout -name Invader_Scout_10; alias tr_ONTIMERA configstep5" +alias configstep5 "tr_hurt_on; tr_crits_OFF; alias tr_ONTIMERA configstep6" +alias configstep6 "tr_resupply_OFF; alias tr_ONTIMERA configstep7" +alias configstep7 "alias tr_ONTIMERB scoutstep1; alias tr_ONTIMERA configstep8" +alias configstep8 "tr_TIMERB_ON; alias tr_ONTIMERA configstep9" +alias configstep9 "soldpos3;play ui/gamestartup4.mp3; alias tr_ONTIMERA; tr_TIMERA_OFF" + +// Scout spawns +// ---------------------------------- +alias scoutstep1 "tr_TIMERA_ON; alias tr_ONTIMERA scoutstep2" +alias scoutstep2 "case4scouts; alias tr_ONTIMERA scoutstep3" +alias scoutstep3 "choosescout; alias tr_ONTIMERA scoutstep4" +alias scoutstep4 "scoutdamage; alias tr_ONTIMERA scoutstep5" +alias scoutstep5 "tr_CASERAND; alias tr_ONTIMERA scoutstep6" +alias scoutstep6 "tr_ADEC; alias tr_ONTIMERA; tr_TIMERA_OFF" + +// New level +// ---------------------------------- +alias newlevel "tr_TIMERC_ON; tr_TIMERB_OFF; alias tr_ONTIMERC endlvlstep1" + +alias endlvlstep1 "nextlevel; alias tr_ONTIMERC endlvlstep2" +alias endlvlstep2 "bot_refill; tr_TIMERB_ON; tr_TIMERC_OFF; alias tr_ONTIMERC" + +alias nextlevel "gotolevel2" +alias gotolevel2 "tr_TEXT1; play ui/gamestartup2.mp3; ent_fire custom_timer_b refiretime 4; ent_fire custom_Avar setvalue 20; alias nextlevel gotolevel3" +alias gotolevel3 "tr_TEXT1; play ui/gamestartup5.mp3; ent_fire custom_timer_b refiretime 3; ent_fire custom_Avar setvalue 30; tr_speed_scout; alias nextlevel gotolevel4" +alias gotolevel4 "tr_TEXT1; play ui/gamestartup6.mp3; ent_fire custom_timer_b refiretime 0.5; ent_fire custom_Avar setvalue 10;alias nextlevel gotolevel5" +alias gotolevel5 "tr_TEXT3; play misc/your_team_won.mp3; alias tr_ONTIMERB endgsoldier" + +// Shut down +// ---------------------------------- +alias endgsoldier "kick Soldier_Boy;kick Invader_Scout_1;kick Invader_Scout_2;kick Invader_Scout_3;kick Invader_Scout_4;kick Invader_Scout_5;kick Invader_Scout_6;kick Invader_Scout_7;kick Invader_Scout_8;kick Invader_Scout_9;kick Invader_Scout_10;bind a +moveleft; bind d +moveright; bind s +back; bind w +forward; bind MOUSE1 +attack;tr_TIMERA_OFF;tr_TIMERB_OFF;tr_TIMERC_OFF; tr_default; tr_POSEVENT_OFF" \ No newline at end of file diff --git a/_modern casual preloader/cfg/tr_walkway/help.cfg b/_modern casual preloader/cfg/tr_walkway/help.cfg new file mode 100644 index 0000000..11927e3 --- /dev/null +++ b/_modern casual preloader/cfg/tr_walkway/help.cfg @@ -0,0 +1,307 @@ +echo "==================================================================" +echo "-----------------------" +echo " TR_WALKWAY CVARS LIST" +echo "-----------------------" +echo "" +echo "Every commands except tr_help, tr_loadcvars and tr_teleport need to be" +echo "loaded using the command tr_loadcvars when joining a server" +echo "" +echo "For the ent_fire commands, replace each * with quotes" +echo "" +echo "-----------------------" +echo "--- CLIENT COMMANDS ---" +echo "-----------------------" +echo "These commands works for clients in servers" +echo "" +echo "tr_teleport || Teleports the player to the last teleport destination selected" +echo "tr_help || Shows the tr_ cvar list" +echo "tr_loadcvars || Enables all other cvars" +echo "" +echo "-----------------------" +echo "--- SERVER COMMANDS ---" +echo "-----------------------" +echo "These commands doesn't work in servers that disables the ent_fire command" +echo "" +echo "--- Console only commands ---" +echo "tr_attackonce || Makes all bots attack once (turns off constant attack)" +echo "tr_deployonce || Deploy one bot in the track" +echo "" +echo "--- Management ---" +echo "tr_kill || Kill all bots" +echo "tr_kick || Kick all bots" +echo "" +echo "tr_maxbots_up || Raises maximum ammount of bots on the walkway" +echo "tr_maxbots_down || Lowers maximum ammount of bots on the walkway" +echo "" +echo "tr_default || Reset map configurations (bot ammount, class and ramp slope unaffected)" +echo "" +echo "tr_maxbots_16 || Set the maximum ammount of bots to 16 (default)" +echo "tr_maxbots_14 || Set the maximum ammount of bots to 14" +echo "tr_maxbots_12 || Set the maximum ammount of bots to 12" +echo "tr_maxbots_10 || Set the maximum ammount of bots to 10" +echo "tr_maxbots_08 || Set the maximum ammount of bots to 8" +echo "tr_maxbots_05 || Set the maximum ammount of bots to 5" +echo "tr_maxbots_03 || Set the maximum ammount of bots to 3" +echo "tr_maxbots_01 || Set the maximum ammount of bots to 1" +echo "tr_maxbots_00 || Do not spawn bots" +echo "" +echo "--- Spawn ---" +echo "tr_spawn_random || Spawn random classes (starting bots)" +echo "tr_spawn_all || Spawn 2 bots of every class" +echo "tr_spawn_light || Spawn engineers, scouts, snipers and spies" +echo "tr_spawn_headshot || Spawn engineers, spies, snipers and demomen with headshot correction" +echo "tr_spawn_comp || Spawn scouts, soldiers, demomen and medics" +echo "tr_spawn_airblast || Spawn soldiers and demomen" +echo "" +echo "tr_spawn_pyros || Spawn pyros" +echo "tr_spawn_scouts || Spawn scouts" +echo "tr_spawn_heavies || Spawn heavies" +echo "tr_spawn_medics || Spawn medics" +echo "tr_spawn_spies || Spawn spies" +echo "tr_spawn_demomen || Spawn demomen" +echo "tr_spawn_soldiers || Spawn soldiers" +echo "tr_spawn_engineers || Spawn engineers" +echo "tr_spawn_snipers || Spawn snipers" +echo "" +echo "tr_spawn_1pyro || Spawn one pyro" +echo "tr_spawn_1scout || Spawn one scout" +echo "tr_spawn_1heavy || Spawn one heavy" +echo "tr_spawn_1medic || Spawn one medic" +echo "tr_spawn_1spy || Spawn one spy" +echo "tr_spawn_1demoman || Spawn one demoman" +echo "tr_spawn_1soldier || Spawn one soldier" +echo "tr_spawn_1engineer || Spawn one engineer" +echo "tr_spawn_1sniper || Spawn one sniper" +echo "tr_spawn_1random || Spawn one random bot" +echo "" +echo "--- Movement speed ---" +echo "tr_speed_up || Raises movement speed" +echo "tr_speed_down || Lowers movement speed" +echo "" +echo "tr_speed_no || Stops movement" +echo "tr_speed_snail || Snail movement speed" +echo "tr_speed_heavy || Heavy movement speed" +echo "tr_speed_soldier || Soldier movement speed" +echo "tr_speed_demoman || Demoman movement speed" +echo "tr_speed_normal || Average movement speed (default)" +echo "tr_speed_medic || Medic movement speed" +echo "tr_speed_scout || Scout movement speed" +echo "tr_speed_jet || Jet movement speed" +echo "For chosing other speeds, use:" +echo "ent_fire walk addoutput *speed xxx*" +echo "" +echo "tr_stop || Toggles spawns and movement (turns off all dodge options)" +echo "" +echo "--- Deploy time ---" +echo "tr_deploy_up || Raises deploy time" +echo "tr_deploy_down || Lowers deploy time" +echo "" +echo "tr_deploy_no || Stops deploy" +echo "tr_deploy_05 || Set 0.5 seconds between bots spawns in the map" +echo "tr_deploy_10 || Set 1 second between bots spawns in the map" +echo "tr_deploy_15 || Set 1.5 seconds between bots spawns in the map" +echo "tr_deploy_20 || Set 2 seconds between bots spawns in the map" +echo "tr_deploy_30 || Set 3 seconds between bots spawns in the map (default)" +echo "tr_deploy_40 || Set 4 seconds between bots spawns in the map" +echo "tr_deploy_60 || Set 6 seconds between bots spawns in the map" +echo "tr_deploy_120 || Set 12 seconds between bots spawns in the map" +echo "For choosing other times, use:" +echo "ent_fire spawntimer refiretime