• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Chellenge Rewards - Help Needed

Writing a new mod and everything is working fine but cant get the rewards to be given when going to the trader. I have the sample code below

<challenge name="KillzombieBurnt" title_key="challengeKillBurntDGZ" icon="ui_game_symbol_skull" group="challengeKillBurnt"
short_description_key="KillBurntShort" description_key="KillBurntDGZDesc"
reward_text_key="challengeKillRewardMods" reward_event="reward_burnt_zombie_slayer">
<objective type="Kill" entity_names="zombieBurnt" count="50"/>
</challenge>

When i kill them it counts them, when i complete it it allows me to claim it, but when i go to the trader i get nothin. I believe it comes from the reward_event="reward_burnt_zombie_slayer"> tag in challenges.xml but not sure what xml i need to edit to add the rewards.
 
That says to run the gameevent "reward_burnt_zombie_slayer" in the gameevent.xml once you claim it. As there are no gameevents in vanilla with that name I assume its an award you wish to give specifically. have you made one there so it says what the award actually dose?
 
Or were you meant to give it the vanilla games "challenge_group_reward_zombie_slayer". if not, you can use that one to see how to give the quest to go to trader.
PS although the one below it "reward_any_zombie_slayer" gives a better example.
 
Back
Top