Voxel Turf

Voxel Turf

View Stats:
`star 20 Sep, 2017 @ 6:18pm
Way to define texture ID for new armor item?
I added a new armor item to define_hats_and_armour.lua but can't seem to find the parameter for setting the actual ICON texture, it already has it's own texture tag (ar1) with armour1.png as the texture and that's fine on the character, however in the gun shop it just shows up as a question mark icon.

Not sure how I would make it point to ui/items for the block icon.
< >
Showing 1-2 of 2 comments
SnapperTheTwig  [developer] 20 Sep, 2017 @ 8:31pm 
You need a ui/items/itemX.tga, where X is the item id. This is a 48x48px image.

You can launch the game with --echoItemId to see the id of your currently held item.
`star 22 Sep, 2017 @ 12:14pm 
Ah sweet, thank you Snapper
< >
Showing 1-2 of 2 comments
Per page: 1530 50