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.
1.4 custom resource issues
All development conversation and discussion takes place here
Moderator: Moderator
Message
Author
-
- Spiderkin
- Posts: 543
- Joined: Sat Feb 11, 2012 1:12 am
Jump to
- General
- ↳ Announcements
- ToME 4
- ↳ General Discussion
- ↳ Dumb Questions
- ↳ Character Reports
- ↳ Ideas
- ↳ Spoilers
- ↳ Metaclass: Warriors
- ↳ Metaclass: Rogues
- ↳ Metaclass: Mages
- ↳ Metaclass: Wilders
- ↳ Metaclass: Celestials
- ↳ Metaclass: Defilers
- ↳ Metaclass: Afflicted
- ↳ Metaclass: Chronomancers
- ↳ Metaclass: Psionics
- ↳ Metaclass: Adventurers
- ↳ Metaclass: Tinkers
- ↳ Metaclass: Demented
- ↳ Bugs
- ↳ Bugs Archive
- ↳ Development
- ↳ Addons
- T-Engine 4
- ↳ General Discussion
- ↳ Ideas
- ↳ Modules
- ↳ Development
- ↳ Bugs
- ToME 2.x.x
- ↳ General Discussion
- ↳ Ideas
- ↳ Gameplay
- ↳ Spoilers
- ↳ Modules
- ↳ ToME/Bugs
- ToME 3.x.x
- ↳ General Discussion
- ↳ Ideas
- ↳ T-Engine Development
- ↳ Modules
- ↳ Spoilers
- ↳ Bugs
- Behind the Void
- ↳ Tolkien
- ↳ The Void
- Archives
- ↳ Archives