[Request] Change camera face...

[Request] Change camera face...

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

[Request] Change camera face...

Post by Pendrokar »

I know there is a command that allows to make the overhead and other camera modes turn in 180*. So a useful widget would be with what you could change the rotation by 90/180/270 and the minimap rotation would be changed too!
Or the widget would automatically change camera face after start, just by looking from the players start position. Like on Speed_Ball map.

Image

Lua script checks the start position (Let's say it's on the third quarter and the team boxes set 1+3 vs 2+4) and the lua widget changes face of the camera and the minimap towards East.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

I can imagine this being very confusing and not useful O_o
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

If a lua script does it automatic it would sure very confusing.
If it is in the users hand (hotkey or buttons near the minimap), then it would be a great addition.
But sorry to say, it is not possible to do so with lua atm. 'Cos you can't freely rotate the standard overhead camera, you can only rotate the minimap (a great addition btw if you use /viewtaflip).
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

I really don't look forward to the day where I would have to change "go east" to accurately describing the terrain my ally needs to go to.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

trepan already wrote a compass widget ^^
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You man to rotate your camera so your always at the very bottom regardless of where on the map you start?
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

AF wrote:You man to rotate your camera so your always at the very bottom regardless of where on the map you start?
Ok forget automated! Though there is a command /viewtaflip it doesnt flip the minimap that the thing that would confuse ppl!
Post Reply

Return to “Lua Scripts”