Wtf i did wrong :S

Results 1 to 7 of 7
  1. #1
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Question Wtf i did wrong :S

    They wont heal but they drop on floor but wont heal

    i added allot of custom meds but this 1 wont work

    Code:
      
      <ITEM id="58257" name="Cookie" mesh_name="Cookie" totalpoint="0" type="custom" res_sex="a" res_level="70" slot="custom" weapon="food" weight="5" bt_price="0" delay="1000" damage="0" ctrl_ability="0" magazine="4" reloadtime="10" slug_output="false" gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF" image_id="3" bullet_image_id="0" magazine_image_id="0" desc="Cookie!" snd_fire="we_grenade_fire" maxbullet="4" />
      <ITEM id="58256" name="Golem" mesh_name="golem" totalpoint="0" type="custom" res_sex="a" res_level="80" slot="custom" weapon="food" weight="5" bt_price="0" delay="1000" damage="0" ctrl_ability="0" magazine="4" reloadtime="10" slug_output="false" gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF" image_id="3" bullet_image_id="0" magazine_image_id="0" desc="Golem Healers" snd_fire="we_grenade_fire" maxbullet="4" />
    Code:
            <WORLDITEM id="58257" name="Cookie">
                <TYPE>hpap</TYPE>
                <AMOUNT>12</AMOUNT>
                <MODELNAME>Cookie</MODELNAME>
            </WORLDITEM>
            <WORLDITEM id="58256" name="Golem">
                <TYPE>hpap</TYPE>
                <AMOUNT>13</AMOUNT>
                <MODELNAME>golem</MODELNAME>
            </WORLDITEM>
    Code:
                <AddWorldItemElu name ="Golem">
                    <AddBaseModel name ="golem" filename="model/weapon/item/golem.elu"/>
                </AddWorldItemElu>
                <AddWorldItemElu name ="Cookie">
                    <AddBaseModel name ="Cookie" filename="model/weapon/item/Cookie.elu"/>
                </AddWorldItemElu>


  2. #2
    Dying for MMORPGs... :( ilovepie is offline
    MemberRank
    Jul 2008 Join Date
    SingaporeLocation
    216Posts

    Re: Wtf i did wrong :S

    Check your worlditem.xml. Make sure the mesh_name/name matches with the ones in zitem.xml. Also with weapon.xml in model.mrs.

    Example:

    worlditem.xml
    Code:
    		<WORLDITEM id="134" name="turkey">
    			<TYPE>hpap</TYPE>
    			<AMOUNT>8</AMOUNT>
    			<MODELNAME>turkey</MODELNAME>
    		</WORLDITEM>
    
    			<AddWorldItemElu name ="turkey">
    				<AddBaseModel name ="medickit_turkey" filename="model/weapon/item/medickit_turkey.elu"/>
    			</AddWorldItemElu>
    zitem.xml
    Code:
     <ITEM id="52604" name="Turkey Dinner" mesh_name="turkey" totalpoint="0" type="custom" res_sex="a" 
    res_level="5" slot="custom" weapon="food" weight="5" bt_price="0" delay="1000" damage="0" ctrl_ability="
    0" magazine="4" reloadtime="10" slug_output="false" gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" 
    cr="0" pr="0" lr="0" color="#FFFFFFFF" image_id="3" bullet_image_id="0" magazine_image_id="0" 
    desc="Special item for Thanksgiving that has healing powers." snd_fire="we_grenade_fire" maxbullet="4" />
    weapon.xml
    Code:
    	<AddWeaponElu name="turkey" weapon_motion_type="8" weapon_type="11">
    		<AddBaseModel name="medickit_turkey" filename="model/weapon/item/medickit_turkey.elu" />
    	</AddWeaponElu>
    This is what I think it would work. =/

  3. #3
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Wtf i did wrong :S

    i tought it was that to but look at Cookie its all the same so no but thx for help

  4. #4
    Dying for MMORPGs... :( ilovepie is offline
    MemberRank
    Jul 2008 Join Date
    SingaporeLocation
    216Posts

    Re: Wtf i did wrong :S

    Works for me o.o

  5. #5
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Wtf i did wrong :S

    same i added allot of meds before this. but now it wont work i dont get it

  6. #6
    Dying for MMORPGs... :( ilovepie is offline
    MemberRank
    Jul 2008 Join Date
    SingaporeLocation
    216Posts

    Re: Wtf i did wrong :S

    Hmmm... Maybe a duplicate worlditem ID?

  7. #7
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Wtf i did wrong :S

    no but im gonne change it gonne look if that works

    Edit: Works Wtf changed only the world item to 307 308 309 and it works fine thx for helping me
    Last edited by Mocro; 09-01-09 at 01:53 PM. Reason: working meds



Advertisement