Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Nov 25, 2009 2:03 am   

Minor gauge upgrades
 
This is a representation of how gauges currently work.

Code:

0>>>>>>>>>>>>>>>X___________MAX


Any chance of adding these to the mix (it's the same gauge as above)?

1)experience to next level
Code:

MAX___________X<<<<<<<<<<<<<<0


2)alignment (Aardwolf style, it ranges from -2500 to 2500)
Code:

MAX1______X<<<<0______________MAX2


Code:

MAX1___________0>>>>>>>>X_____MAX2
_________________
EDIT: I didn't like my old signature
Reply with quote
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Thu Feb 18, 2010 3:40 am   
 
just gonna bump this, would be pretty nice feature, unless it's fairly easy i'ld have to call it fairly low priority thou.
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Feb 18, 2010 6:21 pm   
 
Unfortunately this isn't easy since the gauge is a 3rd party component and the "min" value is always zero and it is always drawn with the 0 value on the left. I'll consider this in the future, but it's going to need to be a low priority, sorry.
Reply with quote
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Thu Feb 18, 2010 7:33 pm   
 
Ahhh, figured that was a custom piece of code. After thinking about this a bit, i think i can fake it with 2 gauges and some funny math, hmmm maybe even get the text to work with a transparent gauge, could be interesting bit of code!
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Fri Feb 19, 2010 3:56 am   
 
Can you just set your max as a negative and trick it?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Feb 19, 2010 4:14 am   
 
Well, the tricky part is that the CMUD gauge is always going to start filling the gauge from the left edge. So I don't see any way to get any "blank space" to the left of the gauge bar.
Reply with quote
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Fri Feb 19, 2010 8:18 pm   
 
Yeah, I'm setting the background color as the color i want, or trying too.

While playing around with %btncol I noticed that there is an undocumented 4th parameter that sets the border color, could 2 more optional parameters be added, gauge low, and gauge background?

also I noticed that %btncol(test,red,,) acts just like %btncol(test,red) in that it sets the background color, which wasn't exactly the behavior I was expecting,
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net