Jump to content

Quests.xml / requirements for Quests?


Recommended Posts

Learning by Looting The patch is coming and I want to do a quest - similar to an achievement to collect it, but like it is when you're working on a project ,
that you don't realize until later, @%$# I forgot something.
 
Question:
Is it Possible that you can put a requirement on a quest ?
 
Because after the follow quests i want to create a final quest with a reward.
But ONLY if alle other quests get done it before
 
EDIT:
Importent is for me that you have acces to all quests since gamestart and i put only 12 because of the windows.xml that it doesnt look like crap
<configs>
	<set xpath="/windows/window[@name='windowQuestObjectives']/rect[@name='content']/rect[@visible='{showquest}']/grid[@name='objectiveList']/@rows">20</set>
</configs>

 

 Any ideas ? how i can make this ? <3

 

Spoiler
<!--
	<remove xpath="/quests/quest[@id='quest_BasicSurvival1']/reward[@type='Exp']" />
	<append xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<reward type="Exp" value="0"/>
	</append>			
-->
<configs>
	<remove xpath="/quests/quest[@id='quest_BasicSurvival1']"/>
	
	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival2']">
		<quest id="quest_BasicSurvival1">
			<property name="group_name_key" value="quest_BasicSurvival"/>
			<property name="name_key" value="quest_BasicSurvival1"/>
			<property name="subtitle_key" value="quest_BasicSurvival1_subtitle"/>
			<property name="description_key" value="quest_BasicSurvival1_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_BasicSurvival_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<action type="TrackQuest"/>
			<objective type="FetchKeep" id="resourceYuccaFibers" value="10" phase="1"/>
			<objective type="Craft">
				<property name="phase" value="2"/>
				<property name="item" value="bedrollBlockVariantHelper"/>
				<property name="count" value="1"/>
			</objective>
			<objective type="BlockPlace" id="bedrollBlockVariantHelper" value="1" phase="2"/>
			<reward type="Exp" value="0"/>
			<reward type="Quest" id="quest_BasicSurvival2"/>
			<reward type="Quest" id="quest_Master_of_Collector"/>
		</quest>
	</insertBefore>

	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector"/>
			<property name="subtitle_key" value="quest_Master_of_Collector_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<reward type="Exp" value="0"/>
			<reward type="Quest" id="quest_Master_of_Collector1"/>
			<reward type="Quest" id="quest_Master_of_Collector2"/>
			<reward type="Quest" id="quest_Master_of_Collector3"/>
			<reward type="Quest" id="quest_Master_of_Collector4"/>
			<reward type="Quest" id="quest_Master_of_Collector5"/>
		</quest>
	</insertBefore>
	
	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector1">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector1"/>
			<property name="subtitle_key" value="quest_Master_of_Collector1_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector1_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceYuccaFibers" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRockSmall" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceWood" value="1" phase="1"/>				
			<objective type="FetchKeep" id="resourceBrokenGlass" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceBone" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceLeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceFishingWeight" value="1" phase="1"/>					
			<objective type="FetchKeep" id="resourceFeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapIron" value="1" phase="1"/>			
			<objective type="FetchKeep" id="drinkJarEmpty" value="1" phase="1"/>		
			<objective type="FetchKeep" id="drinkCanEmpty" value="1" phase="1"/>	
			<objective type="FetchKeep" id="drinkJarRiverWater" value="1" phase="1"/>	
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>

	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector2">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector2"/>
			<property name="subtitle_key" value="quest_Master_of_Collector2_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector2_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceTrophy1" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceTrophy2" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCloth" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePaper" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceAnimalFat" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCobblestones" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceMetalPipe" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapPolymers" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceGlue" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceNail" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapBrass" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodRottingFlesh" value="1" phase="1"/>	
			<reward type="Exp" value="0"/>		
		</quest>
	</insertBefore>

	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector3">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector3"/>
			<property name="subtitle_key" value="quest_Master_of_Collector3_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector3_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceCandleStick" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRadiator" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodEgg" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodShamSandwich" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropBlueberries" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropCorn" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodCropGraceCorn" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropPotato" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropMushrooms" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropYuccaFruit" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodCropPumpkin" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCropHopsFlower" value="1" phase="1"/>				
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>
	
	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector4">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector4"/>
			<property name="subtitle_key" value="quest_Master_of_Collector4_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector4_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceCropAloeLeaf" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCropChrysanthemumPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropCottonPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropGoldenrodPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropCoffeeBeans" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceScrapLead" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceForgedIron" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceForgedSteel" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceSnowBall" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceDoorKnob" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceAcid" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceSewingKit" value="1" phase="1"/>			
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>

	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector5">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector5"/>
			<property name="subtitle_key" value="quest_Master_of_Collector5_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector5_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceTestosteroneExtract" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceMilitaryFiber" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceElectricParts" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceMechanicalParts" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceArrowHeadIron" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceArrowHeadSteelAP" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceCoal" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePotassiumNitratePowder" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceGunPowder" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceOil" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePaint" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRepairKit" value="1" phase="1"/>				
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>

	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Master_of_Collector6">
			<property name="group_name_key" value="quest_Master_of_Collector"/>
			<property name="name_key" value="quest_Master_of_Collector6"/>
			<property name="subtitle_key" value="quest_Master_of_Collector6_subtitle"/>
			<property name="description_key" value="quest_Master_of_Collector6_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="quest"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Master_of_Collector_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceBuckshot" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceBulletCasing" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceBulletTip" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceRocketTip" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceRocketCasing" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceHubcap" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceAirFilter" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceCandyTin" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceHeadlight" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceLockPick" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceSpring" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceRepairKit" value="1" phase="1"/>				
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>
	
