Is it possible to create Lua exposed functions to control LOS, whether it's the LOS of what a player can see, or if it's globallos. Also, it would be great if a set of functions would be created to return the current LOS status (/globallos lacks that f.e).
An example of that would be:
Code: Select all
Spring.SetPlayerGlobalLos(playerId, globalLos)
Spring.GetPlayerGlobalLos(playerId) -> [globalLos]
Spring.SetPlayerTeamLos(playerId, teamId)
Spring.GetPlayerTeamLos(playerId) -> [teamId]
Changing LOS shouldn't require /cheat if you're in spectator mode, and it should require /cheat if you're part of a team.
PS: Additionally, it would be great if we gave a bit more thought on vision. Topics that I'm interested in are:
1) alliance los - should all types of alliances give vision? and can we imagine vision without an alliance, f.e demanding vision from a player in FFA under the threat of an attack,
2) unexplored regions, completely black regions, that don't even tell you the layout of the map until explored - important for singleplayer or other exploring experience