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.
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
[2026-4-25. : 1:39 pm]
NudeRaider -- anoeth47
anoeth47 shouted: Can I get a moderator/lord of the forum to clean up my topics - delete posts not really part of the topic.
send me the links of the posts you want deleted via pm
Please log in to shout.


Members Online: Ojan, Sie_Sayoka