Invisable Weapons..

10/16/2014 21:43 Dotzie#1
Hello Epvpers, I ran into a trouble with adding new weapons.

Im going to explain what i did do.

First i found the files I wanted to recolor, After recoloring i past the DDS,3DC files in to a New Created folder > Data > Item > DDS,3DC.

After that i did open The Corresponding ITM File (01.itm) 1 handed sharp (AoL)
Saved it and reopend it and Yes the weapon shows with the model.
Took the itm file and puted it in > Data > Item.

Went into the Item.SData
Went to "All Items" And Found a unused Item With the Type "1" Wish are 1 handed sharp weapons for AoL.

Changed the Level, Country and Added it to a Class to make sure i hade a Model.

Saved the Item.SData and reopend it. Went to the AoL Weapons and found the new item. Changed the options to match my "Needs" (Found model and everything. I can see the weapon in Item.SData aswell.

Saved it and then Trowed it in Data > Item. and Made a patch of it. and Ran the Item.sql to match up the Client with DB.

But still the weapon keeps on being Invisable. are there anything i have missed?

// Dotzie
10/16/2014 23:56 Thunder-Forge#2
Quote:
Originally Posted by Dotzie View Post
After recoloring i past the DDS,3DC files in to a New Created folder > Data > Item > DDS,3DC.
Weapons use 3DO, not 3DC, maybe that's the stumble?
10/17/2014 02:04 Dotzie#3
Sorry ment 3DO
10/17/2014 02:36 castor4878#4
easier reason is a missing model definition (itm not updated), the game then silently ignores the drawing.
can you "see" these invisible items in your inventory? is the icon drawn? does description displayed when hovered? if yes, item is valid for server and client pov, and bug is purely graphic otherwise item definition (not appareance) can be invalid.
as a first test, verify the correct display of the item with shStudio from the (recently updated) .saf (not from a workspace), this will confirm you that a file wasn't forgotten in update.
10/17/2014 03:17 Dotzie#5
The glow of the weapon is showing in game. However its not showing the weapon it self in Either Inventory (Except from Icon) or outside inventory. The Shaiya Studio Is showing the weapon perfectly and so is the ITM file. I have the same problem with the Shield i made.
10/17/2014 08:16 Thunder-Forge#6
Sounds like a graphical bug more than a data-side, if the icon and glow is showing in-game. Maybe it is the issue with your recolour as such, sometimes wrong definitions with channels give me similar errors. Could you post that one?
10/17/2014 13:40 castor4878#7
are you using explicit alpha? (dxt3 format) and glow mask? (unk3 field set to 1)
when using a visibility mask (unk3 = 0), a valid alpha channel is required to draw some parts.
10/17/2014 19:18 Truth1010#8
Quote:
Originally Posted by castor4878 View Post
are you using explicit alpha? (dxt3 format) and glow mask? (unk3 field set to 1)
when using a visibility mask (unk3 = 0), a valid alpha channel is required to draw some parts.
I believe (but may be wrong) that this will cause the weapon to have black blocks around the 'design'. For example, between spikes on Claws/Bows etc. Instead of actually making it appear as invisible.

But as Castor says, make sure your alpha channel is done correctly, invisible means you probably have that set wrong and you're seeing almost a ghost image of the weapon.
10/21/2014 21:56 Autrux#9
#moved