</configs>

 

 

Edited by M1cromanagement (see edit history)
Link to comment
Share on other sites

  • M1cromanagement changed the title to Quests.xml / requirements for Quests?

Here are some examples from my mod where I changed how you obtained the perk books and ammo crafting recipes


 

       <quest id="quest_ShotgunMessiah">
            <property name="name" value="Shotgun Messiah - Pipe Shotgun"/>
            <property name="subtitle" value="Pipe Shotgun"/>
            <property name="description" value="Craft and kill some zombies with the pipe shotgun"/>
            <property name="icon" value="ui_game_symbol_shotgun"/>
            <property name="shareable" value="false"/>
            <property name="category" value="Challenge"/>
            <property name="offer" value="Do this challenge and you can get yourself the Shotgun Messiah books."/>
            <property name="difficulty" value="hard"/>
            <property name="completiontype" value="TurnIn"/>

            <objective type="Craft" id="gunShotgunT0PipeShotgun" value="1" phase="1"/>
            
            <objective type="ZombieKill" value="15" phase="2"/>
            <requirement type="Holding" id="gunShotgunT0PipeShotgun" phase="2"/>

            <objective type="InteractWithNPC">
                <property name="phase" value="3"/>
            </objective>

            <reward type="Item" id="bookShotgunMessiahMaintenance" value="1"/>
            <reward type="Quest" id="quest_ShotgunMessiah_pt2"/>
            
        </quest>
    
        <quest id="quest_ShotgunMessiah_pt2">
            <property name="name" value="Shotgun Messiah - 100 kills with Double Barrel"/>
            <property name="subtitle" value="Double Barrel"/>
            <property name="description" value="Fetch a double barrel shotgun.  Z Hunting season is now open."/>
            <property name="icon" value="ui_game_symbol_shotgun"/>
            <property name="shareable" value="false"/>
            <property name="category" value="Challenge"/>
            <property name="difficulty" value="hard"/>
            <property name="completiontype" value="TurnIn"/>

            <objective type="Fetch" id="gunShotgunT1DoubleBarrel" value="1" phase="1"/>
            
            <objective type="ZombieKill" value="100" phase="2"/>
            <requirement type="Holding" id="gunShotgunT1DoubleBarrel" phase="2"/>

            <objective type="InteractWithNPC">
                <property name="phase" value="3"/>
            </objective>

            <reward type="Item" id="bookShotgunMessiahLimbShot" value="1"/>
            <reward type="Item" id="bookShotgunMessiahMagazine" value="1"/>    
            <reward type="Quest" id="quest_ShotgunMessiah_pt3"/>
            <reward type="Quest" id="quest_UrbanCombat_pt3"/>            
        </quest>

        <quest id="quest_ShotgunMessiah_pt3">
            <property name="name" value="Shotgun Messiah - 150 kills with Pump Action"/>
            <property name="subtitle" value="Pump Shotgun"/>
            <property name="description" value="Fetch a pump action shotgun and go to town with it."/>
            <property name="icon" value="ui_game_symbol_shotgun"/>
            <property name="shareable" value="false"/>
            <property name="category" value="Challenge"/>
            <property name="difficulty" value="hard"/>
            <property name="completiontype" value="TurnIn"/>
            
            <objective type="ZombieKill" value="150" phase="1"/>
            <requirement type="Holding" id="gunShotgunT2PumpShotgun" phase="1"/>
            
            <objective type="InteractWithNPC">
                <property name="phase" value="3"/>
            </objective>

            <reward type="Item" id="bookShotgunMessiahBreachingSlugs" value="1"/>
            <reward type="Item" id="bookShotgunMessiahDamage" value="1"/>
            <reward type="Quest" id="quest_ShotgunMessiah_pt4"/>            
        </quest>
        
        <quest id="quest_ShotgunMessiah_pt4">
            <property name="name" value="Shotgun Messiah - 200 kills with Autoshotgun"/>
            <property name="subtitle" value="Auto Shotgun"/>
            <property name="description" value="Lets get this party started - Fetch an auto shotgun and kill those undead monsters"/>
            <property name="icon" value="ui_game_symbol_shotgun"/>
            <property name="shareable" value="false"/>
            <property name="category" value="Challenge"/>
            <property name="difficulty" value="hard"/>
            <property name="completiontype" value="TurnIn"/>
                    
            <objective type="FetchKeep" id="gunShotgunT3AutoShotgun" value="1" phase="1"/>
            
            <objective type="ZombieKill" value="200" phase="2"/>
            <requirement type="Holding" id="gunShotgunT3AutoShotgun" phase="2"/>

            <objective type="InteractWithNPC">
                <property name="phase" value="3"/>
            </objective>

            <reward type="Item" id="bookShotgunMessiahPartyStarter" value="1"/>
            <reward type="Item" id="perkShotgunMessiahSlugs" value="1"/>        
        </quest>
        <quest id="quest_LuckyLooter">
            <property name="name" value="Lucky Looter: Medical Supplies"/>
            <property name="subtitle" value="Medical Supplies"/>
            <property name="description" value="Craft and find the following medical supplies."/>
            <property name="icon" value="ui_game_symbol_spear"/>
            <property name="shareable" value="false"/>
            <property name="category" value="Challenge"/>
            <property name="offer" value="Complete this challenge and earn yourself the Batter Up books"/>
            <property name="difficulty" value="hard"/>
            <property name="completiontype" value="TurnIn"/>
            
            <objective type="Craft" id="medicalBandage" value="5" phase="1"/> <!-- First aid -->
            <objective type="Craft" id="medicalFirstAidBandage" value="5" phase="1"/> <!-- First aid -->
            <objective type="FetchKeep" id="drugPainkillers" value="5" phase="1"/> <!-- First aid -->    
            <objective type="FetchKeep" id="drugVitamins" value="5" phase="1"/> <!-- First aid -->
            <objective type="FetchKeep" id="drugAntibiotics" value="3" phase="1"/> <!-- First aid -->    

            <objective type="InteractWithNPC">
                <property name="phase" value="2"/>
            </objective>

            <reward type="Item" id="bookLuckyLooterBooks" value="1"/>
            <reward type="Item" id="bookLuckyLooterMedical" value="1"/>
        </quest>
        <quest id="quest_CraftRegularAmmo">
            <property name="name" value="Ammo Crafting - Ball Ammo and Shotgun Shells"/>
            <property name="subtitle" value="Crafting Regular Ammo"/>
            <property name="description" value="Grab these materials and I will show you how to make regular ammo."/>
            <property name="icon" value="ui_game_symbol_light_armor"/>
            <property name="category" value="Challenge"/>
            <property name="difficulty" value="veryeasy"/>
            <property name="offer" value="Finish this set of challenges for the Needle and Thread books."/>
            <property name="shareable" value="false"/>
            
            <objective type="FetchKeep" id="ammo9mmBulletBallDummy" value="50" phase="1"/>                        
            <objective type="FetchKeep" id="ammo44MagnumBulletBallDummy" value="50" phase="1"/>        
            <objective type="FetchKeep" id="ammo762mmBulletBallDummy" value="50" phase="1"/>        
            <objective type="FetchKeep" id="ammoShotgunShellDummy" value="50" phase="1"/>    
            <objective type="FetchKeep" id="thrownAmmoPipeBomb" value="10" phase="1"/>
            <objective type="FetchKeep" id="ammoArrowIronPractice" value="50" phase="1"/>            
            <objective type="FetchKeep" id="ammoCrossbowBoltIronPractice" value="50" phase="1"/>    
            <objective type="FetchKeep" id="ammoJunkTurretRegular" value="100" phase="1"/>    
            
            <reward type="Item" id="noteAmmoCraftingStage2" value="1"/>
            <reward type="Quest" id="quest_CraftingHigherPowerAmmo"/>        
        </quest>

 

