Help can anyone tell me the example code for adding Astaroth Wing Mask.
mdlDyna.inc
propItem.txt
thanks.
Help can anyone tell me the example code for adding Astaroth Wing Mask.
mdlDyna.inc
propItem.txt
thanks.
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:
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.