Jump to content

Recommended Posts

Hey, I need help for my mod:

i need to create new quest but not at random position

 

        <objective type="RandomGoto" value="50-80" phase="1">
        <property name="completion_distance" value="50"/>
        </objective>

 

i want to replace RandomGoto by position XYZ.

 

thank for help and sorry for my bad english

Link to comment
Share on other sites

Try 

<objective type="RandomPOIGoto">
				<property name="phase" value="1" />
			</objective>

for Challenge's, do not working for Quest's.

 

ex:
 

<!-- ChallengeTest -->
		<quest id="c_challengetest">
			<property name="name" value="ChallengeTest" />
			<property name="subtitle" value="ChallengeTest1" />
			<property name="description" value="ChallengeTest2" />
			<property name="repeatable" value="true" />
			<property name="icon" value="ui_game_symbol_zombie" />
			<property name="category_key" value="challenge" />
			<property name="difficulty" value="veryeasy" />
			<property name="offer" value="ChallengeTest3" />
			<property name="shareable" value="true" />
			<property name="completiontype" value="TurnIn" />

			<action type="TrackQuest" />

			<!-- Phase 1 -->
			<objective type="RandomPOIGoto">
				<property name="phase" value="1" />
			</objective>

			<!-- Phase 2 -->
			<objective type="RallyPoint">
				<property name="start_mode" value="Create"/>
				<property name="phase" value="2" />
			</objective>

			<!-- Phase 3 -->
			<objective type="ZombieKill" id="zombieStripper" value="3" phase="3" />
			<action type="SpawnEnemy" id="zombieStripper" value="5" phase="3" />

			<!-- Phase 4 -->
			<objective type="RandomPOIGoto">
				<property name="phase" value="4" />
			</objective>

			<!-- Phase 5 -->
			<objective type="ZombieKill" id="zombieStripper" value="5" phase="5" />
			<action type="SpawnEnemy" id="zombieStripper" value="10" phase="5" />


			<!-- Phase 6-->
			<objective type="InteractWithNPC">
				<property name="phase" value="6" />
			</objective>

			<reward type="Exp" value="5000" />
			<reward type="Item" id="casinoCoin" value="5000" />
			<reward type="SkillPoints" value="5" />
			<reward type="LootItem" id="groupQuestMedical" ischosen="false" isfixed="true" value="5" />
		</quest>

with:

 

<objective type="RandomGoto" value="500-750" phase="1">
			<property name="completion_distance" value="50"/>
		</objective>

you can change the value, go to whatever you want. "value=(minimum): 500 - (maximum): 750

 

and the Quest ex.:

		<!-- QuestTest -->
		<quest id="q_questtest">
			<property name="name" value="QuestTest" />
			<property name="subtitle" value="QuestTest" />
			<property name="description" value="QuestTest1" />
			<property name="repeatable" value="false" />
			<property name="icon" value="ui_game_symbol_zombie" />
			<property name="category_key" value="quest" />
			<property name="difficulty_tier" value="1" />
			<property name="difficulty" value="veryeasy" />
			<property name="offer" value="QuestTest2" />
			<property name="shareable" value="false" />
			<property name="completiontype" value="TurnIn" />
			<property name="statement_key" value="q_questtest_statement_key" />
			<property name="response_key" value="q_questtest_response_key" /> 
			<property name="completion_key" value="q_questtest_completion_key" /> 
			<property name="login_rally_reset" value="true"/>
			<action type="TrackQuest" />

			<!-- Phase 1 -->
			<objective type="RandomGoto" value="500-750" phase="1">
			<property name="completion_distance" value="50"/>
		</objective>

			<!-- Phase 2 -->
			<objective type="RallyPoint">
				<property name="phase" value="2" />
			</objective>

			<!-- Phase 3 -->
			<action type="SpawnEnemy" id="zombieStripper" value="5" phase="3" />
			<objective type="ZombieKill" id="zombieStripper" value="1" phase="3" />

			<!-- Phase 4 -->
			<objective type="ReturnToNPC">
				<property name="phase" value="4" />
			</objective>
			<objective type="InteractWithNPC">
				<property name="phase" value="4" />
			</objective>

			<reward type="Exp" value="1000" />
		</quest>

Greetz o/

Link to comment
Share on other sites

I tried it once, but it didn't work. the vanilla quests.xml also just says

 

<objective type="RandomPOIGoto">
			<property name="phase" value="1"/>
		</objective>

 

but a little tip to make quest modding easier!!

 

 

My Mate turbero has created a wonderful tool. 

 

recommendation

 

Greetz o/

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...