Adding custom items to shop

Results 1 to 6 of 6
  1. #1
    Apprentice Phantagram is offline
    MemberRank
    Feb 2009 Join Date
    20Posts

    Adding custom items to shop

    Testing with 1 item and it's not working, here's the information from the files

    copied the info from Medical Kit MX-S1 and replaced stuff

    zitem.xml :

    Code:
    <ITEM id="45203" name="STR:ZITEM_NAME_527003" mesh_name="medickit_rx" totalpoint="0" type="custom" res_sex="a" res_level="50" slot="custom" weapon="medkit" weight="6" bt_price="20000" iscashitem="false" delay="900" damage="0" ctrl_ability="0" magazine="6" maxbullet="6" 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" snd_fire="we_grenade_fire" desc="STR:ZITEM_DESC_527003"/>
    Strings.xml :

    Code:
    <STR id="ZITEM_NAME_527003">Medical Kit MX-3</STR>
    <STR id="ZITEM_DESC_527003">A powerful super lightweight medical kit. Medical Kit MX-S3 heals almost twice more than MK series. (6 bundle pack)</STR>
    Shop.xml :

    Code:
    <SELL itemid="45203" />
    Any idea what I did wrong? Need any more info?


  2. #2
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: Adding custom items to shop

    Quote Originally Posted by Phantagram View Post
    Testing with 1 item and it's not working, here's the information from the files

    copied the info from Medical Kit MX-S1 and replaced stuff

    zitem.xml :

    Code:
    <ITEM id="45203" name="STR:ZITEM_NAME_527003" mesh_name="medickit_rx" totalpoint="0" type="custom" res_sex="a" res_level="50" slot="custom" weapon="medkit" weight="6" bt_price="20000" iscashitem="false" delay="900" damage="0" ctrl_ability="0" magazine="6" maxbullet="6" 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" snd_fire="we_grenade_fire" desc="STR:ZITEM_DESC_527003"/>
    Strings.xml :

    Code:
    <STR id="ZITEM_NAME_527003">Medical Kit MX-3</STR>
    <STR id="ZITEM_DESC_527003">A powerful super lightweight medical kit. Medical Kit MX-S3 heals almost twice more than MK series. (6 bundle pack)</STR>
    Shop.xml :

    Code:
    <SELL itemid="45203" />
    Any idea what I did wrong? Need any more info?
    uh yea exactly what isn't working?

  3. #3
    Apprentice Phantagram is offline
    MemberRank
    Feb 2009 Join Date
    20Posts

    Re: Adding custom items to shop

    The item isn't getting added to the in-game shop.

  4. #4

    Re: Adding custom items to shop

    Quote Originally Posted by Phantagram View Post
    The item isn't getting added to the in-game shop.
    Set your ITEMID to a value below 500000.

  5. #5
    Apprentice Phantagram is offline
    MemberRank
    Feb 2009 Join Date
    20Posts
    Quote Originally Posted by Linear88 View Post
    Set your ITEMID to a value below 500000.
    Oh, I wasn't aware that 45203 was of higher value than 500000.
    Posted via Mobile Device

  6. #6

    Re: Adding custom items to shop

    Quote Originally Posted by Phantagram View Post
    Oh, I wasn't aware that 45203 was of higher value than 500000.
    Posted via Mobile Device
    Ok, I was mistaken because of strings.xml.

    Add the models?



Advertisement