Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Creating a shoot-'em-up style UMS for SC:
Creating a shoot-'em-up style UMS for SC:
Mar 13 2010, 2:16 pm
By: Aristocrat  

Mar 13 2010, 2:16 pm Aristocrat Post #1



Essentially, I have a 20 x 256 map and the player is to control a terran wraith and kill enemy air units with generated "missiles". See Raiden X for one such example.

(Since SC unit acceleration sucks and I can't implement WASD movement without shrinking the map to 20x12, the control is based on the mouse. Sorry!)

So far, I had no problems with the enemy generation, powerup system, respawning, kill tracking, and all the other essential features, EXCEPT the problem of bullet collision detection. I can think of no conceivable method to generate a steam of "bullets" that will kill air enemies on contact, and the workaround of generating a constant stream of scourge is too ugly. In case someone else knows of a workaround to this, please tell me if it's possible to do so with non-unique units. Thanks!



None.

Mar 13 2010, 2:44 pm lil-Inferno Post #2

Just here for the pie

Cycle through all enemy units, giving them to one player, centering a location on the unit for the other player, detecting if a bullet is in that location (killing the unit if it is and if not then moving the cycle on). Repeat these triggers for as many times as there will be enemies in the playing field so that it runs in one trigger cycle. When the original player controls no units, give all of them back.




Mar 13 2010, 3:41 pm ImagoDeo Post #3



You're still gonna have to use some unit for the bullets, but Inferno's solution should fix the problem. The only thing that may bother you is that you have to have enough cycle repeats in a single trigger cycle - as many as there are units in the gameplay area. Depending on how many you have, that could run up to a couple thousand triggers. MacroTriggers can help with that.



None.

Mar 13 2010, 3:51 pm Gigins Post #4



Make a walkable terrain and use Hero lings instead of scourges. Lings are smaller and faster.



None.

Mar 13 2010, 3:53 pm ImagoDeo Post #5



Quote from Gigins
Make a walkable terrain and use Hero lings instead of scourges. Lings are smaller and faster.

Problem with that is that you actually have collision boxes then. The ling may interfere with movement order triggers/etc.



None.

Mar 13 2010, 6:51 pm Aristocrat Post #6



Quote from Gigins
Make a walkable terrain and use Hero lings instead of scourges. Lings are smaller and faster.

My original workaround was to a-move scourge to the end of the map to simulate "missiles". The bullet unit choice is trivial with trigger cycling.



None.

Mar 13 2010, 7:06 pm Cinolt Post #7



BTW, if you really wanted to, it's actually possible to implement WASD movement on a 20x192 with a 4px hybrid grid/unit coordinate detection. If done right you could have the same acceleration as if using the mouse.



None.

Mar 13 2010, 7:13 pm FlashBeer Post #8



You can use zerling sprites, then just recycle them when they are suppose to disappear.



None.

Mar 13 2010, 7:33 pm NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

What is your actual problem? You want some graphical effect representing bullets but scourges are too big and slow?

Then you could use something like in xYoshix's Fallen Memories. He uses half visible observers to simulate rain drops in the forest region.
Or if you want real units get interceptors, they are the fastest and smallest unit there is.




Mar 13 2010, 8:00 pm Aristocrat Post #10



Quote from NudeRaider
What is your actual problem? You want some graphical effect representing bullets but scourges are too big and slow?

Then you could use something like in xYoshix's Fallen Memories. He uses half visible observers to simulate rain drops in the forest region.
Or if you want real units get interceptors, they are the fastest and smallest unit there is.

Before I knew how to do collision detection the only way I could make bullets work was to a-move scourge (which self destruct). Understandably not the best solution. I have solved that already though, so I guess the only thing left is implementing WASD.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:43 am]
Symmetry -- I'm doing my best, damn it
[2026-9-28. : 4:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[2026-9-28. : 4:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[2026-9-28. : 4:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[2026-9-28. : 4:10 pm]
WeirdoX4857 -- Where is everybody
[2026-9-28. : 1:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
Please log in to shout.


Members Online: Roy, NudeRaider, Prankenstein