Adding Astaroth Wing Mask

Results 1 to 2 of 2
  1. #1
    Account Upgraded | Title Enabled! brent2421 is offline
    MemberRank
    May 2011 Join Date
    CaveLocation
    285Posts

    Adding Astaroth Wing Mask

    Help can anyone tell me the example code for adding Astaroth Wing Mask.

    mdlDyna.inc
    propItem.txt


    thanks.


  2. #2
    Account Upgraded | Title Enabled! micah1121 is offline
    MemberRank
    Jan 2010 Join Date
    213Posts

    cool Re: Adding Astaroth Wing Mask

    Pay Attention To The Color Coats They Help. :)
    A Bit of info before starting .o3d files are how the item will look in-game when equipped(will always be in model folder). and .dds files are how the item will look in your inventory(will always be in item folder)
    So Basically for your question
    Answer
    Those you can make on your own, there is no "specific" code; the only specific code that absolutely needs to be the same is
    the name on the left in quotes in the mdldyna.inc . It should be the same or close to the o3d file name(i just make it exactly the same to prevent problems)
    example:
    Take everything between _ and the . on the o3d file name
    Item_ArmBangShield.o3d

    In mdlDyna.inc paste here
    "ArmBangShield" II_ARM_BANG_SHI MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
    II_ARM_BANG_SHI can be any name you want it to, just make sure it has II_ at the beginning and any "spaces" arent spaces they are _ (underscores).
    modeltype_mesh is for defining if "male"(only for males) "female"(only for female) "male/female"(uni-sex) and then something else but i forgot :)

    THEN: You Have to Add In Defineitem.h
    #define II_ARM_BANG_SHI 50525
    the II_ARM_BANG_SHI Part is the second name from the mdlDYNA.inc and then the number can be any number, just make sure the number is not already in use. You can add it anywhere(i just scroll to the bottom , but make sure its not below #endif anything above it is fine)

    THEN: Go to propItem.txt.txt
    Copy any Two lines of the file(doesnt matter)
    Scroll to the bottom
    Then basically the number after TXT_ you can make to any number you want, just dont make it too long or it wont work, and make sure no other item has it.
    IDS_PROPITEM_TXT_055000 Bang Shield <----------------------- This Line Is The Items name
    IDS_PROPITEM_TXT_055001 LoL Bang Shield!! <----------------------- This Line Is The Items Description

    THEN: Go To propitem.txt
    Pick A line for an item that closely matches the one you are trying to add and copy it
    Scroll To the bottom and paste then edit it
    6 II_ARM_BANG_SHI IDS_PROPITEM_TXT_003736 1 1 IK1_ARMOR IK2_ARMOR IK3_SHIELD JOB_VAGRANT TRUE = = 130 6570000 100 180 HD_ONE = PARTS_SHIELD = 0 = = 3 3 1 1 = = = 18 20 _NONE 0 0 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 0 0 0 0 0 0 = = = = = = = = = = = = 3 = = = """itm_ArmBang.dds""" 0 """""" IDS_PROPITEM_TXT_003737

    The Nice Green is how the item will look in-game in your inventory, aka your .dds (most likely thats with the .o3d depending on the creator it might have the general or close to the same name)

    And i think the rest in propitem.txt is pretty self explanitory, but anyways if you want to give your items a certain amount or attribute(basically edit its stats)
    If you open The propitem.txt in excel these are the columns to edit. If its in notepad its also easy.. I only have to say good luck counting lmfao. For notepad column a=1 b=2 c=3 etc etc AA=27 and so on, so basically i recommend using exel.
    Spoiler:

    Column B = Item binding name that starts with "II_"
    Column C = The first row that you added into propItem.txt.txt , this will be the item name that shows in-game
    Column E = Maximum stack size
    Column I = Required job to equip the item. If Master is required, it will have _MASTER at the end. You could change this on an item to allow chars to equip other class items, but I've never tried it and don't blame me if it breaks your server =3
    Column L = Gender specification of an item for clothes/CS clothes other than masks/cloaks. Should be either SEX_MALE or SEX_FEMALE
    Column M = Penya cost for if it was in a shop, half this is the NPC selling price
    Column AE = For Armors/shields/CS clothes, minimum defense rate. For weapons, minimum attack rate.
    Column AF = Same as above, except this is the maximum defense/attack rates.
    Column BB = Stat bonus 1
    Column BC = Stat bonus 2
    Column BD = Stat bonus 3
    Column BE = Value of stat bonus 1
    Column BF = Value of stat bonus 2
    Column BG = Value of stat bonus 3
    Column CN = [Weapons only] To make it ultimate, put in WEAPON_ULTIMATE
    Column DM = Level requirement
    Column DQ = File name for Inventory Icon. Put the exact file name of the file that goes into the Item folder. (If you don't have an inventory icon for it, don't worry. You can really set it to any icon you want that is in the Item folder)
    Column DT (the very last column) = The second line that you added to propItem.txt. This corresponds to the item description in-game (which would be blank if you chose to).


    And im sure you know how to add it to the client after you saved all that stuff so there no need to even say it, but anyways Hope that Helped. GOOD LUCK
    Last edited by micah1121; 24-05-13 at 02:18 AM.



Advertisement