LOS
Posted: 24 Feb 2012, 11:41
Upon seeing a LOS related thread, it reminded me of something.
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:
This can be particularly useful in spectator mode, where you're interested to see what certain players can see (to allow you to better understand their thought process). This should even apply to radar/sonar, etc. as well as vision (in case of team specific vision). Vision/radar supplied by allies of the team you're spectating is included as well.
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
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