Page 2 of 2
					
				Re: LockCamera v2.7
				Posted: 08 Feb 2009, 21:09
				by Sabutai
				Brilliant widget. Together with Ally Cursors you can see exactly how people play.
			 
			
					
				Re: LockCamera v2.7
				Posted: 08 Feb 2009, 22:36
				by manolo_
				bug: it shows "ockCamera" instead of "LockCamera" 

 
			
					
				Re: LockCamera v2.7
				Posted: 09 Feb 2009, 11:24
				by YHCIR
				manolo_ wrote:bug: it shows "ockCamera" instead of "LockCamera" 

 
I think it has an oversized 'L' all the way down the left edge.
 
			
					
				Re: LockCamera v2.7
				Posted: 09 Feb 2009, 12:40
				by manolo_
				YHCIR wrote:manolo_ wrote:bug: it shows "ockCamera" instead of "LockCamera" 

 
I think it has an oversized 'L' all the way down the left edge.
 
i thought so too, but then i searched within the lua and he forgot the L :)
 
			
					
				Re: LockCamera v2.7
				Posted: 26 Apr 2009, 23:34
				by Acidd_UK
				It would be super amazing if it followed unit selection - so you could see when ppl queue stuff, issue orders to tanks etc...
			 
			
					
				Re: LockCamera v2.7
				Posted: 27 Apr 2009, 02:56
				by BaNa
				i think there was a widget for that, but in the absence of one, control a and shift does the job.
			 
			
					
				Re: LockCamera v2.7
				Posted: 27 Apr 2009, 03:12
				by Evil4Zerggin
				I might do something like that in the far future, although I think it belongs better as a separate widget or as part of AllyCursors.
			 
			
					
				Re: LockCamera v2.7
				Posted: 17 May 2009, 16:04
				by bashar
				Need an explanation on how the gui works  

 
			
					
				Re: LockCamera v2.7
				Posted: 03 Aug 2009, 21:12
				by manolo_
				request/suggestion:
could the widget start with closed menu?
			 
			
					
				Re: LockCamera v2.91
				Posted: 09 Jan 2016, 21:53
				by jamerlan
				<LockCamera>: Sorry for the camera switch spam, but this is the only reliable way to list camera states other than hardcoding them
looks like it is possible to get rid of this code
because: 
Code: Select all
function GetModeFromName(name)
  local camNames = Spring.GetCameraNames()
  return camNames[name]
end
 
			
					
				Re: LockCamera v2.91
				Posted: 10 Jan 2016, 00:24
				by hokomoko
				I very much recommend to take a look at:
https://github.com/spring1944/spring194 ... adcast.lua
https://github.com/spring1944/spring194 ... camera.lua
https://github.com/spring1944/spring194 ... camera.lua
https://github.com/spring1944/spring194 ... etwork.lua
lockcamera split into two: a broadcasting gadget and a receiving widget with chili interface)
All camera/network code split into easily usable shared files
Compression was added reducing data size by 50% more or less.