map making

multi(0) dropdown not providing the result i expected

Information and discussion for custom maps and mods.
Post Reply
Toxo
Posts: 1
Joined: Tue Mar 12, 2024 12:32 pm

map making

Post by Toxo »

when i make a multiplayer map i add a spawnpoint and select the faction multi(0) for it. then i add a powerplant and give it multi(0) from the dropdown menu.

i repeat this for player two, giving him multi(1) , etc…

now when i start the map in skirmish, and add bots, then the powerplant next to my spawned CY is not mine! and i have a powerplant on the other side of the map.

it this multi(x) selection not working? bug? and how to achieve a starting base in customs maps (if my method appears to be wrong)?

thank you for making OpenRA!
playing openra with friend every week

abcdefg30
Posts: 644
Joined: Mon Aug 18, 2014 6:00 pm

Re: map making

Post by abcdefg30 »

The problem is that the players are not tied to spawn points. Multi0 is the "first" player in the lobby, Multi1 the second etc. So when for example the first player in the lobby selects Spawn C, then Multi0 will spawn at C. If you assign the PowerPlant next to spawn A to Multi0 then the player spawns at C, but the plant is at A.

Spawning with a pre-built base is only doable by either locking spawns (so that the first player can only spawn at A) or by using a Lua script.

Post Reply