Item name & Description

Results 1 to 6 of 6
  1. #1
    Apprentice firecleric is offline
    MemberRank
    Jul 2007 Join Date
    12Posts

    Item name & Description

    Hi there,

    I have a question about where the item names and descriptions placement.

    First off, I have opened up the IJJI zitem:
    <ITEM id="1" name="STR:ZITEM_NAME_1" mesh_name="dagger01" totalpoint="0" type="melee" res_sex="a" res_level="0" slot="melee" weapon="dagger" weight="5" bt_price="20" delay="366" damage="8" range="160" ctrl_ability="0" magazine="0" reloadtime="0" 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="0" bullet_image_id="0" magazine_image_id="0" desc="STR:ZITEM_DESC_1" />

    I was puzzled to see name="STR:ZITEM_NAME_1" and desc="STR:ZITEM_DESC_1" />
    knowing these weren't show in Gunz. so i took a look at the IJJI Strings:

    <STR id="ZITEM_NAME_1">Rusty Dagger</STR>

    <STR id="ZITEM_DESC_1">It has some rust here and there. Once used, it's sure to be difficult to sell.</STR>

    After seeing this, it made more sense.

    But then when i opened up a custom made zitem, i found this:
    <ITEM id="2" name="Rusty Dagger" iscashitem="false" mesh_name="dagger01" totalpoint="0" type="melee" res_sex="a" res_level="3" slot="melee" weapon="dagger" weight="5" bt_price="20" delay="366" damage="8" range="160" ctrl_ability="0" magazine="0" reloadtime="0" 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="0" bullet_image_id="0" magazine_image_id="0" desc="Its almost to old to use" />


    The name and decription were placed inside the zitem file, so my question is which one is correct?


  2. #2
    Account Upgraded | Title Enabled! x1nixmzeng is offline
    MemberRank
    Nov 2007 Join Date
    England, UKLocation
    240Posts

    Re: Item name & Description

    Both are correct, but the convention is that the strings are stored in strings.xml

  3. #3
    (。◕‿‿◕。) Nobody666 is offline
    MemberRank
    Oct 2008 Join Date
    1,773Posts

    Re: Item name & Description

    Yes, but the easier way is to do the custom one, at least thats the way I prefer putting files together. One less .xml file to deal with, and you don't have to go back and forth between the strings.xml and zitem.xml to see which item is which.

  4. #4
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Item name & Description

    I agree with Nobody666 All my own Weaps i got in the Zitem cuz its the easyest way :P W/e sorry if i spelled something wrong lol :P

  5. #5
    Apprentice firecleric is offline
    MemberRank
    Jul 2007 Join Date
    12Posts

    Re: Item name & Description

    I see, thanks for all the informative replies. :D

  6. #6
    Retired modder Aimed is offline
    MemberRank
    Aug 2008 Join Date
    BelgiumLocation
    1,279Posts

    Re: Item name & Description

    One Question mate..
    you said.. "First I opened ijji's zitem"
    How the F*ck did you do that !!! It's mef encrypted tell us, release how you did that D;



Advertisement