Link to comment
Share on other sites

I don't think that's exactly what I wanted, but it's also a good idea!

 

What is the diffrent between Quest and Challange?

And what is "<property name="completiontype" value="TurnIn"/>" ?

 

Example:

We have 3 quests, quest a , quest b , quest c;

Quest a is collect 10 fibers

Quest b is collect 10 rocks

Quest c is collect 10 iron

 

for quest c you must first complete quest a and quest b,

its important that quest a and b are not follow quests and when you finished both quest c comes in.

Edited by M1cromanagement (see edit history)
Link to comment
Share on other sites

11 hours ago, M1cromanagement said:

I don't think that's exactly what I wanted, but it's also a good idea!

 

What is the diffrent between Quest and Challange?

And what is "<property name="completiontype" value="TurnIn"/>" ?

 

A quest would be something that say the trader would send you in.  And Turnin means that you have to go back to the NPC to complete it.  A challenge could be something that you do based on a note, and usually completes when you complete the challenge.  So the examples I have above are not quests given by the traders, but something you get at the start when you read some notes.  For the ones related to perk books, you have to go back to the trader to get your rewards while the ammo crafting one I have setup to complete when you meet all the requirements.

11 hours ago, M1cromanagement said:

Example:

We have 3 quests, quest a , quest b , quest c;

