Staredit Network

Staredit Network -> UMS Assistance -> Displaying #'s
Report, edit, etc...Posted by Oo.l3ahamut.oO on 2007-02-02 at 17:04:32
QUOTE(spinesheath @ Feb 2 2007, 02:37 PM)
JaFF, he already said he doesn't like the vertical display.

Anyways, the rectangle that has units arranged in the shape of numbers works very well.
I once made a calculator with an 8-digit minimap display that way, and I did all the triggers by hand. It does not take 10000 triggers for 4 digits...

Basically, what you do is:
x is the DC.

if x > 8999
then x - 9000; display "9" as the fourth digit

if x > 7999
then x - 8000; display "8" as the fourth digit

and so on. After x > 999 comes x > 899, of course. Takes 10 * number of digits triggers. 40 in this case. Pay attention to trigger order.
[right][snapback]622176[/snapback][/right]


I really like this idea but I am not sure if I will have enough space to make it visable on the minimap =/ despite being 256x256 its going to be crammed with stuff.

QUOTE(Friut)
How come i cant do that


Because the trigger doesnt have the option to add or subtract it is determined to always be...

set min/gas resources for player X at location Y to Z
Report, edit, etc...Posted by spinesheath on 2007-02-02 at 17:40:30
Minimap probably isn't your best choice. For my calc it was fine, after all the dispaly was the main element (I used almost the whole 128 tiles for my 8-digit display).

But maybe you can pull off a well-readable 4-digit version in the main game screen. I never tried, but it may be possible. My first guess were to use burrowed zerglings, placed in the shape of an 8. When you display a digit, place unburrowed zerglings above the burrowed ones (the burrowed ones are a mere grid) in the correct shape.

I would use zerglings because they are small and form nice lines if placed well.
Report, edit, etc...Posted by Falkoner on 2007-02-02 at 18:15:23
Wait, can you have a trigger automatically change a string depending on the amount of DC's? Sorry if it sounds newbish but I'm just wondering, because, in like Tuxedo's tutorial map he tells you the amounts of death counts for spidermines.

Edit:
Nvm, just checked the triggers, dangit... I guess it's obvious you can't do that or this would be solved easily.

Do you have anything open? Like vespane, or a scoreboard, or minerals?
Report, edit, etc...Posted by Dark_Marine_123 on 2007-02-02 at 19:11:20
QUOTE(Oo.l3ahamut.oO @ Feb 1 2007, 08:31 PM)

Basically the first is 421 damage and second is 5309. But the problem is it would display in the text message like...

5
  3
    0
      9


Just keep doing it like that, without EUD triggers its hopeless to look for a method. Unless you DO what to do 10000 triggers. Sorry man.
Report, edit, etc...Posted by Oo.l3ahamut.oO on 2007-02-02 at 21:40:16
QUOTE(Falkoner @ Feb 2 2007, 06:15 PM)
Do you have anything open? Like vespane, or a scoreboard, or minerals?
[right][snapback]622291[/snapback][/right]


You know... Even though I already have 3 Leaderboards... perhaps I could use another 1 and only display it during battle similar to the hp board that would display the last attack damage you did... Funny, the simplist idea here is the 1 I think I am going to use...

thanks!
Report, edit, etc...Posted by Falkoner on 2007-02-02 at 21:55:05
No problem tongue.gif So funny that all these smart people are giving ideas and my stupid newbish idea is the one you pick smile.gif
Report, edit, etc...Posted by Dark_Marine_123 on 2007-02-03 at 01:48:35
Actually using a score board to display damage delt might be a good idea. StarmanJr. (or w/e his name) made a RPG that used scoreboards to tell you how much gold and exp you obtained at the end of a battle.
Report, edit, etc...Posted by Oo.l3ahamut.oO on 2007-02-03 at 12:48:27
QUOTE(Dark_Marine_123 @ Feb 3 2007, 01:48 AM)
Actually using a score board to display damage delt might be a good idea.  StarmanJr. (or w/e his name) made a RPG that used scoreboards to tell you how much gold and exp you obtained at the end of a battle.
[right][snapback]622576[/snapback][/right]


Yeah I was hesitant about a 4th leaderboard but I figured, XP and Level would only show in the field, and HP and Damage would be shown in battle. So it wouldnt be cluttered.
Next Page (2)