PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Raa on April 25, 2008, 02:22:59 am

Title: Camera Distance?
Post by: Raa on April 25, 2008, 02:22:59 am
Why can't I edit camera distance for free rotation? I'm able to get to the file and change it in Wordpad, but it has absolutely no effect when I start playing PlaneShift. The max camera distance seems to be stuck on 16, even if it says differently in camera_def. This is making it impossible to get any good screenshots.  :(
Title: Re: Camera Distance?
Post by: Caarrie on April 25, 2008, 02:36:12 am
try reading this
http://hydlaa.com/smf/index.php?topic=32253.0
Title: Re: Camera Distance?
Post by: Raa on April 25, 2008, 03:07:15 am
Didn't help.
Title: Re: Camera Distance?
Post by: Taniquetil on April 25, 2008, 04:14:41 am
There are two phrases in the code with "freerotation" in them:

ThirdPersonLara>
<FreeRotation>
    <camsetting name="SpringLength" value=".01" />
    <camsetting name="SpringCoefficient" value="3.5" />
    <camsetting name="DampeningCoefficient" value=".25" />
    <camsetting name="MaxCameraDistance" value="16" />
    <camsetting name="MinCameraDistance" value="2" />
    <camsetting name="StartingPitch" value="-1"

and

FreeRotation>
<DistanceClipping>
    <camsetting name="Adaptive" value="off" />
    <camsetting name="Dist" value="200" />
    <camsetting name="MinFPS" value="20" />
    <camsetting name="MaxFPS" value="30" />
    <camsetting name="MinDist" value="30" />
</DistanceClipping>

I am assuming that The latter is the real Free Rotation and the former is Dynamic Follow (or the other third person i can't figure out what thirdpersonm64 is).

Might try changing the "Dist" value in the Free Rotation instead of Dynamic ;)
Title: Re: Camera Distance?
Post by: Raa on April 25, 2008, 04:28:12 am
Yeah, that's what I was doing... I've done this a lot, so I know what I'm doing.  :P
Title: Re: Camera Distance?
Post by: Taniquetil on April 25, 2008, 04:36:21 am
Oh, ok my bad. I'm gonna have to trust you because i don't know anything beyond that :D Worked like a charm when i did it...
Title: Re: Camera Distance?
Post by: Velh Krome on April 25, 2008, 04:43:59 am
Quote
I've done this a lot, so I know what I'm doing.
For me it worked flawlessly too - did you edit the file while your client was running?
Title: Re: Camera Distance?
Post by: Cebot on April 25, 2008, 04:54:08 am
even if it says differently in camera_def
you do realize, that the *_def files are for the _default_ configuration? you have to edit camera.xml and NOT camera_def.xml
:)
Title: Re: Camera Distance?
Post by: Rizin on April 25, 2008, 05:25:08 am
even if it says differently in camera_def
you do realize, that the *_def files are for the _default_ configuration? you have to edit camera.xml and NOT camera_def.xml
:)

Cebot - your supposed to be studying. Go study.

Sorry for the  :offtopic:
Title: Re: Camera Distance?
Post by: Raa on April 25, 2008, 09:04:19 pm
Cebot, I think you're right... This new version is really confuzzling me.

Yesss, it's working.  :D Thanks.