Free camera problem

Free camera problem

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Free camera problem

Post by [Krogoth86] »

After changing the free camera scrollspeed in the settings.exe I cannot move the camera anymore. It just moves to the starting point and stays there. I still can "look around" but no longer tilt or pan the camera in any direction. How to solve this?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Free camera problem

Post by trepan »

Edit your registry/config. The free cam speed range
is not the same as for the other cameras, and the
gui config program does not take that into account
(the free cam speed is based on spring map units,
as is its gravity, etc...)
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

Hmmm - ok where do the settings get saved to (for Windows systems)? I already searched for a file and let regedit look for something saying "Spring" but I did get no results which had something to do with the settings...

EDIT:
Ah - found it now. Must have skipped it last time... :wink:
I'm going to play a bit with those options now...
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

Ok - could someone please look up his CamFree settings in the registry? I cannot point out which option really is responsible and which value it should have...

You should be able to look it up at:
HKEY_CURRENT_USER\Software\SJ\spring

Please list all the CamFree entries i.e. their values. Thanks in advance...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Free camera problem

Post by rattle »

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SJ\spring]
"CamFreeEnabled"=dword:00000000
"CamFreeInvertAlt"=dword:00000000
"CamFreeGoForward"=dword:00000000
"CamFreeFOV"="45"
"CamFreeScrollSpeed"=dword:0000000a
"CamFreeGravity"="-500"
"CamFreeSlide"="0.5"
"CamFreeGroundOffset"="16"
"CamFreeTiltSpeed"="150"
"CamFreeAutoTilt"="150"
"CamFreeVelTime"="1.5"
"CamFreeAngVelTime"="1"
"CamMode"=dword:00000001
"CamTimeFactor"="1.0"
"CamTimeExponent"="4.0"
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

Thank you. Unfortunately this didn't fix the camera being stuck. I'll try to reinstall Spring and hope this will resolve that issue... :|
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Free camera problem

Post by trepan »

Default settings are at the top of the file:
https://spring.clan-sy.com/svn/spring/t ... roller.cpp
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Free camera problem

Post by koshi »

Someone please give me the real value range of CamFreeScrollSpeed and a reasonable default value so I can fix it in SpringSettings

edit: ok, default value is 500. Is there a specific reason why this in contrast to other ScrollSpeeds is saved as float? Also does anybody know if the settings handler cares if it wouldn't be saved as float, but integer?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Free camera problem

Post by Tobi »

The registry settings handler may choke on that; not sure tho, I don't know how floats are saved. (I do know string vs int does matter there tho..)
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

Well I now did reinstall and this also didn't solve the problem. Any more ideas? :(
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Free camera problem

Post by koshi »

did you try to delete the reg key and start off from defaults?

as a reminder: i would still like a valid range for CamFreeScrollSpeed values
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

I deinstalled it, deleted the registry entry I mentioned (i.e. the entire directory), rebooted and then installed again. Still the same problem with an only rotatable free camera...

Are there more registry entires I should erase?
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

Small update:
There really seems to be something wrong with the gravity or the like because I recently had moved the camera near a cliff and switched to the Free Camera and it started slipping down the hill... :|
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Free camera problem

Post by rattle »

I'm having the same issues.
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Free camera problem

Post by [Krogoth86] »

I actually solved this some days ago by deinstalling and rage deleting pretty much any Spring related entry in the registry. It worked again after reinstalling but as it were quite a lot of entries I cannot say which were the necessary ones...
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Free camera problem

Post by LordMatt »

[Krogoth86] wrote:rage deleting pretty much any Spring related entry in the registry.
lol
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Free camera problem

Post by Vadi »

Yay registry 8)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Free camera problem

Post by rattle »

I solved it by getting rid of all FreeCam related entries, no idea which one the settings tool borked but it wasn't gravity or the move speed alone.
Post Reply

Return to “Help & Bugs”