Jump to content
Sign in to follow this  
wouter2004

CO client camera tweaks

Recommended Posts

Hi everyone,

 

My friends and I are running a CO client and server and I was wondering where in the client source code I can extend the camera range.

 

We have already increased the resolution to 1400x900 and the FPS to 60, with the desired effect.

However the camera remains an ugly issue.

 

PS> I know that the CameraConf.lua can be used to extend the range and change the camera angle, but I want to get rid of the ugly blue borders and extend the view range.

 

wtb51D1v_t.png

 

Help would be much appreciated 🙂

 

Edited by wouter2004

Share this post


Link to post
Share on other sites
#define   SHOWRSIZE         40

g_pGameApp->GetCurScene()->GetTerrain()->SetShowSize(SHOWRSIZE + 5, SHOWRSIZE + 5);

 

Edited by Kst
  • Like 3
  • Thanks 1

Работаем над портированием пиратии под все платформы (win, linux, android, macos, ios)

We are developing the tales of pirates to all platform (win, linux, android, macos, ios)

 

telegram: https://t.me/magicsea_online

Share this post


Link to post
Share on other sites
On 4/1/2023 at 12:41 AM, Loopar said:

where do you put that? Which file is it?

#define   SHOWRSIZE         40

Taken from file .\CLIENT SOURCE\Client\src\GameApp.h


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...