Quest a is collect 10 fibers

Quest b is collect 10 rocks

Quest c is collect 10 iron

 

for quest c you must first complete quest a and quest b,

its important that quest a and b are not follow quests and when you finished both quest c comes in.

 

So in this case, you can setup one quest or challenge and have both Quest A and Quest B requirements as phase 1 while Quest C requirements as phase 2.  That forces the player to do A & B first, then unlocks C on completion.

 

Something like:


 

            <objective type="FetchKeep" id="resourceYuccaFibers" value="10" phase="1"/>                        
            <objective type="FetchKeep" id="resourceRockSmall" value="10" phase="1"/>  

     
            <objective type="FetchKeep" id="resourceScrapIron" value="10" phase="2"/>        

 

Link to comment
Share on other sites

Quote

So in this case, you can setup one quest or challenge and have both Quest A and Quest B requirements as phase 1 while Quest C requirements as phase 2.  That forces the player to do A & B first, then unlocks C on completion.

I've tested a few things now;

 

First; With this Code:

Spoiler
	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Test">
			<property name="group_name_key" value="quest_Test"/>
			<property name="name_key" value="quest_Test"/>
			<property name="subtitle_key" value="quest_Test_subtitle"/>
			<property name="description_key" value="quest_Test_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="Challenge"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Test_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceYuccaFibers" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRockSmall" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceWood" value="1" phase="1"/>				
			<objective type="FetchKeep" id="resourceBrokenGlass" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceBone" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceLeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceFishingWeight" value="1" phase="1"/>					
			<objective type="FetchKeep" id="resourceFeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapIron" value="1" phase="1"/>			
			<objective type="FetchKeep" id="drinkJarEmpty" value="1" phase="1"/>		
			<objective type="FetchKeep" id="drinkCanEmpty" value="1" phase="1"/>	
			<objective type="FetchKeep" id="drinkJarRiverWater" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceTrophy1" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceTrophy2" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCloth" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePaper" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceAnimalFat" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCobblestones" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceMetalPipe" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapPolymers" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceGlue" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceNail" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapBrass" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodRottingFlesh" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCandleStick" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRadiator" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodEgg" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodShamSandwich" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropBlueberries" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropCorn" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodCropGraceCorn" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropPotato" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropMushrooms" value="1" phase="1"/>	
			<objective type="FetchKeep" id="foodCropYuccaFruit" value="1" phase="1"/>			
			<objective type="FetchKeep" id="foodCropPumpkin" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCropHopsFlower" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCropAloeLeaf" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceCropChrysanthemumPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropCottonPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropGoldenrodPlant" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceCropCoffeeBeans" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceScrapLead" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceForgedIron" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceForgedSteel" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceSnowBall" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceDoorKnob" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceAcid" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceSewingKit" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceTestosteroneExtract" value="1" phase="1"/>			
			<objective type="FetchKeep" id="resourceMilitaryFiber" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceElectricParts" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceMechanicalParts" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceArrowHeadIron" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceArrowHeadSteelAP" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceCoal" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePotassiumNitratePowder" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceGunPowder" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceOil" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourcePaint" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRepairKit" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceBuckshot" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceBulletCasing" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceBulletTip" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceRocketTip" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceRocketCasing" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceHubcap" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceAirFilter" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceCandyTin" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceHeadlight" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceLockPick" value="1" phase="1"/>		
			<objective type="FetchKeep" id="resourceSpring" value="1" phase="1"/>	
