1.4 custom resource issues

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

1.4 custom resource issues

#1 Post by stinkstink »

So being able to throw everything related to defining a custom resource into the defineResource call is a big improvement, but there are a few inflexibilities that are bothering me:

-It only supports two front images, front and front_dark, chosed by the highlight function. Stoics have four based on the number of charges an effect has. I've tried a couple of hacks (redefining the resource's front image on the fly, drawing the desired front in shader_params) but haven't gotten anything to work and I don't really have enough experience with the glTexture stuff to know if I'm doing it wrong.
-As far as I can tell, there's no way to customize how the resource is displayed in Classic mode short of marking the resource hidden and using the old UISet:Classic:Resources hook, which has its own host of problems. I'd like it to work similarly to how I have it set up in Minimalist mode, but seem limited to one bar color that stretches to the pre-defined maximum instead of the value I want.

Post Reply