Spawning at multiple area troubles.

S

Setherz

Guest
Hello, I'm currently trying to make a map for Brood War and I'm having major issues with triggers. (Not like I was ever truely good at them. :p)

Right now I have it set up that if player 7 controls a X'nel Naga Temple (Or w/e), he spawns 9 units every 25000 milliseconds (1.5 minutes). I haven't timed it with a stopwatch, but it seems to do it's job well enough. However, sometimes it doesn't spawn at all and waits a few minutes, and I'm not sure if it is conflicting with another trigger.

I have a second and third spawn point up for player 7 as well (He has a total of 4 spawns, but I haven't coded the last until the first two work.) As it works now, I have these 3 additional spawns reliant of a few buildings exsisting, such as the Temple, a protoss structure, a Command Center and a barracks. In total, there are 3 barracks, 3 structures, 4 CCs (2 in the middile), and the single temple. These spawns, however, only spawn every 3 minutes for some reason, even though the trigger is nearly identical to that of the spawn at the temple.

The trigger looks like this for the temple:
Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);

CreateUnit(8, Trooper, Temple Spawn, CurrentPlayer);
CreateUnit(1, Leader, Temple Spawn, CurrentPlayer);
SetResources(CurrentPlayer, Add, 1000, Ore);
Wait(90000);
PreserveTrigger();
Comment("Temple Spawn 0");

This is copied from "StarForge".

The trigger for the 2nd spawn looks like this:
Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 1, Camp, Northern Camp);

CreateUnit(8, Trooper, Northern Camp Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Camp Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Camp Spawn 0");

This is when both the barracks and their camp exsists.

Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 0, Camp, Northern Camp);
Bring(CurrentPlayer, Exactly, 1, Gate, Northern Gate);

CreateUnit(8, Trooper, Northern Gate Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Gate Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Gate Spawn 0");

This is once the camp has been destroyed and the units spawn moves from the camp to the gate.

Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Senate);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 0, Camp, Northern Camp);
Bring(CurrentPlayer, Exactly, 0, Gate, Northern Gate);

CreateUnit(8, Trooper, Northern Barracks Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Barracks Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Barracks Spawn 0");

And this is when both the gate and the camp have been destroyed, and the barracks is the source of the spawn. The last 3 I posted were effecting 1 spawn point, but moving it as areas were destroyed, hence the requirements, and each one is a separate trigger. Switches may be helpful here, but I've never been good at using them.

If anyone can help, I would be very grateful. And just in case I have any further issues, player 1 has 10 camps total and will spawn roughly 7 units at each, though once his camps are destroyed, he will not have any gate or barracks to rely on to continue spawning that specific area's units. He also has a temple of sorts where his main units spawn, but I have not worked on player 1 as of yet, due to the error of player 7. Thanks for any help you give.
 
S

Seth_Keta

Guest
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!
 

Sargon

New Member
Reaction score
83
Seth_Keta said:
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!

This is a Staredit question. Not too many people in this community make Starcraft maps anymore, since the Warcraft III editor is a huge amount better. So don't be surprised if it takes time for an answer to a Staredit quesiton.

But on the bright side, at least your topic probably won't fall off the first page.
 
S

SA_Max71

Guest
Seth_Keta said:
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!
In case you haven't noticed (although I think you have), these forums are pretty inactive. I can try to help you, but... (read what I tell sergo please, or skip to the bottom of this post).

Sergo: although I don't know what how many warcraft maps are out there right now since I don't own a legal copy of warcraft, I know a LOT of starcraft maps are still being made. I also know there are forums that have something to do with starcraft and they have 3,000+ members. Although I have all but quit playing starcraft, I can tell you that www.staredit.net is the best place to ask for help with making starcraft maps. There is at least 20 people active in the map making assistance forum on there. Unless you are spamming, it is very unusual for it to take more than 24 hours for your questions about making starcraft maps to be answered.



Whoever you are that was asking for help: register yourself on www.staredit.net , enter the map making assitance forum, and then ask for help there. I can garent that someone will respond to your post within 24 hours.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top