388 lines
15 KiB
INI
388 lines
15 KiB
INI
// 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 "=======================" |