EOSERV Forum > Client Editing > Formulas to convert GFX IDs to resource IDs
Page: << 1 >>
Formulas to convert GFX IDs to resource IDs
Author Message
Post #202882 Formulas to convert GFX IDs to resource IDs

I find it very hard to find the resource bitmaps for the given pub items.

I created formulas to make it easier to find them (I currently use Google Sheets to auto calculate the resource ids).

(Just replace the variable "GFX" with your GFX ID)

Note: This is to find the start bitmap ID.


Weapon resource ID:

(GFX-1)*100+101


Shield resource ID:

(GFX-1)*50+101


Armor resource ID:

(GFX-1)*50+101


Hat resource ID:

(GFX-1)*10+101


Boot resource ID:

(GFX-1)*40+101


Effect potion resource ID:

Unknown, I can't find any consistency to create a formula. Any ideas?


Icon resource ID:

(GFX-1)*2+101


In short:

- Weapons increment by 100

- Shields and armor increment by 50

- Boots increment by 40

- Hats increment by 10

- Icons increment by 2


---
Just your friendly neighborhood Programmer-Man!
2 years, 1 week ago
Post #202883 Re: Formulas to convert GFX IDs to resource IDs

It's easier to understand than how I've been doing it, much appreciated. :)

2 years, 1 week ago
Page: << 1 >>

EOSERV Forum > Client Editing > Formulas to convert GFX IDs to resource IDs