Help with adding items to game V15

08/27/2017 19:00 Ræið#1
Hello, I have been trying to add some of the new CS items to my v15 source.

For example Mistletoe hat (M), I found the item DDS files and o3d files in eFlyff(Not sure which ones to use and where to put them).
Have 3 DDS files to choose from...

[Only registered and activated users can see links. Click Here To Register...]

I searched up rudolph hat (M) from my server files as seen on image 2 and picked the files which was most similar in size. Renamed the 2,8kb file to Itm_mChristmasset01Cap.dds and placed it where the Itm_mCloRudolf01Hat.dds was :Flyff/Recource/Item.
The larger file(42.8kb) I placed in FLYFF\Resource\Model\TextureMid and the o3d file in Flyff/Recource/Model. (Seen on image 3).

Image 2: [Only registered and activated users can see links. Click Here To Register...]
Image 3: [Only registered and activated users can see links. Click Here To Register...]


In propItem.txt i added in the bottom :
IDS_PROPITEM_TXT_012176 Mistletoe Hat (M)
IDS_PROPITEM_TXT_012177

mdlDyna
"GenMatSuitbox" II_ARM_M_CHRISMASMHELMET MODELTYPE_MESH "mChristmasset01Cap" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1

defineItem, before #endif
#define II_ARM_M_CLO_CHRISMASMHELMET 4460

propItem


The problem is ingame now, I can buy the item, but the image is invisable, and when i put it on its also invisable on my head. So I am assuming that the problem is with the DDS files.

Very thankfull for any help.
08/27/2017 21:49 ankouModeler#2
Your icon file should be in item folder and have name itm_mChristmasset01Cap.dds

change in propItem Part_mChristmasset01Cap.dds to > Itm_mChristmasset01Cap.dds
08/27/2017 22:46 Ræið#3
Quote:
Originally Posted by ankouModeler View Post
Your icon file should be in item folder and have name itm_mChristmasset01Cap.dds

change in propItem Part_mChristmasset01Cap.dds to > Itm_mChristmasset01Cap.dds
Yes, I figured it out while going through the steps again... However, I dont seem to have the correct Itm file for the cs hat. it dosnt display correct in the inventory. And even though I have a picture on it in my inv now it still dosnt display on my head. It takes up the CS head slot when on, but nothing shows.

Have been looking through the files for a while now and im not sure why it dosnt work.
08/28/2017 05:56 Marc~#4
II_ARM_M_CLO_CHRISMASMHELMET


II_ARM_M_CHRISMASMHELMET you should at least use the same define as used in defineItem lol
08/29/2017 18:38 Ræið#5
Quote:
Originally Posted by Marc~ View Post
II_ARM_M_CLO_CHRISMASMHELMET


II_ARM_M_CHRISMASMHELMET you should at least use the same define as used in defineItem lol
Thanks, didnt see that. However it did not work. But it helped.

Managed to fix it by creating Texture, TextureLow in my model file and placing the dds files as in eFlyff.

I now have the set ingame as it should.

I cant get the female set in though, did exactly as with the male set... Maybe you can see something I am missing again?

I get no errors from it, i just cant spawn it ingame example : /creatitem 20933 should bring me the suit but nothing happens


Files

Thanks in advance