Staredit Network > Forums > SC2 Assistance > Topic: This is what I'm trying to do:
This is what I'm trying to do:
Sep 15 2010, 4:20 pm
By: Endureth  

Sep 15 2010, 4:20 pm Endureth Post #1



So this is what I'm trying to do:

There are 4 teams of 2 players each.
Each player starts with a marine spawning at a point every 3 seconds.
Throughout the game players can buy upgrades from their CC (named Guard Post in this scenario) to have War Pigs (Heavy Guards) or Marauders (Armored Guards) spawn as well.
When the heavy guard upgrade is purchased a war pig will spawn every 15 seconds in addition to the marine.
When the armored guard upgrade is purchased a marauder will spawn every 30 seconds in addition to the marine and war pig.

This is how I have it set up so far:

http://img690.imageshack.us/f/scedit0001.png/
http://img251.imageshack.us/f/scedit0002.png/
http://img695.imageshack.us/f/scedit0003.png/
http://img838.imageshack.us/f/scedit0004.png/
http://img243.imageshack.us/f/scedit0005.png/
http://img340.imageshack.us/f/scedit0006.png/

Now, you can probably tell I'm totally new to this by how I've done all this. I am, but once I learn a concept, I retain it. I just need help learning it.

ULTIMATELY, what I'm trying to achieve is something that works more like this:

There are 4 teams of 2 players each.
Each player starts with a marine spawning at a point every 3 seconds.
Players can pay minerals to upgrade their spawns by adding a war pig every 15 seconds or a marauder every 30 seconds.
Other players can pay minerals to turn off portions (or all) of another players spawn (either indefinitely or temporarily).

I know there's a better way to write this code and I think it has something to do with Booleans(?) or Arrays(?) but I don't know what they are or how to use them. Perhaps maybe there's a much better way I don't know about. I guess what I need is a way to dynamically turn spawns on and off in game by paying minerals at your command center.

Can someone help me with a tutorial for this? And if someone would be willing to actually tutor me and help me with the entire map I'd be grateful for that also. I have a lot more concepts for the map as a whole and will have to learn all kinds of things to finish it.

Thanks.

Post has been edited 1 time(s), last time on Sep 15 2010, 4:32 pm by Endureth.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:52 pm]
NudeRaider -- use scmscx.com
[04:39 pm]
NimoStar -- While I can download, uploading is another story (771 kb file)
[10:58 am]
UndeadStar -- Members Online: UndeadStar, EwanDalrymple090, CedrikPaquette881, ThierryCloutier864, RussellWalker308, RoisinMcCann053, GrahamEllery106, DeirdreMcCloskey160 <= good thing they only watch and don't all post
[2026-11-15. : 7:59 pm]
Symmetry -- but I seem to be downloading things fine
[2026-11-15. : 7:59 pm]
Symmetry -- the DLDB here is kinda sketch
[2026-11-15. : 6:32 pm]
Zakerozi -- Something is wrong and I cannot download maps;((
[2026-11-15. : 5:38 am]
Decency -- any way to sort this by downloads? https://staredit.net/sc1db/browse/allmaps/
[2026-11-15. : 5:10 am]
Symmetry -- The house always wins
[2026-11-15. : 4:56 am]
Moose -- 160, take a seat
[2026-11-14. : 6:27 pm]
Symmetry -- Someday I'll be able to afford a glowing name :(
Please log in to shout.


Members Online: Soul Filcher, AnnaSchmid424, MaartjeVisser265, NudeRaider