Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Remove buildings of leavers [solved]
Remove buildings of leavers [solved]
Nov 16 2008, 3:00 pm
By: NudeRaider  

Nov 16 2008, 3:00 pm NudeRaider Post #1

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

Hi, it's me again. ;)

Title says it.
The problem is abandoned (neutral) extension can not be given.
So the only way I can think of is to list every building that I want removed.
Is there some more elegant way?

Post has been edited 1 time(s), last time on Nov 19 2008, 7:27 pm by NudeRaider.




Nov 16 2008, 3:04 pm Devourer Post #2

Hello

Hi nude :P
A very very alternative:

You may center a location (4x4 - 6x6) on each building to check if there is an extension near it... if yes ; give money back and delete extension.....



Please report errors in the Staredit.Network forum.

Nov 16 2008, 3:08 pm NudeRaider Post #3

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

Nice idea but I am talking about abandoned extensions.
Presumably there is no building around or it wouldn't be neutral.
Maybe the original owner still has his factory somewhere near but it's too unreliable for me.




Nov 16 2008, 3:10 pm Devourer Post #4

Hello

dude the building still is near it WHILE it's lifted... you know?
if extension + a lifted CC from p1 = kill extension; give money back for P1
if extension + a lifted CC from p2 = kill extension; give money back for P2...

that's what I tealked about....^^



Please report errors in the Staredit.Network forum.

Nov 16 2008, 3:10 pm Falkoner Post #5



I would actually do it the other way around, center the location on extensions and see if there is their attached building next to them, it won't be perfect, unless you use a grid to move the locations to the left a bit, but it'll be better than nothing.

And for the lifted problem, just have it be a ground-only location.



None.

Nov 16 2008, 3:14 pm NudeRaider Post #6

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

Ah I see. I thought when the leaver is processed.
Yeah if I simply don't allow abandoned extensions then this would work.
And Yes, I will of course center on the extension instead and detect the building using an air grid.

Thanks for the ideas!




Nov 16 2008, 8:37 pm SelfPossessed Post #7



What do you need to do with the abandoned extensions? As in, if you don't want to allow them, you could just remove/kill all addons for neutral instead of having to use an air grid and cycling them all. More information is needed.



None.

Nov 16 2008, 9:20 pm rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

I'm confused on what you want. If you just want to leave all the addons, "All other things being equal, the simplest solution is the best."

abandoned buildings have to be lifted or destroyed first. Therefore, you want to detect those two actions. However that's kind of hard. I think it would be easier to just detect when someone leaves, then remove the units you need to, centering a location on each addon capable building owned by player 12, making a mobile grid to detect the addon, and removing it. That would remove all buildings except for abandoned addons. Addons still attached to the building could be removed.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Nov 16 2008, 9:45 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

The addon can spawn units, if you have the right building attached to it and thus have ownership of it.
So normally you would not lift at all - or you would lose a spawn until you land again.
But it is possible that your base comes under attack an you at least want to save the main building by lifting. It is also possible that noobs just don't realize that lifting disables the spawn and they do it for no apparent reason.

So what I want is a noob protection that if they lifted and left the addon that this addon is not destroyed when a player leaves so he can reactivate his spawn when having been enlightened.
Removing the P12 addons right away and giving refund will do the same although he has to rebuild. But at least he realizes that lifting is a bad idea. So that's probably the best way.

Alright, removing the addons works like a charm so the leaver detection is reliable again.
Thanks all. This can be locked now.

Post has been edited 1 time(s), last time on Nov 19 2008, 7:27 pm by NudeRaider.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[02:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6: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.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2: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
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8: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
Please log in to shout.


Members Online: RIVE