diff --git a/srconfigs/cats/fullgame.cfg b/srconfigs/cats/fullgame.cfg index 6970758..d370010 100644 --- a/srconfigs/cats/fullgame.cfg +++ b/srconfigs/cats/fullgame.cfg @@ -10,6 +10,7 @@ cond "game=portal2 & map=ep1_testchmb_00" sar_speedrun_category "Aperture cond "game=portal2 & map=cosmogony_release1" sar_speedrun_category "Cosmogony" cond "game=portal2 & map=dfd_1_intro" sar_speedrun_category "Designed for Danger" cond "game=portal2 & map=sp_dilapidation_p0" sar_speedrun_category "Dilapidation" +cond "game=portal2 & map=sp_a1_divinity_intro" sar_speedrun_category "Divinity: Chapter 1" cond "game=portal2 & map=sp_a1_beginning" sar_speedrun_category "Eidolon" cond "game=portal2 & map=Memories_Chapter_I" sar_speedrun_category "Memories" cond "game=portal2 & map=sp_a260201_room_1alpha" sar_speedrun_category "Mind Escape Chambers" @@ -58,23 +59,24 @@ conds "game=reloaded | game=aptag | game=infra" "developer 0" "developer 1" cond "map=sp_a5_credits | map=credits | map=credits_museum | map=celeste_moonroom | map=main_menu" svar_set __suppress_record 1 // Category-specific aliases -cond "game=portal2 & (menu | ?builtin_map=1)" sar_function __sp_reset_load conds ?sp_use_save=0 "map sp_a1_intro1" ?sp_use_save=1 "load containerridesave" ?sp_use_save=2 "load vault" -cond "game=portal2 & map=e1p1" sar_function __sp_reset_load conds ?afterhours_use_save=0 "map e1p1" ?afterhours_use_save=1 "load ah-vault" -cond "game=portal2 & map=ep1_testchmb_00" sar_function __sp_reset_load conds ?ireland_use_save=0 "map ep1_testchmb_00" ?ireland_use_save=1 "load vault" -cond "game=portal2 & map=sp_a260201_room_1alpha" sar_function __sp_reset_load conds ?mindescape_use_save=0 "map sp_a260201_room_1alpha" ?mindescape_use_save=1 "load vault" -cond "game=portal2 & map=testchmb_a_00" sar_function __sp_reset_load conds ?p1dp2_use_save=0 "map testchmb_a_00" ?p1dp2_use_save=1 "load vault" -cond "game=portal2 & map=sp_intro" sar_function __sp_reset_load conds ?welcomeback_use_save=0 "map sp_intro" ?welcomeback_use_save=1 "load vault" -cond "game=portal2 & map=cosmogony_release1" sar_function __sp_reset_load map cosmogony_release1 -cond "game=portal2 & map=dfd_1_intro" sar_function __sp_reset_load map dfd_1_intro -cond "game=portal2 & map=sp_dilapidation_p0" sar_function __sp_reset_load map sp_dilapidation_p0 -cond "game=portal2 & map=sp_a1_beginning" sar_function __sp_reset_load map sp_a1_beginning -cond "game=portal2 & map=Memories_Chapter_I" sar_function __sp_reset_load map Memories_Chapter_I -cond "game=portal2 & map=testchmb00" sar_function __sp_reset_load map testchmb00 -cond "game=portal2 & map=map1" sar_function __sp_reset_load map map1 -cond "game=portal2 & map=sp_lobby_1" sar_function __sp_reset_load map sp_lobby_1 -cond "game=mel" sar_function __sp_reset_load conds ?mel_use_save=0 "map st_a1_tramride" ?mel_use_save=1 "load tram" -cond "game=aptag & (menu | ?builtin_map=1)" sar_function __sp_reset_load conds ?aptag_use_save=0 "map gg_intro_wakeup" ?aptag_use_save=1 "load intro" -cond "game=aptag & map=sm_gg_intro_wakeup" sar_function __sp_reset_load map sm_gg_intro_wakeup +cond "game=portal2 & (menu | ?builtin_map=1)" sar_function __sp_reset_load conds ?sp_use_save=0 "changelevel sp_a1_intro1" ?sp_use_save=1 "load containerridesave" ?sp_use_save=2 "load vault" +cond "game=portal2 & map=e1p1" sar_function __sp_reset_load conds ?afterhours_use_save=0 "changelevel e1p1" ?afterhours_use_save=1 "load ah-vault" +cond "game=portal2 & map=ep1_testchmb_00" sar_function __sp_reset_load conds ?ireland_use_save=0 "changelevel ep1_testchmb_00" ?ireland_use_save=1 "load vault" +cond "game=portal2 & map=sp_a260201_room_1alpha" sar_function __sp_reset_load conds ?mindescape_use_save=0 "changelevel sp_a260201_room_1alpha" ?mindescape_use_save=1 "load vault" +cond "game=portal2 & map=testchmb_a_00" sar_function __sp_reset_load conds ?p1dp2_use_save=0 "changelevel testchmb_a_00" ?p1dp2_use_save=1 "load vault" +cond "game=portal2 & map=sp_intro" sar_function __sp_reset_load conds ?welcomeback_use_save=0 "changelevel sp_intro" ?welcomeback_use_save=1 "load vault" +cond "game=portal2 & map=cosmogony_release1" sar_function __sp_reset_load changelevel cosmogony_release1 +cond "game=portal2 & map=dfd_1_intro" sar_function __sp_reset_load changelevel dfd_1_intro +cond "game=portal2 & map=sp_dilapidation_p0" sar_function __sp_reset_load changelevel sp_dilapidation_p0 +cond "game=portal2 & map=sp_a1_divinity_intro" sar_function __sp_reset_load "sar_patch_viewcontrol 0; changelevel sp_a1_divinity_intro" +cond "game=portal2 & map=sp_a1_beginning" sar_function __sp_reset_load changelevel sp_a1_beginning +cond "game=portal2 & map=Memories_Chapter_I" sar_function __sp_reset_load changelevel Memories_Chapter_I +cond "game=portal2 & map=testchmb00" sar_function __sp_reset_load changelevel testchmb00 +cond "game=portal2 & map=map1" sar_function __sp_reset_load changelevel map1 +cond "game=portal2 & map=sp_lobby_1" sar_function __sp_reset_load changelevel sp_lobby_1 +cond "game=mel" sar_function __sp_reset_load conds ?mel_use_save=0 "changelevel st_a1_tramride" ?mel_use_save=1 "load tram" +cond "game=aptag & (menu | ?builtin_map=1)" sar_function __sp_reset_load conds ?aptag_use_save=0 "changelevel gg_intro_wakeup" ?aptag_use_save=1 "load intro" +cond "game=aptag & map=sm_gg_intro_wakeup" sar_function __sp_reset_load changelevel sm_gg_intro_wakeup cond "game=portal2" sar_alias do_reset "sar_speedrun_reset; stop; sv_allow_mobile_portals 0; __sp_reset_load" cond "game=srm" sar_alias do_reset "sar_speedrun_reset; stop; sv_allow_mobile_portals 0; map sp_a1_intro1" diff --git a/srconfigs/mkcats.cfg b/srconfigs/mkcats.cfg index 23d8eb1..aa1b56c 100644 --- a/srconfigs/mkcats.cfg +++ b/srconfigs/mkcats.cfg @@ -104,3 +104,8 @@ cond "game=aptag" sar_speedrun_cc_rule "Start" entity action=start map=sm_gg_in cond "game=aptag" sar_speedrun_cc_rule "Good Ending" entity action=stop map=sm_gg_stage_theend targetname=ele_exit_door inputname=Close cond "game=aptag" sar_speedrun_cc_rule "Bad Ending" entity action=stop map=sm_gg_stage_theend targetname=credits_video inputname=PlayMovie cond "game=aptag" sar_speedrun_cc_finish + +cond "game=portal2" sar_speedrun_cc_start "Divinity: Chapter 1" +cond "game=portal2" sar_speedrun_cc_rule "Start" entity action=start map=sp_a1_divinity_intro targetname=wakeup_camera inputname=Disable +cond "game=portal2" sar_speedrun_cc_rule "Finish" entity action=stop map=sp_a1_divinity_core01 targetname=InstanceAuto1-viewelevator inputname=Enable +cond "game=portal2" sar_speedrun_cc_finish