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:07 pm]
Symmetry -- no u
[12:54 am]
lil-Inferno -- u
[2026-10-01. : 2:28 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider non-sequitur harder daddy
no shit sherlock. I wanted you explain what you mean with time capsule (hence the question mark!), because obviously what follows makes no sense. For someone so intelligent you can be quite daft at times...
[2026-10-01. : 4:00 am]
Oh_Man -- NudeRaider
NudeRaider shouted: time capsule? you don't talk to 90s kids outside of SEN?
non-sequitur harder daddy
[2026-10-01. : 2:56 am]
Symmetry -- Talk to people? Like in real life?
[2026-9-30. : 3:07 pm]
NudeRaider -- time capsule? you don't talk to 90s kids outside of SEN?
[2026-9-30. : 1:57 pm]
Oh_Man -- SEN is kinda like, a place wher u can be pretty much gauranteed u talking to a millenial, prob born around the early 1990s, its like a time capsule
[2026-9-30. : 1:05 pm]
NudeRaider -- well he is calling himself weirdo...
[2026-9-30. : 3:25 am]
Symmetry -- the best part is that he perfectly summed up SEN's discord
[2026-9-30. : 3:12 am]
Ultraviolet -- WeirdoX4857
WeirdoX4857 shouted: Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
Joined: Yesterday, 12:08 pm Last Active: Yesterday, 12:14 pm , truly a glorious 6 minutes.
Please log in to shout.


Members Online: Symmetry, l)ark_ssj9kevin