Staredit Network

Staredit Network -> UMS Assistance -> About the Countdown Timer
Report, edit, etc...Posted by TheNomad on 2006-11-26 at 09:54:33
Because I only made maps for fun and mostly campaigns for friends, I never tried this online so I was curious... is the CD timer client-side or server-side ?

What I mean is, can each player have their own timers, like P1 have 20 seconds, P4 50 seconds etc. or is it one timer for everyone ?

(the curse of making only offline maps grr sad.gif )
Report, edit, etc...Posted by Shocko on 2006-11-26 at 09:57:11
I don't think so, but if you do something like DeathCounter timers or Phsyical timers then you could achieve the same affect. If you need to know what those are ill be glad to help you.
Report, edit, etc...Posted by TheNomad on 2006-11-26 at 10:36:49
Thanks!

Yeah I know how to use all of the stuff, it's just that I only used them offline.
The reason I wanted to use CD timers was to basically give the hint of "here... THIS is how much time you have left to use this ability". My initial way of wanting to do it was to use leaderboards, but they will show all players in the list which doesn't look that pretty tongue.gif

I suppose I could use text, but overlapping 11 lines just to show a timer would disable in-game chat for that player sad.gif If I could use 1.14 EUDs to change the unit's name to something like "Marine (20 secs left)... Marine (19 secs left)... Marine (18 secs left) etc.) so that he could see the time in his name or if I could increase or decrease kills it would be something...

So I was looking for a method that would more or less display the remaining time sad.gif
And timers seemed the most professional way. But if timers are server-side that kinda kills my ambition. The only way I can think of actually displaying a virtual timer would be to use the energy bars... although it would have been my last resort sad.gif
Is there any other displayable timer that is even a bit client-side or at least doesn't influence other players ?

Note: this wouldn't exactly be for an UMS, so any suggestions involving use of locations is out
Report, edit, etc...Posted by Heimdal on 2006-11-26 at 12:05:44
There's not really a distinction between client and server here - although one machine is the host and the rest are clients, the networking is synchronous so everything is the same on every machine.

I think what you're asking is "does each player have their own countdown timer," and the answer is no.

You could display a number through the player's gas or minerals, unless you're using those for other things.

Using display text wouldn't be so bad if you only print the time every second (i.e. whenever it changes). I would recommend against clearing the screen when doing this too, but that's up to you.

And...how were you planning on using the countdown timer if this isn't a UMS map?
Report, edit, etc...Posted by Shocko on 2006-11-26 at 13:47:48
Why not do Deathcounters and do it like 1 minute remaining, 30 secons remaining, 15 seconds remaining, 10...9...8...7...6...5...4...3...2...1..0 Then you don't get overly done in spam untill the 10 - 1 countdown thing, you don't even need to do that. You coul do 10 seconds remaining, 5 seconds remaining, countdown reset.

Very simple solution.
Report, edit, etc...Posted by fritfrat(U) on 2006-11-26 at 13:56:51
Um, countdown timers work fine for this, as long as you don't mind everyone using the same timer. If you want people to use different timers, just subtract gas or ore. Or, another variable (such as deaths) and make display text messages telling you how much time is left.
Report, edit, etc...Posted by Shocko on 2006-11-26 at 14:01:53
QUOTE(fritfrat(U) @ Nov 26 2006, 10:56 AM)
Um, countdown timers work fine for this, as long as you don't mind everyone using the same timer. If you want people to use different timers, just subtract gas or ore. Or, another variable (such as deaths) and make display text messages telling you how much time is left.
[right][snapback]595135[/snapback][/right]

QUOTE
What I mean is, can each player have their own timers, like P1 have 20 seconds, P4 50 seconds etc. or is it one timer for everyone ?


Your way works frit but i said it because he wanted one timer per each person and to my knowledge you can't have them at different times on the timer because it is the same timer for all of them -- so i just gave him / her examples of others timers.
Report, edit, etc...Posted by TheNomad on 2006-11-26 at 14:13:03
Thanks guys... I'll keep on cursing then...
Think I'll use my initial method of abusing energy and MAYBE using EUD conditions, although I think I'll rather use waits.

I'll insert the triggers in Melee via GOTRGs.
The question was addressed for modding via mapping smile.gif

I mean I know how to use trigs, terrain and all that, but I never did them online, so I never knew if the timer is unique (which I assumed it was due to the lack of "display CD timer for the current player" statement) so I needed doublechecking.

Since it's Melee, I can't use resources, deaths would be OK, switches as a last resort, but Energy seems best since it won't involve any spam at all. I'd have used the Leaderboard but the CD was supposed to be "private", although if the units used (with the energy) will be too powerful and produce an imba in the mod, I'll use the Leaderboard so that the enemy can run away till the unit "expires" knowing how much time they have left.
Next Page (1)