<!-- last food id,Weapon,Ammo,Etc -->			
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>

 

 

HUD looks like:

https://ibb.co/PWkJGrz

 

Thats What i wanted at the end, because i was trying to make a quest from begin the game, the reward here i would change but thats actually not necessary actually.

 

But the HUD looks like Crap

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Second; With this Code:

Spoiler
	<insertBefore xpath="/quests/quest[@id='quest_BasicSurvival1']">
		<quest id="quest_Test">
			<property name="group_name_key" value="quest_Test"/>
			<property name="name_key" value="quest_Test"/>
			<property name="subtitle_key" value="quest_Test_subtitle"/>
			<property name="description_key" value="quest_Test_description"/>
			<property name="icon" value="ui_game_symbol_map_bed"/>
			<property name="category_key" value="Challenge"/>
			<property name="difficulty" value="veryeasy"/>
			<property name="offer_key" value="quest_Test_offer"/>
			<property name="shareable" value="false"/>
			<action type="ShowTip" value="tutorialTipQuest02"/>
			<!-- Phase 1 -->
			<objective type="FetchKeep" id="resourceYuccaFibers" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceRockSmall" value="1" phase="1"/>
			<objective type="FetchKeep" id="resourceWood" value="1" phase="1"/>				
			<objective type="FetchKeep" id="resourceBrokenGlass" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceBone" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceLeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceFishingWeight" value="1" phase="1"/>					
			<objective type="FetchKeep" id="resourceFeather" value="1" phase="1"/>	
			<objective type="FetchKeep" id="resourceScrapIron" value="1" phase="1"/>			
			<objective type="FetchKeep" id="drinkJarEmpty" value="1" phase="1"/>		
			<objective type="FetchKeep" id="drinkCanEmpty" value="1" phase="1"/>	
			<objective type="FetchKeep" id="drinkJarRiverWater" value="1" phase="1"/>	
			<!-- Phase 2 -->
			<objective type="FetchKeep" id="resourceTrophy1" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceTrophy2" value="1" phase="2"/>
			<objective type="FetchKeep" id="resourceCloth" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourcePaper" value="1" phase="2"/>
			<objective type="FetchKeep" id="resourceAnimalFat" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceCobblestones" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceMetalPipe" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceScrapPolymers" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceGlue" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceNail" value="1" phase="2"/>	
			<objective type="FetchKeep" id="resourceScrapBrass" value="1" phase="2"/>	
			<objective type="FetchKeep" id="foodRottingFlesh" value="1" phase="2"/>	
			<!-- Phase 3 -->
			<objective type="FetchKeep" id="resourceCandleStick" value="1" phase="3"/>	
			<objective type="FetchKeep" id="resourceRadiator" value="1" phase="3"/>			
			<objective type="FetchKeep" id="foodEgg" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodShamSandwich" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodCropBlueberries" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodCropCorn" value="1" phase="3"/>			
			<objective type="FetchKeep" id="foodCropGraceCorn" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodCropPotato" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodCropMushrooms" value="1" phase="3"/>	
			<objective type="FetchKeep" id="foodCropYuccaFruit" value="1" phase="3"/>			
			<objective type="FetchKeep" id="foodCropPumpkin" value="1" phase="3"/>	
			<objective type="FetchKeep" id="resourceCropHopsFlower" value="1" phase="3"/>	
			<!-- Phase 4 -->
			<objective type="FetchKeep" id="resourceCropAloeLeaf" value="1" phase="4"/>	
			<objective type="FetchKeep" id="resourceCropChrysanthemumPlant" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceCropCottonPlant" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceCropGoldenrodPlant" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceCropCoffeeBeans" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceScrapLead" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceForgedIron" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceForgedSteel" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceSnowBall" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceDoorKnob" value="1" phase="4"/>
			<objective type="FetchKeep" id="resourceAcid" value="1" phase="4"/>	
			<objective type="FetchKeep" id="resourceSewingKit" value="1" phase="4"/>	
			<objective type="FetchKeep" id="resourceTestosteroneExtract" value="1" phase="4"/>
			<!-- Phase 5 -->			
			<objective type="FetchKeep" id="resourceMilitaryFiber" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceElectricParts" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceMechanicalParts" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceArrowHeadIron" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceArrowHeadSteelAP" value="1" phase="5"/>		
			<objective type="FetchKeep" id="resourceCoal" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourcePotassiumNitratePowder" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceGunPowder" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceOil" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourcePaint" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceRepairKit" value="1" phase="5"/>	
			<objective type="FetchKeep" id="resourceBuckshot" value="1" phase="5"/>		
			<!-- Phase 6 -->
			<objective type="FetchKeep" id="resourceBulletCasing" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceBulletTip" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceRocketTip" value="1" phase="6"/>
			<objective type="FetchKeep" id="resourceRocketCasing" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceHubcap" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceAirFilter" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceCandyTin" value="1" phase="6"/>	
			<objective type="FetchKeep" id="resourceHeadlight" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceLockPick" value="1" phase="6"/>		
			<objective type="FetchKeep" id="resourceSpring" value="1" phase="6"/>			
			<reward type="Exp" value="0"/>
		</quest>
	</insertBefore>

 

HUD looks good.

 

it makes me upset because im lacking with experience for the HUD at the end because he shows up all id, and its look like crap :D if ignore your advise i get up what i need,

but if follow your advise it solve  the hud problem

 

 

Edited by M1cromanagement (see edit history)
Link to comment
Share on other sites

  • 4 months later...
On 1/23/2023 at 9:27 AM, BFT2020 said:

Sometimes you can do too much at once.  That is why I broke up my quests into smaller ones to make it better for the HUD and tracking purposes.

I can create a <requirement type="Holding" id="gunShotgunT3AutoShotgun" phase="2"/> that can be more than one weapon, for example, it can be completed with the AutoShotgun and with the PipeRifle

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...