BFT2020
Well-known member
So I been trying to figure out what I am doing wrong here and afraid I am missing something obvious:
This code makes a quest to kill 4 different types of animals to get two of the hunting perk books as a reward when you turn it in to the trader
<quest id="quest_Hunter_pt2">
<property name="name" value="Hunter - Hostile game"/>
<property name="subtitle" value="Hostile Animals"/>
<property name="description" value="Kill them before they kill you."/>
<property name="icon" value="ui_game_symbol_armor_leather"/>
<property name="shareable" value="false"/>
<property name="category" value="Challenge"/>
<property name="difficulty" value="hard"/>
<property name="completiontype" value="TurnIn"/>
<objective type="AnimalKill" id="animalSnake" value="10" phase="1"/>
<objective type="AnimalKill" id="animalBoar" value="10" phase="1"/>
<objective type="AnimalKill" id="animalCoyote" value="10" phase="1"/>
<objective type="AnimalKill" id="animalWolf" value="10" phase="1"/>
<objective type="InteractWithNPC">
<property name="phase" value="2"/>
</objective>
<reward type="Item" id="bookHuntingJournalCoyotes" value="1"/>
<reward type="Item" id="bookHuntingJournalWolves" value="1"/>
</quest>
The specific issue I am seeing is with the snakes. I kill snakes in the game, but the count stays at 0/10. For the other animals on the list, they increase by 1 every time I kill one of them and I get the green checkmark once I reach 10. I got 3 other hunter quests that have no issues as far as I can tell (one of the easiest ones is to kill rabbits, chickens, and stags/does and I see the count increasing for all 3 types and got the books once I completed it).
There are zero errors from the quest file when it gets overridden by my mod, and I don't get any errors or warnings when I kill a snake in game. For some reason, the game is not advancing the kill count for snakes. I even compared the snake entity with the wolf entity in entityclasses to see if I noticed something obviously different between the two to account for the wolves count advancing while the snakes count does not.
Any help or insight would be appreciated. I also don't mind canceling the quest and giving me a new one to try different ideas or suggestions.
Thanks
(p.s. - The Interact works fine as the traders are currently the only NPCs in the game, but realize I might have to update that part of the code for future development versions / final game).
This code makes a quest to kill 4 different types of animals to get two of the hunting perk books as a reward when you turn it in to the trader
<quest id="quest_Hunter_pt2">
<property name="name" value="Hunter - Hostile game"/>
<property name="subtitle" value="Hostile Animals"/>
<property name="description" value="Kill them before they kill you."/>
<property name="icon" value="ui_game_symbol_armor_leather"/>
<property name="shareable" value="false"/>
<property name="category" value="Challenge"/>
<property name="difficulty" value="hard"/>
<property name="completiontype" value="TurnIn"/>
<objective type="AnimalKill" id="animalSnake" value="10" phase="1"/>
<objective type="AnimalKill" id="animalBoar" value="10" phase="1"/>
<objective type="AnimalKill" id="animalCoyote" value="10" phase="1"/>
<objective type="AnimalKill" id="animalWolf" value="10" phase="1"/>
<objective type="InteractWithNPC">
<property name="phase" value="2"/>
</objective>
<reward type="Item" id="bookHuntingJournalCoyotes" value="1"/>
<reward type="Item" id="bookHuntingJournalWolves" value="1"/>
</quest>
The specific issue I am seeing is with the snakes. I kill snakes in the game, but the count stays at 0/10. For the other animals on the list, they increase by 1 every time I kill one of them and I get the green checkmark once I reach 10. I got 3 other hunter quests that have no issues as far as I can tell (one of the easiest ones is to kill rabbits, chickens, and stags/does and I see the count increasing for all 3 types and got the books once I completed it).
There are zero errors from the quest file when it gets overridden by my mod, and I don't get any errors or warnings when I kill a snake in game. For some reason, the game is not advancing the kill count for snakes. I even compared the snake entity with the wolf entity in entityclasses to see if I noticed something obviously different between the two to account for the wolves count advancing while the snakes count does not.
Any help or insight would be appreciated. I also don't mind canceling the quest and giving me a new one to try different ideas or suggestions.
Thanks
(p.s. - The Interact works fine as the traders are currently the only NPCs in the game, but realize I might have to update that part of the code for future development versions / final game).