Staredit Network

Staredit Network -> UMS Assistance -> score type question
Report, edit, etc...Posted by l)ark_13 on 2005-04-08 at 20:35:51
I know this may seem like a silly question for an "Advanced" map maker, but I hardly ever use score types and no almost nothing about them. Please don't question my map making abilities, I can do most anything else tongue.gif This will be the last stepping stone towards me becoming an advanced map maker happy.gif

I need 5 different score types:
One to show hours of the day (12 a.m. to 11p.m.), another to show the number of days you've been playing, one to show how much experience you've accumulated, one to show how much money you have, and a last one to show what level you are.

I could sack the time of day and number of days but I was planning on using them for some quests, but they are optional I guess. I have really been thinking hard about how I can put these all on one map, change their values, remember their values, and switch between views of them. I have been thinking for about a day and because I know almost nothing about score types I was wondering if anyone else has any ideas.

ADDITION:
Okay, I have an idea on how I could do this, but it would take probably over 30 triggers. I also dont know if, or how I could show five (maybe not five) custom score types (if its possible. I dont know blushing.gif )
Report, edit, etc...Posted by chuiu on 2005-04-08 at 20:50:37
Well you basically have units, buildings, kills, razings, and custom you can work with and display. Since you will more than likely be using all of those with the exception of custom you should use a combination of death counters + custom to display any ones you need (outside kills and razings which is probably experience and resources which is probably for money).
Report, edit, etc...Posted by l)ark_13 on 2005-04-08 at 20:53:14
QUOTE(chuiu_os @ Apr 8 2005, 05:50 PM)
(...resources which is probably for money).
[right][snapback]183347[/snapback][/right]

Well actually I used up all my resources for other things (magic points and stamina) so I need to use a score. But its pretty much just the same tongue.gif

To specify my question even further. If I do add the hours of the day, how would I make a trigger that would increase the hours of the day without using 24 different triggers (remember, I have to change p.m. and a.m. too or else this owuld have been a lot easier!)
Report, edit, etc...Posted by chuiu on 2005-04-08 at 21:00:37
Using military time and hypers:

Always
Add 1 to deaths of TIME.

Deaths of TIME is at least 12.
Add 1 to deaths of TIME2.

Deaths of TIME2 is at least 60.
Add 40 deaths of TIME2.

Deaths of TIME2 is at least 2400.
Set to 0 deaths of TIME2.

Edit: Though I realize you probably don't want it to be a fully accurate clock so instead of 12 use something small like "at least 2" for deaths of TIME.
Report, edit, etc...Posted by l)ark_13 on 2005-04-08 at 21:06:16
Military time is the best thing going right now, thanks chuiu_os! But I was hoping to avoid that (except for maybe one character; the time can be different for him because he has a military background). But then how would I change the day, or for that matter, what kind of score type would I use for days?
Report, edit, etc...Posted by chuiu on 2005-04-08 at 21:13:23
Are you counting days or using days of the week? Either way:

Deaths of TIME2 is at least 2400.
Set to 0 deaths of TIME2.
Add 1 to deaths of DAY.
Add 1 to deaths of DAYTOTAL.

Deaths of DAY is at least 7.
Set to 0 deaths of DAY.
Report, edit, etc...Posted by l)ark_13 on 2005-04-08 at 21:23:30
Well, you've done pretty much exactly what I knew how to do (except the idea for the military time). But, what I need to do is somehow show the hour of the day and the days you've played (game days, not real days). So, I would need to add a score to the "custom" score (which is hours) for every hour game you've played. I can do that now. But, how do I add days to "what" score type (it cant be "custom" because "hours" is "custom" score type. But if two different things can be "custom" score types then I didn't know that. How would you change between the two different "custom" score types and still keep track of their different values? eg. 11 a.m. and day 3.) Although I might be misunderstanding you completely.
Report, edit, etc...Posted by chuiu on 2005-04-08 at 22:05:43
By using death counters. Say you're doing it with DAYS. You would have a 2nd set of death counters. Set custom to 0 and subtract from DAYS, add to the new death counter equal to DAYS (you can use a few triggers incrementing downward to do this, very easy), then subtract from that death counter and add to both DAYS and CUSTOM. You can use the same death counter when dealing with custom score for all other death counters also.
Report, edit, etc...Posted by l)ark_13 on 2005-04-08 at 22:27:54
Im having a hard time understanding this, and I feel bad asking you to do this (I'm not lazy! tongue.gif ), but would you make a map for me to understand? Only if its out of your way. Seeing triggers helps me understand them so much better.

EDIT: Im sorry. I worded that completely wrong! No, Im not demanding a map tongue.gif happy.gif
Report, edit, etc...Posted by chuiu on 2005-04-08 at 22:48:58
I already have a map demonstrating what I mean and I don't have time to explain so I'll just post it.

[attachmentid=7521]

It subtracts ore and adds to a death counter, then subtracts that death counter and adds back. This works up to 9999, but you could easily do one with the same amount of triggers that works to 3 or 4x that amount.
Next Page (1)