Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Can empty player slots be used?
Can empty player slots be used?
May 10 2024, 8:37 am
By: Brusilov  

May 10 2024, 8:37 am Brusilov Post #1



I understand that in multiplayer games, if a human slot isn't occupied by a player, then none of its units are spawned on the map, so the slot is essentially wasted. Even if a slot is empty (in this case, let's say Player 2 leaves before the game launches), can units still be spawned in for Player 2 and AI scripts run, essentially turning the empty player slot into a Computer player?

I'd like to make a diplomacy map where empty slots could be taken over by a crude scripted AI so that games could remain interesting even with variable player counts, so that a full house isn't always required.

If the answer is no, I think the EUD emulator still supports writing to player information in memory (IIRC I overwrote the blank Player 9-12 player information with faction names and race flags, although this had no practical impact on the game since these players are totally disabled). I wonder if, even if a player isn't present, if EUDs could be used to just overwrite the slot with Computer flags to maybe permit spawning/trigger execution?



None.

May 10 2024, 5:19 pm NudeRaider Post #2

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

A few quick pointers:

To avoid critical units never appearing, don't preplace units, create them for player x. Trigger owned by a required or cpu player. Alternative have a required or cpu player slot that initially owns all units then give them to the players.

You can detect if player x has no units and instead create/give them for/to player y.

You can even give units to empty player slots, but it must be a specific player, e.g. player 1, not force 1. The units will be hostile and mostly do nothing though. Not sure if you can give orders. Whatever you do, trigger owner always must be an active player.




May 11 2024, 12:18 am Brusilov Post #3



Quote from NudeRaider
You can even give units to empty player slots, but it must be a specific player, e.g. player 1, not force 1. The units will be hostile and mostly do nothing though. Not sure if you can give orders. Whatever you do, trigger owner always must be an active player.

That's good to know. I'd like to know if they respond to AI scripts/move orders/Set Player X to Ally, but if nobody else is sure, then I'll try and do some experimenting this weekend and will update this thread in case anyone else comes along with the same question.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
Please log in to shout.


Members Online: Zycorax