Jump to content

Invisible Ground Icon: What is proper


Bill Bisco

Recommended Posts

Dear all,

 

My code below's ground icon code in red is not working. I have referenced the ITM File format here , but am still having problems.

 

The Icon is invisible. What am I doing wrong? Any help would be appreciated.

SAY DESC ~Llamien Blacksheaf forged this armor for Erevain Blacksheaf's adulthood ceremony. Highly ornate, flexible, protective and decorated with embellishments of the Blacksheaf family crest, this armor strikes a high bar for Elven armorsmithing. Fitted especially for Erevain, this armor is nearly impossible for others to don.

STATISTICS:
Armor Class: 1
Weight: 25
Requires: 12 Strength
Usable By:
Erevain
Penalties:
Pick Pockets -35%
Open Locks -15%
Find/Remove Traps -40%
Move Silently -25%~
WRITE_ASCII 0x003a ~IBIITM01.BAM~ #8 // 8 (resref) Inventory icon
WRITE_ASCII 0x0044 ~GPLAT01.BAM~ #8 // 8 (resref) Ground icon
WRITE_ASCII 0x0058 ~DBIITM01.BAM~ #8 // 8 (resref) Description icon */

 

Link to comment

Don't add file extension of the resource names in your WRITE_ASCII statements. The game looks for the right type implicitly.

WRITE_ASCII 0x003a ~IBIITM01~ #8 // 8 (resref) Inventory icon
WRITE_ASCII 0x0044 ~GPLAT01~ #8 // 8 (resref) Ground icon
WRITE_ASCII 0x0058 ~DBIITM01~ #8 // 8 (resref) Description icon */

It worked in two of your three statements only because they're already 8 characters long.

Link to comment

Why the .bam's in the code ?

A would do just fine:

WRITE_ASCII 0x003a ~IBIITM01~ 
WRITE_ASCII 0x0044 ~GPLAT01~ 
WRITE_ASCII 0x0058 ~DBIITM01~ 

You'll also notice that your version of the item with the above code could possibly use the GPLAT01..bam -file as the ground icon ... as that's the value you assign to it. Weidu could be made to probably fix your failure at this, but I would never recommend using erroneous code while coding things.

You also notice that you quoted the whole code out with the /* & */, correct ? Starting before you copy the files to the override folder, line 152.

 

I suspect when looking at what Near Infinity shows in the .itm files, it shows the .bam in the file reference, which might make you believe that it might be ok to refer to the end, but the file itself only holds the file name while the file definition requires the file to be a .bam .. or something.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...