Page 1 of 1

Change the inventory icon of a torch(problem)

Posted: Thu Jul 27, 2017 6:11 pm
by thangtamfive
I dunno. I am trying to make a custom item. I took the everburning torch and changed it's model to look like the orb of radiance. to create an "orb" that burns forever like a torch.

now, I know the graphic has 2 components, the 3d model you see when it's on the ground, and then the 2d icon when you pick it up.

the 3d model on the ground looks right, but when I pick it up, it changes to look like a torch again.

in the past, I just changed the GfxIndex to match the item in the grimrock assets.

but this torch, no matter what I change the GfxIndex to, it still looks like a torch.
is the 2d image hardcoded in, because it's class = TorchItem?

is it because I'm trying to give it a GFXIndex for a class = EquipmentItem?

but I am assuming that to get it to act as an everburning torch, I need this

Re: Change the inventory icon of a torch(problem)

Posted: Sat Jul 29, 2017 9:42 am
by zimberzimber
As far as I can tell, its hardcoded to the TorchItemComponent.