Just did some nosing around the item structure in GWA2, specifically in trying to identify rare weapons in some other way than to attempt to collect all of the viable Model ID's. I think I might have found some loose reference to the item's icon?
I've got a few frog sceptres left over from some old SC's I used to do, so started with those. I noticed that even though all 3 of my sceptres have different ModelIDs...
Code:
MsgBox(0,'ModelID',DllStructGetData($lItemStruct,'ModelID') ; This is different for all 3 frog scepters ; ~~~ Worked Examples (ModelID=Description) ; 1953=Froggy (Domination) ; 1956=Froggy (Fast Casting) ; 1957=Froggy (Illusion) ; 2421=Amethyst Aegis (Motivation) ; 2423=Amethyst Aegis (Tactics) ; ~ Inscriptions ; 15542=Inscription "Strength and Honor" ; 15542=Inscription "Dance with Death" ; 15541=Inscription "Riders on the Storm" ; 15541=Inscription "Leaf on the Wind" ; ~ Dyes (note ModelID change!) ; 24888=Vial of Sadie's Dye [Pink] ; 146=Vial of Dye [Pink] ; 146=Vial of Dye [White]
Code:
MsgBox(0,'IconID ???',DllStructGetData($lItemStruct,'unknown2') ; This is THE SAME for all 3 frog scepters ; ~~~ Worked Examples (unknown2=Description) ; 0x33370500=Froggy (Domination) ; 0x33370500=Froggy (Fast Casting) ; 0x33370500=Froggy (Illusion) ; 0x239B0400=Amethyst Aegis (Motivation) ; 0x239B0400=Amethyst Aegis (Tactics) ; ~ Inscriptions ; 0x44240300=Inscription "Strength and Honor" ; 0x44240300=Inscription "Dance with Death" ; 0x43240300=Inscription "Riders on the Storm" ; 0x43240300=Inscription "Leaf on the Wind" ; ~ Dyes ; 0xA7240000=Vial of Sadie's Dye [Pink] ; 0xA7240000=Vial of Dye [Pink] ; 0xA7240000=Vial of Dye [White]
Questions:
Has anyone else checked this out, and can it be confirmed for other rare items like Bone Dragon staff?
Can anyone figure out exactly what data type this is supposed to be, and is it really 4 bytes in size?







