Upload from upload_mods.ps1
This commit is contained in:
28
Config/entityclasses.xml
Normal file
28
Config/entityclasses.xml
Normal 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>
|
||||
Reference in New Issue
Block a user