Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Death Counter Timer
Death Counter Timer
Jun 16 2017, 8:18 pm
By: Mimose  

Jun 16 2017, 8:18 pm Mimose Post #1



Heyhey,

i just read the wiki article about Death Counter based timer which is really nice!
But i have some questions about it:
1. Has the Player who is getting the timer to be "Neutral"?
2. In wiki the condition for setting the desired amount is "Never" .... O_o?! (Could i replace it instead with "...death is 0"?)
3. Do i need to use substract only? Or could I start from 0 and adding values?
3a. I tried "add" and resetting on value 10 - It was about 15-16 seconds till a new loop startet - In wiki is written: "If you are using hyper triggers on fastest, the counter will change 12 times per real-time second" - how do those difference could be? has it to do with 1. and 3.? (I'm using 4x62 "Wait for 0 ms" hypers on same player who has the timer-trigger)

Thanks in advance :teehee:


Edit:
Testet it now with substracting values from a starting value of 120
When im using it on Player 6 (the one with hypers and nothing else) It took about 1 or 2 minutes till a new loop started (sry i didnt take the time, but surely it was a lot longer than 10 sec.)
Changing the triggers to Neutral did not work at all...

Edit2: reading through the FAQ "PLAYERS 9, 10, 11, and 12" makes it clear why it doesnt work for neutral, im just curious why its written that way in the wiki :)

Post has been edited 2 time(s), last time on Jun 16 2017, 9:06 pm by Mimose.



None.

Jun 17 2017, 1:47 am theskinsurf Post #2



I always put my hypers on All Players and don't use any other mode of waits in my maps.



Current project: Star Rogue
Other projects: Triumvirate Defense, Skirmish Islands

Jun 17 2017, 1:35 pm LoveLess Post #3

Let me show you how to hump without making love.

Quote from Mimose
1. Has the Player who is getting the timer to be "Neutral"?
2. In wiki the condition for setting the desired amount is "Never" .... O_o?! (Could i replace it instead with "...death is 0"?)
I believe both of these are placeholders, set the player to anything you want instead of neutral. Just remember that if the player is not there, the triggers he owns will be ignored. This applies to neutral players as well, since there is no player/computer, their triggers do no operate.
Quote from Mimose
3. Do i need to use substract only? Or could I start from 0 and adding values?
Using 0 as the end for timers is generally a good idea if you ever decide to increase how long that specific timer goes for by simply changing the amount you add.
Quote from Mimose
3a. I tried "add" and resetting on value 10 - It was about 15-16 seconds till a new loop startet - In wiki is written: "If you are using hyper triggers on fastest, the counter will change 12 times per real-time second" - how do those difference could be? has it to do with 1. and 3.? (I'm using 4x62 "Wait for 0 ms" hypers on same player who has the timer-trigger)
Hm, and your hypers are preserved of course?
Reset Timer
Players

  • Player 1
  • Conditions

  • Deaths for Player 1 Terran Marine are exactly 0
  • Actions

  • Preserve Trigger
  • Deaths for Player 1 Terran Marine Set to 120
  • Effect you want to happen every 10 seconds


  • Countdown Timer
    Players

  • Player 1
  • Conditions

  • Deaths for Player 1 Terran Marine are at least 1
  • Actions

  • Preserve Trigger
  • Deaths for Player 1 Terran Marine subtract 1


  • Those two triggers will give you a 10-second timer, roughly. If you want to get more exact, do 12.6(?) deaths and multiply it by the amount of seconds you want. Then remove anything after the decimal or round it up, etc.



    None.

    Jun 17 2017, 2:58 pm Azrael Post #4



    Quote from LoveLess
    If you want to get more exact, do 12.6(?)
    11.9 (or 1000/84, to be perfectly exact).




    Jun 17 2017, 3:31 pm Mimose Post #5



    Quote from LoveLess
    Hm, and your hypers are preserved of course?
    I checked it to be sure but yes they are preserved (thats why there are only 62 wait-triggers in one triggerblock ;))
    This is what my triggers look like:
    Reset Timer
    Players

  • Player 6
  • Conditions

  • Current Player has suffered at most 1 death of Timer.
  • Actions

  • Preserve Trigger
  • Modify death counts for Current Player: Set to 120 for Timer.
  • Create 1 Artanis (Scout) at 'P7Tower' for Player 7.


  • Countdown Timer
    Players

  • Player 6
  • Conditions

  • Always
  • Actions

  • Preserve Trigger
  • Modify death counts for Current Player: Substract 1 for Timer.


  • I measured with the countdowntimer which is running there for other purposes and the Trigger looped after 195 Countdowntimer-seconds...
    In case you want to check this out for yourself i attached the map. (Make sure to go into Force "Commander" (Pl 7) before starting the map.)

    Edit:
    To check if those deathcounter based timers really work i made a brand new map...and well there it worked really fine, i guess those issues have to do something with my map :><: ... ill check triggers tomorrow and will share the results

    Edit2:
    *doh* Im sorry, im dumb again - There where wait triggers for the leaderboard. Because they did belong to all players some waitblocks occured. Fixing it was quite eazy.

    I <3 Dathcounter timers :)


    But another question just for interests:
    The wiki says its possible to adjust the deathcounter so that it fits to the Countdown-Timer - how could that be done? I imagine a system of two Deathtimers would work ?!

    Attachments:
    Medieval SF 0.2.scx
    Hits: 2 Size: 145.05kb

    Post has been edited 2 time(s), last time on Jun 18 2017, 7:57 am by Mimose.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [06:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [06:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [06:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [06:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [06:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    [06:48 pm]
    Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
    [06:47 pm]
    Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
    [06:45 pm]
    NudeRaider -- Vrael
    Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
    beats me, but I'd make sure to pick the epitome of excellence and nothing less.
    [06:41 pm]
    Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
    [06:38 pm]
    Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
    Please log in to shout.


    Members Online: lil-Inferno, Vrael, Roy