[help]Quest mode question

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    [help]Quest mode question

    I already have the npc's etc but im kinda stuck at
    the npcset.xml and scenario.xml i dont know how it works
    i looked around on rz but cant find alot about it

    Code added to xml = scrol down



    Code:
    <SPECIAL_SCENARIO id="33" // Quest id
        title="Lich" //  Quest Name
        QL="1" // Dont Know
        DC="1" // Dont Know
        mapset="Mansion"   // Maps used 
        XP="260000"  // EXP Reward 
        BP="0"> // Bounty Reward
        <!-- ??? ?? -->
        <SACRI_ITEM itemid="200028" /> // Sacrifice Item
    Code:
    <MAP dice="1" // Dont Know  key_sector="309" // Dont Know key_npc="39 // Dont Know" boss="true"// Not sure >
            <NPCSET_ARRAY>Sc1</NPCSET_ARRAY> // Dont Know
            <JACO count="2" // Dont Know tick="5" // Dont Know min_npc="0" // Dont Know  max_npc="12" // Dont Know>
                <NPC npcid="31" rate="0.14" /> // Dont Know
                <NPC npcid="32" rate="0.3" /> // Dont Know
                <NPC npcid="33" rate="0.3" /> // Dont Know
                <NPC npcid="34" rate="0.08" /> // Dont Know
                <NPC npcid="35" rate="0.08" /> // Dont Know
                <NPC npcid="36" rate="0.1" /> // Dont Know
            </JACO>
        </MAP>
    Code:
    <MAP dice="1" // Dont Know  key_sector="203" // Dont Know>
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
        <MAP dice="2" // Dont Know  key_sector="204" // Dont Know> 
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
        <MAP dice="3" // Dont Know key_sector="205" // Dont Know>
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
        <MAP dice="4" // Dont Know key_sector="206" // Dont Know>
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
        <MAP dice="5" // Dont Know key_sector="207" // Dont Know>
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
        <MAP dice="6" // Dont Know key_sector="208" // Dont Know>
            <NPCSET_ARRAY>Pa1/Pa2/Pa1/Pa3</NPCSET_ARRAY> // Dont Know
        </MAP>
    Like what do those red things do
    and how does it load npc's from
    the npcset.xml?


    all i want to make is a quest with

    1 boss
    1 stage
    random npc's (the one's below)
    Change to get a sword as reward

    and with the same map as lich




    npc.xml
    Code:
    <!-- SXX Ultimate -->
    <!-- Demonic Raider -->
    
    <NPC id="70"
         name="STR:NPC_NAME_70"
         desc="STR:NPC_DESC_70"
         meshname="demonicraid"
         scale="1.4 1.4 1.4"
         grade="vetran"
         max_hp="300"
         max_ap="150"
         int="2"
         agility="3"
         view_angle="15"
         dc="50"
         offensetype="1"
         dyingtime="5">
         <COLLISION radius="50" height="200" tremble="5" />
         <ATTACK type="melee" range="450" weaponitem_id="300025" />
         <FLAG never_blasted="true" never_pushed="true" never_attack_cancel="true" />
         <SPEED default="300" rotate="3.0" />
         <SKILL id="251" />
         <SKILL id="252" />
         <DROP table="G11" />
    </NPC>
    
    <!-- Blood Minion -->
    
    <NPC id="71"
         name="STR:NPC_NAME_71"
         desc="STR:NPC_DESC_71"
         meshname="bloodm"
         grade="regular"
         max_hp="150"
         max_ap="120"
         scale="1.2 1.2 1.2"
         dc="30">
         <COLLISION radius="25" height="120"/>
         <ATTACK type="melee" range="80" weaponitem_id="300000" hitrate="10" />
         <SPEED default="150" rotate="2.356" />
         <SKILL id="4"/>
         <DROP table="G11" />
    </NPC>
    
    <!-- Dark Dragon -->
    
    <NPC id="72"
         name="STR:NPC_NAME_72"
         desc="STR:NPC_DESC_72"
         meshname="darkdrag"
         scale="1.0 1.0 1.0"
         grade="vetran"
         max_hp="700"
         max_ap="700"
         int="1"
         agility="1"
         view_angle="20"
         dc="60"
         offensetype="1"
         dyingtime="8">
         <COLLISION radius="80" height="750" tremble="5" />
         <ATTACK type="melee" range="300" weaponitem_id="300039" />
         <FLAG never_blasted="true" never_pushed="true" never_attack_cancel="true" />
         <SPEED default="400" rotate="5.0" />
         <SKILL id="361" />            <!-- Flaming Inferno -->
         <SKILL id="391" />            <!-- Devil's Arrow -->
         <SKILL id="392" />            <!-- Dante's Breath -->
         <SKILL id="393" />            <!-- Lava Dump -->
         <DROP table="G11" />
    </NPC>
         
         <!-- Shadow Guard -->
         
         <NPC id="73"
         name="STR:NPC_NAME_73"
         desc="STR:NPC_DESC_73"
         meshname="sguard"
         scale="2.1 2.1 2.1"
         grade="elite"
         max_hp="1000"
         max_ap="1000"
         int="3"
         agility="2"
         view_angle="15"
         dc="50"
         offensetype="1"
         dyingtime="8">
         <COLLISION radius="40" height="250" tremble="10" />
         <ATTACK type="melee" range="550" weaponitem_id="300037" />
         <FLAG never_blasted="true" never_pushed="true" never_attack_cancel="true" />
         <SPEED default="400" />
         <SKILL id="371" />            <!-- Flamecast Slash -->
         <SKILL id="372" />            <!-- Seismic Shock -->
         <SKILL id="373" />            <!-- Flamecast Slash 2 -->
         <DROP table="G11" />
    </NPC>
    
        <!-- Sword Keeper -->
         
         <NPC id="74"
         name="STR:NPC_NAME_74"
         desc="STR:NPC_DESC_74"
         meshname="swordkeep"
         scale="3.0 3.0 3.0"
         grade="boss"
         max_hp="12000"
         max_ap="12000"
         int="3"
         agility="2"
         view_angle="15"
         dc="50"
         offensetype="1"
         dyingtime="8">
         <COLLISION radius="40" height="250" tremble="10" />
         <ATTACK type="melee" range="550" weaponitem_id="300037" />
         <FLAG never_blasted="true" never_pushed="true" never_attack_cancel="true" />
         <SPEED default="400" />
         <SKILL id="90" />            <!-- Ultimate Breath  -->
         <SKILL id="91" />            <!-- Ultimate Storm -->
         <SKILL id="92" />            <!-- Ultimate Healing -->
         <SKILL id="93" />            <!-- Ultimate StandShot -->    
         <SKILL id="94" />            <!-- Ultimate Aura -->    
         <SKILL id="95" />            <!-- Ultimate Inferno -->    
         <DROP table="S37" />
    </NPC>
    npcset.xml
    Code:
    <NPCSET id="10901" name="sx1" basenpc="70">
        <ADDNPC npc_id="70" min_rate="10" max_rate="15" />
    </NPCSET>
    
    <NPCSET id="10902" name="sx2" basenpc="71">
        <ADDNPC npc_id="71" min_rate="30" max_rate="50" />
    </NPCSET>
    
    <NPCSET id="10903" name="sx3" basenpc="72">
        <ADDNPC npc_id="72" min_rate="5" max_rate="10" />
    </NPCSET>
    
    <NPCSET id="10904" name="sx4" basenpc="73">
        <ADDNPC npc_id="73" min_rate="2" max_rate="3" />
    </NPCSET>
    
    <NPCSET id="10905" name="sx5" basenpc="74">
        <ADDNPC npc_id="74" min_rate="1" max_rate="1" />
    </NPCSET>
    Last edited by shadow-xx; 29-02-08 at 11:49 AM.


  2. #2
    Account Upgraded | Title Enabled! maxteam is offline
    MemberRank
    Aug 2007 Join Date
    IndiaLocation
    428Posts

    Re: [help]Quest mode question

    OK i am a newbie i dono much abt this
    and
    i think QL stands for Quest level i dono wats DC
    In NPC.xml
    <NPC id="11" <this is the ID for the NPC
    meshname="goblin"


    <NPC npcid="31" rate="0.14" /> // Dont Know [Rate at which the npc spawns]

    for Quest Rewards Edit in Droptable.xml and put the zitem Ids
    Ull have somethin like this in Droptable
    <DROPSET id="11" name="G11">
    <ITEMSET QL="0">
    <ITEM id="hp1" rate="0.20" />
    <ITEM id="ap1" rate="0.20" />
    <ITEM id="mag1" rate="0.20" />
    <ITEM id="200011" rate="0.20" /> <!-- 날고기 -->
    </ITEMSET>

    and put the Dropsetid in NPC for ur Boss quest
    <!-- SXX Ultimate -->
    <!-- Demonic Raider -->

    <NPC id="70"
    name="STR:NPC_NAME_70"
    desc="STR:NPC_DESC_70"
    meshname="demonicraid"
    .
    .
    .
    <DROP table="G11" />
    </NPC>


    WIll update lemme chk the XML files i forgot

  3. #3
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: [help]Quest mode question

    i just copyed the on from litch and changed it a bit
    but still dont know what key_npc=" " would do
    and how it would load the npc's with the array

    Code:
    <SPECIAL_SCENARIO id="90"
    	title="The Sword Keeper"
    	QL="1"
    	DC="1"
    	mapset="Mansion"
    	XP="150000"
    	BP="150000">
    	<!-- ??? ?? -->
    	<SACRI_ITEM itemid="200028" />		<!-- ??? ?? -->
    	
    	<MAP dice="1" key_sector="309" key_npc="39" boss="true" >
    	<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="70" rate="0.14" />
    	        <NPC npcid="71" rate="0.3" />
    	        <NPC npcid="72" rate="0.3" />
    	        <NPC npcid="73" rate="0.08" />
    	        <NPC npcid="74" rate="0.1" />
    		</JACO>
    	</MAP>
    	<MAP dice="2" key_sector="309" key_npc="39" boss="true">
    		<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="70" rate="0.14" />
    	        <NPC npcid="71" rate="0.3" />
    	        <NPC npcid="72" rate="0.3" />
    	        <NPC npcid="73" rate="0.08" />
    	        <NPC npcid="74" rate="0.1" />
    		</JACO>
    	</MAP>
    	<MAP dice="3" key_sector="309" key_npc="39" boss="true">
    		<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="70" rate="0.14" />
    	        <NPC npcid="71" rate="0.3" />
    	        <NPC npcid="72" rate="0.3" />
    	        <NPC npcid="73" rate="0.08" />
    	        <NPC npcid="74" rate="0.1" />
    		</JACO>
    	</MAP>
    	<MAP dice="4" key_sector="309" key_npc="39" boss="true">
    		<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="70" rate="0.14" />
    	        <NPC npcid="71" rate="0.3" />
    	        <NPC npcid="72" rate="0.3" />
    	        <NPC npcid="73" rate="0.08" />
    	        <NPC npcid="74" rate="0.1" />
    		</JACO>
    	</MAP>
    	<MAP dice="5" key_sector="309" key_npc="39" boss="true">
    		<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="70" rate="0.14" />
    	        <NPC npcid="71" rate="0.3" />
    	        <NPC npcid="72" rate="0.3" />
    	        <NPC npcid="73" rate="0.08" />
    	        <NPC npcid="74" rate="0.1" />
    		</JACO>
    	</MAP>
    	<MAP dice="6" key_sector="309" key_npc="39" boss="true">
    		<NPCSET_ARRAY>sx1/sx2/sx3/sx4</NPCSET_ARRAY>
    	    <JACO count="2" tick="5" min_npc="0" max_npc="20">
    	        <NPC npcid="31" rate="0.14" />
    	        <NPC npcid="32" rate="0.3" />
    	        <NPC npcid="33" rate="0.3" />
    	        <NPC npcid="34" rate="0.08" />
    	        <NPC npcid="35" rate="0.08" />
    		    <NPC npcid="36" rate="0.1" />
    		</JACO>
    	</MAP>
    </SPECIAL_SCENARIO>

  4. #4
    Account Upgraded | Title Enabled! maxteam is offline
    MemberRank
    Aug 2007 Join Date
    IndiaLocation
    428Posts

    Re: [help]Quest mode question

    Did u put those sx1/sx2/sx3/sx4
    in npcset.xml??

  5. #5
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: [help]Quest mode question

    Yes i have this:P
    but i still need to add alot of stuff
    cant test it yet o.0

    Code:
    <NPCSET id="10901" name="sx1" basenpc="70">
        <ADDNPC npc_id="70" min_rate="10" max_rate="15" />
    </NPCSET>
    
    <NPCSET id="10902" name="sx2" basenpc="71">
        <ADDNPC npc_id="71" min_rate="30" max_rate="50" />
    </NPCSET>
    
    <NPCSET id="10903" name="sx3" basenpc="72">
        <ADDNPC npc_id="72" min_rate="5" max_rate="10" />
    </NPCSET>
    
    <NPCSET id="10904" name="sx4" basenpc="73">
        <ADDNPC npc_id="73" min_rate="2" max_rate="3" />
    </NPCSET>
    
    <NPCSET id="10905" name="sx5" basenpc="74">
        <ADDNPC npc_id="74" min_rate="1" max_rate="1" />
    </NPCSET>

  6. #6
    Account Upgraded | Title Enabled! maxteam is offline
    MemberRank
    Aug 2007 Join Date
    IndiaLocation
    428Posts

    Re: [help]Quest mode question

    Did u add the npcid in NPC.xml??

  7. #7
    Account Upgraded | Title Enabled! 7-Eleven is offline
    MemberRank
    Oct 2007 Join Date
    LalaLandLocation
    714Posts

    Re: [help]Quest mode question

    keynpc = boss



Advertisement