Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 14:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Character select coding - scale and position of char.

Discussion on Character select coding - scale and position of char. within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 19
Received Thanks: 2
Character select coding - scale and position of char.

I designed interface for character select but I have problem with coding. Maybe this is impossible?

The main problem is scale and position, because different resolutions have different settings. I know about this

Code:
screenWidth = wndMgr.GetScreenWidth()

screenHeight = wndMgr.GetScreenHeight()

newScreenWidth = float(screenWidth - 270)

newScreenHeight = float(screenHeight)
in introselect.py, but try everything - (maybe something blocked in binary?) - nothing works..

I dont know how to exert the same scale and position of char on select window in different resolutions.

Is it any way for make that? Any ideas? Maybe anyone released something like that?

BTW. I coded this on res. 800x600 - is fine, but in other resolutions it is a piece of ****.

_BubbleGum is offline  
Old 04/22/2016, 13:57   #2
 
mrapc's Avatar
 
elite*gold: 238
Join Date: Sep 2009
Posts: 2,327
Received Thanks: 1,164
You could try to set the camera at a different location (closer to the char)

app.SetCenterPosition(0.0, 0.0, 0.0)
app.SetCamera(1550.0, 15.0, 180.0, 95.0)
mrapc is offline  
Thanks
1 User
Old 04/22/2016, 20:46   #3
 
elite*gold: 0
Join Date: Jun 2013
Posts: 19
Received Thanks: 2
mrapc! You are my mentor now

That was very easy, just calculated the position of the camera relative to resolution and put result on first argument in app.SetCamera().

Thank u a lot!

#solved
_BubbleGum is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
How to change character scale in new map?
06/08/2015 - Eudemons Online - 0 Replies
I was added new map, but character look little bigger than normal. How can i change character scale for this map?
change position new create character
06/08/2013 - Flyff Private Server - 12 Replies
how to change position new create character born in map sorry my badenglish thankyou
Modit! Morph your character; change your scale...
04/05/2011 - WoW Exploits, Hacks, Tools & Macros - 52 Replies
Modit! A simple (client-side) tool to customize your game play. Compatibility: Operating System: Windows NT (XP, Vista, 7...) World of Warcraft version: 4.0.1.13205 (latest patch as of writing this post) Requires: At least .NET Framework 2.0
Metin 2 Select Character select error
02/26/2011 - Metin2 Private Server - 1 Replies
Dabei-ist das spiel Charakter-Auswahl Error help Log Files 0225 23:37:16227 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error 0225 23:37:16227 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error 0225 23:37:16227 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error 0225 23:37:16227 ::...
[TUT]Camera/Character Position
09/10/2010 - 12Sky2 - 2 Replies
It took me a while to figure out the camera location addresses because at first I thought they would be angles relative to your character position, in fact they are positions relative to the map. This is a small tutorial on how to find the addresses for your character position and the camera position. If you do not know how to use CE this tutorial will be of no use to you (go learn that first). First lets find your character X position 1. Load into your town map by using a return...



All times are GMT +1. The time now is 14:51.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.