Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] How do you remove resources
[SOLVED] How do you remove resources
May 28 2011, 4:20 pm
By: m.0.n.3.y  

May 28 2011, 4:20 pm m.0.n.3.y Post #1



Is it possible to remove say a Vespene Guyser from the map after someone builds a refinery on it? If so, how?

Post has been edited 2 time(s), last time on May 28 2011, 4:37 pm by m.0.n.3.y.



None.

May 28 2011, 4:26 pm Aristocrat Post #2



You cannot. You must remove the refinery that was built. Note that this will cause the vespene geyser to disappear.

If you use "Kill Unit At Location" and kill the refinery, then the vespene geyser returns to the map.



None.

May 28 2011, 4:36 pm m.0.n.3.y Post #3



Alright thanks man!
Close this topic



None.

May 28 2011, 8:48 pm Lanthanide Post #4



Actually you can remove vespene geysers, and mineral deposits (3 specific unit types), from the map at any time you want.

Pre-placed minerals and geysers can be owned by any player in the game, so modify the following information as appropriate if this is the case. Normally they are owned by P12 (Neutral).

When you kill a vespene extractor for any player, it is replaced with a geyser owned by P12. You simply need to run a trigger that has "Remove Vespene Geyser for P12 at [location]" and that'll get rid of it. Note that this must take place at least 1 trigger cycle after the 'kill' has been actioned, because the P12 geyser isn't created in the same instant that the building died.

This same concept it used in the creep manipulation wiki page for removing creep from the map - create an extractor, kill it, and remove the geysers. This removes the patch of creep that the extractor was on, because vespene geysers can't be placed on creep themselves. Similarly if you pre-place mineral deposits on top of creep and then use a trigger to remove them in game, the creep underneath them will never decay naturally (a building must be built, or the creep overgrown with 'natural' creep from a colony etc).

Post has been edited 1 time(s), last time on May 29 2011, 5:24 am by Lanthanide.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[06:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[06:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[02:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[02:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[08:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[2026-7-14. : 11:03 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: NudeRaider