Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:16:38 +09:30
commit 36d2846463
7 changed files with 1887 additions and 0 deletions

28
Config/entityclasses.xml Normal file
View File

@@ -0,0 +1,28 @@
<configs>
<!-- CautiousPancakeDefendPOIFromHorde -->
<insertAfter xpath="/entity_classes/entity_class[@name='playerMale']/effect_group/triggered_effect[@trigger='onSelfEnteredGame']">
<!-- clear all buffs on entering the game, in case of exit/crash during quest -->
<triggered_effect trigger="onSelfEnteredGame" action="CallGameEvent" event="tier1_courier_rescue_stop"/>
<triggered_effect trigger="onSelfEnteredGame" action="CallGameEvent" event="tier2_courier_rescue_stop"/>
<triggered_effect trigger="onSelfEnteredGame" action="CallGameEvent" event="tier3_courier_rescue_stop"/>
<triggered_effect trigger="onSelfEnteredGame" action="CallGameEvent" event="tier4_courier_rescue_stop"/>
<triggered_effect trigger="onSelfEnteredGame" action="CallGameEvent" event="tier5_courier_rescue_stop"/>
</insertAfter>
<!-- give points and coins when zombies are killed -->
<!-- Question - should I add a requirement on the gameevent call to stop it being called for every zombie kill, and have it only run when on the quest?
Trying this with the requirement "OnQuest" from GameEvents didn't work - shelving this for now -->
<append xpath="/entity_classes/entity_class[@name='zombieTemplateMale']/effect_group" >
<triggered_effect trigger="onSelfDied" target="other" action="ModifyCVar" cvar="cvar_t1_courier_rescue_kill_counter" operation="add" value="1"/>
<triggered_effect trigger="onSelfDied" target="other" action="ModifyCVar" cvar="cvar_t2_courier_rescue_kill_counter" operation="add" value="1"/>
<triggered_effect trigger="onSelfDied" target="other" action="ModifyCVar" cvar="cvar_t3_courier_rescue_kill_counter" operation="add" value="1"/>
<triggered_effect trigger="onSelfDied" target="other" action="ModifyCVar" cvar="cvar_t4_courier_rescue_kill_counter" operation="add" value="1"/>
<triggered_effect trigger="onSelfDied" target="other" action="ModifyCVar" cvar="cvar_t5_courier_rescue_kill_counter" operation="add" value="1"/>
<!--<triggered_effect trigger="onSelfDied" target="other" action="CallGameEvent" event="tier1_courier_rescue_spawn1"/>-->
</append>
</configs>