Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: too many mutas are spawning???
too many mutas are spawning???
Mar 14 2009, 10:49 pm
By: jkavorski  

Mar 14 2009, 10:49 pm jkavorski Post #1



so my map is almost flawless, it just has one think that keeps freakin bugging me. if you wanna download it and look at the triggers i have and try and figure it out, i would be more than happy.

FOR ANYONE WHO DOWNLOADS IT... so this is basically how my game is played: its a head to head mutalisk micro sorta thing where you have to destroy your opponents photon cannon. you start with 2 mutas. killed mutas respawn after 10 seconds. after every four kills, you level up and your muta limit is increased by one. you can morph your mutalisks into guardians or devourers at any of the four corners, but you can only have one special unit at a time. every four kills you get, there are some unfinished triggers and some edits i wanna make so dont worry too much about those (the whole pylon situation in specific), but the problem im having is that when i level up, i am given a new muta (which is supposed to happen) but then ten seconds later an extra mutalisk appears so i will have 4 mutas at level 2 instead of three which im supposed to have. im thinkin it might have to do with the timing of the triggers but i really dont know for sure. any suggestions would help. i think hyper triggers might help it but i dont know exactly how to make em...

Attachments:
muta micro final.scx
Hits: 3 Size: 45.38kb



None.

Mar 14 2009, 11:29 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Quote from jkavorski
...the problem im having is that when i level up, i am given a new muta (which is supposed to happen) but then ten seconds later an extra mutalisk appears so i will have 4 mutas at level 2 instead of three which im supposed to have...
I took a peak at the triggers, and you have a lot of spawns. It might help if you could tell us the name of the triggers affected by the event of leveling to 2.

It looks like your trigger keeps running because you clear the switch after 15000ms (15 seconds). When the switch is cleared, all of your conditions are met again, so the trigger to spawn the Mutalisk runs again. Either create another condition that terminates from an action inside the trigger, or remove the "Preserve Trigger" if it is not needed.

(I was looking at the "Player 1, owns crysalis, spawn new muta (T1)" trigger).




Mar 15 2009, 4:37 pm jkavorski Post #3



well due to the fact that a crysalis doesnt fall under the [men] category, i had to create two seperate triggers to spawn a new mutalisk, one if your currently morphing a mutalisk (which creates a crysalis), and one if your not. the "player one, new muta spawning" switch is jsut so that people cant take advantage of the two seperate triggers and get a two mutalisks to spawn for them (once for each trigger) when they should only get one. also, the trigger you looked at was for spawning a new mutalisk before you leveled up yet which hasnt been the problem in my game. the problem is that after you level up and are given your bonus mutalisk, the spawn new muta trigger (T2) runs for some reason (even if you have more than two mutalisks where the condition is to have two at most) and spawns a new mutalisk for the player even if none of his have died yet



None.

Mar 15 2009, 4:50 pm Roy Post #4

An artist's depiction of an Extended Unit Death

Sorry for not reading the hyper trigger part: Wiki: Hyper Triggers

I had tested the map and didn't witness an extra spawn...

My guess at this point would be that you are suffering from Wait Blocks. If you notice, when you're making a Guardian/Devourer, you don't receive another Mutalisk for a really long time. This is because only one wait can run at a time for a player. I would recommend you replace your waits with a Death Counter system. 15 seconds would be approximately 176 deaths with hyper triggers. If you don't want to do this conversion, just try moving the waits to the bottom of your action list and see if that changes anything.

Are you sure it's the T2 trigger that's running? A good way to debug triggers would be to create a display text unique to each trigger that could be setting off the problem. You could have a Display Text Message matching the comment of the triggers.

Edit: I took the liberty of inserting death counts and hyper triggers into your map. If you read the links provided in this post, you should understand how it works.

Post has been edited 4 time(s), last time on Mar 15 2009, 6:41 pm by Roy.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
Please log in to shout.


Members Online: jun3hong, O)FaRTy1billion[MM]