I'm glad I was able to helpEggerslolol wrote:This works! Awesome! Though obviously the map becomes completely fogged but... this'll do for now. Thanks!Andrettin wrote: As far as I know, it is possible to set up games in which you have no units but don't lose because of that, and you can also set up the different AI players to be hostile to each other. You need to remove this trigger from the SinglePlayerTriggers() function in stratagus.lua:
Then edit the map's .smp file to change the first "person" player into a "computer" one, and add a new "person" player at the end. Play the map in Free for All mode and it should work as you want.Code: Select all
AddTrigger( function() return GetPlayerData(GetThisPlayer(), "TotalNumUnits") == 0 end, function() return ActionDefeat() end )
To make the map completely visible, use the cheats:
"showpath" to reveal the map
and
"fow off" to remove the fog of war