Staredit Newtork
Community
StarCraft
Games
Site
Favourites
MORE SPAWN PROBLEMS

Creator: Ryan
Time: Jan 12 2008, 5:26 am

Post #1     Ryan Jan 12 2008, 5:26 am

[Avatar]
I care not for your little life.
 offline contact
k. More spawn problems for you guys.

I'm using DCs to determine when units will spawn, instead of Waits because they create wait blocks.

I have 3 different types of units, which spawn at different times.
So Unit 1 will begin spawning after 120 game seconds,
Unit 2 will begin spawning after 360 game seconds,
and Unit 3 will begin spawning after 600 game seconds.

This is where the DCs come in, I want the DCs so the spawn trigger will Preserve Trigger. (Hooray for good grammar)
I've done a test, and every game second counts as 6 Death Counts with Hyper Triggers and no waits. So 120 game seconds would = 720 Death Counts.

I add a Death Counter:
Trigger
Description:

Players:
¤ Player 7

Conditions:
¤ Player 7 has suffered at most 719 deaths of Rhynadon
¤ Elapsed scenario time is at least 1 second

Actions:
¤ Set deaths for Player 7: Add 1 death for Rhynadon
¤ Preserve Trigger
¤ Comment


So to spawn Unit 1, I have:
Trigger
Description:

Players:
¤ Player 7

Conditions:
¤ Elapsed scenario time is at least 120 game seconds
¤ Player 7 has suffered at least 720 deaths of Rhynadon

Actions:
¤ Create 20 Zergling at Spawn 1
¤ Preserve Trigger
¤ Comment


And finally, to make sure that Unit 1 doesn't constantly spawn, I have the DC reset:
Trigger
Description:

Players:
¤ Player 7

Conditions:
¤ Player 7 has suffered at least 720 deaths of Rhynadon

Actions:
¤ Set deaths for Player 7: Set to 0 for Rhynadon
¤ Preserve Trigger
¤ Comment


The problem is,
The only time Unit 1 will spawn, is when the Reset Trigger is removed. When Reset Trigger is present, the units won't spawn whatosever. Is the Reset Trigger just constantly setting the deaths for Rhynadon to 0? Is it just preventing the deaths from adding?

Any help with my situation would be appreciated.
(signature image)
Prepare to drop.
Top

Post #2     Falkoner Jan 12 2008, 5:36 am

[Avatar]
Taking StarCraft Modding to the Limit!
 offline contact
Well, first off, it's actually more like 12 deaths per game second, and to fix this up, remove all the elapsed game times, they are useless if you are preserving the trigger. And they are probably also the problem, since the deaths get there first, they reset before the timer, so when the timer finally makes it, the deaths are woefully behind.
Top

Post #3     ws-Impeached Jan 12 2008, 6:01 am

[Avatar]
 online contact
It's 8 actions per game second. If you dont' believe me, make a trigger that gives 1 ore per cycle, using an at least and at most elapsed time condition.
(signature image)
Reverie World Studios Scenario Scripter
Top

Post #4     Ryan Jan 12 2008, 7:14 am

[Avatar]
I care not for your little life.
 offline contact
Wouldn't the elapsed game times be necessary since I'm using countdown timers?
(signature image)
Prepare to drop.
Top

Post #5     NudeRaider Jan 12 2008, 2:42 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 online contact
Quote from ImpeachedIt's 8 actions per game second. If you dont' believe me, make a trigger that gives 1 ore per cycle, using an at least and at most elapsed time condition.

Oh jeeez.... when will ppl finally realize it? (nothing personally, falk, but I already said that in NUMEROUS threads, and I'm getting tired of it.)
We should really make a sticky note containing this sentence:

When hyper triggers run, the triggers are checked 8 times a game second and will be checked 12 times per real time second on speed 7. This (last) is the value you have to use when you replace waits, as waits are measured in real time.
This post was edited 2 times, last edit by NudeRaider: Jan 13 2008, 5:20 am.
(signature image)
www.sonsofwar.uuuq.com___0% (user posted image) 100%
Top

Post #6     ws-Impeached Jan 12 2008, 4:31 pm

[Avatar]
 online contact
..Ok, thanks for confirming what I said.
(signature image)
Reverie World Studios Scenario Scripter
Top

Post #7     rockz Jan 12 2008, 8:51 pm

[Avatar]
We are not amused
 offline contact
You have 2 triggers there which act only when you have 720 deaths. One of those resets it. What's happening is it's resetting it before the 120 game second mark. The units will spawn when you get to 720 deaths the second time (after the 120 second mark).

If you only want them to spawn once, why not just use elapsed time is 120/240/360? If you could explain what you want better, I could help you out even more.
Of the sparkling wines, the most famous is Perth Pink. This is a bottle with a message in, and the message is 'beware'. This is not a wine for drinking, this is a wine for laying down and avoiding.

Another good fighting wine is Melbourne Old-and-Yellow, which is particularly heavy and should be used only for hand-to-hand combat.
Top

Post #8     Falkoner Jan 12 2008, 10:55 pm

[Avatar]
Taking StarCraft Modding to the Limit!
 offline contact
QuoteIt's 8 actions per game second. If you dont' believe me, make a trigger that gives 1 ore per cycle, using an at least and at most elapsed time condition.


Sorry about that, it's odd that I would forget as I actually HAVE done that exact test...

And rockz repeated what I said, although I think it's necessary to explain it a little better.
Okay, I'm not going to use 8 deaths a second, as it is slightly off, the most perfect method of finding a time, is using 1 death every 84 milliseconds instead, so you would get about 1428.5714285714285714285714285714 deaths in 120 seconds. There is no need for elapsed game timer, just remove it and your trigger will work, trust me. Currently, your triggers WILL run, they just won't run the first time around, they will on the second time.
Top

Post #9     NudeRaider Jan 13 2008, 4:03 am

[Avatar]
Write your own destiny, or else someone will write it for you!
 online contact
ooops
(signature image)
www.sonsofwar.uuuq.com___0% (user posted image) 100%
Top

Post #10     Ryan Jan 13 2008, 4:43 am

[Avatar]
I care not for your little life.
 offline contact
Oh ok I see what you guys are saying. Yes, now my trigger is working. Thank you, yet again. =D
(signature image)
Prepare to drop.
Top

Post #11     12egoldi Jan 13 2008, 5:12 pm

[Avatar]
 offline contact
Yo, please, post your fixed trigger cause im havign a hard time doing mine...please
Top
0 members in this topic: None
+ 0 guest(s)


[01:58 pm]
LeoReaper -- How 2 change colors, like rockz did?
[01:57 pm]
LeoReaper -- Hello :P
[12:16 pm]
MadZombie -- COPYRIGHTED yo
[12:16 pm]
MadZombie -- mah sleepy face
[12:16 pm]
MadZombie -- g_g
[08:28 am]
rockz -- Fuck you all I passed the FE.
[08:11 am]
madroc -- civils suck
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions