-
Apprentice
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?
-
-
Account Upgraded | Title Enabled!
Re: Item name & Description
Both are correct, but the convention is that the strings are stored in strings.xml
-
(。◕‿‿◕。)
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.
-
Status: Pooping
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
-
Apprentice
Re: Item name & Description
I see, thanks for all the informative replies. :D
-
Retired modder
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;