Let me start off by saying im not very familiar with dialogs, but i've played around with it that i know how to get a dialog progress bar working. The problem is when i set the progress bar to a custom image, and i try to get the progress to fill up - it wont. So i go ahead and create another dialog image to scale which works, except it goes flat at the end like an actualy bar, instead of staying within the image of the actual bar (the bar isnt a square, its diagnal on both ends)
For progress bars you have to use the set maximum value and the minimum value and then for it to fill you have to set the current value in relation to that.
ex
create dialog dialog blah blah blah
create a progress bar for dialog dialog
set last created dialog item size to size x, size y
set minimum value to 0
set maximum value to 100
set current value to 1*number of game seconds
I'm going to attach an example map in a little bit when i'm finished to help you understand better.
Also included in the map is my own example of a progress bar which i think look better that i just create an image with and then scale it according to their progress.
Hey man, thanks a lot I really appriciate it. Unfortunately this doesn't solve my problem. My problem was in custom image bars being filled without having the progression extending outside of the box, if that makes sense.
let me see if i after looking at this i have it right. Essentially you have a custom image that is a diamond. and when you set the custom image for the bar it makes the diamond a square. as for progression outside of the box. Huh O.O i have no idea what you mean, if you could post an example of it that would help me figure it out. or you could send me a pm with it if you don't feel comfortable posting it.
Thanks i figured out what i needed to do, or at least an alternative.
In the long run, i didnt end up using any progression bars but made a custom bar in photoshop and split it into 15 different images as it fills up. I then triggered it to use the appropriate photo with the bar filled to the amount.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Let me start off by saying im not very familiar with dialogs, but i've played around with it that i know how to get a dialog progress bar working. The problem is when i set the progress bar to a custom image, and i try to get the progress to fill up - it wont. So i go ahead and create another dialog image to scale which works, except it goes flat at the end like an actualy bar, instead of staying within the image of the actual bar (the bar isnt a square, its diagnal on both ends)
What am i doing wrong?
For progress bars you have to use the set maximum value and the minimum value and then for it to fill you have to set the current value in relation to that. ex create dialog dialog blah blah blah create a progress bar for dialog dialog set last created dialog item size to size x, size y set minimum value to 0 set maximum value to 100 set current value to 1*number of game seconds
I'm going to attach an example map in a little bit when i'm finished to help you understand better. Also included in the map is my own example of a progress bar which i think look better that i just create an image with and then scale it according to their progress.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
there you go
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Hey man, thanks a lot I really appriciate it. Unfortunately this doesn't solve my problem. My problem was in custom image bars being filled without having the progression extending outside of the box, if that makes sense.
let me see if i after looking at this i have it right. Essentially you have a custom image that is a diamond. and when you set the custom image for the bar it makes the diamond a square. as for progression outside of the box. Huh O.O i have no idea what you mean, if you could post an example of it that would help me figure it out. or you could send me a pm with it if you don't feel comfortable posting it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
Thanks i figured out what i needed to do, or at least an alternative.
In the long run, i didnt end up using any progression bars but made a custom bar in photoshop and split it into 15 different images as it fills up. I then triggered it to use the appropriate photo with the bar filled to the amount.