AncientAngelus
New Member
- Joined
- Dec 13, 2009
- Messages
- 25
- Reaction score
- 3
Any update for this for tfs 1.4 and otclient from mehah?
Any update for this for tfs 1.4 and otclient from mehah?
static constexpr int32_t maxViewportX = 11; //min value: maxClientViewportX + 1
static constexpr int32_t maxViewportY = 11; //min value: maxClientViewportY + 1
static constexpr int32_t maxClientViewportX = 8;
static constexpr int32_t maxClientViewportY = 6;
MAX_VIEWPORT_X = 8, MAX_VIEWPORT_Y = 6;
thank you for your response! question: i believe you are using the regular modeview, what if you change to viewmode 2? like to remove the side gray bars and just have the whole map? like this. and which values do you recommend?In tfs 1.4.2 this is already being implemented, you just need to change it in SERVER/SRC/map.h, at line: 160.
C++:static constexpr int32_t maxViewportX = 11; //min value: maxClientViewportX + 1 static constexpr int32_t maxViewportY = 11; //min value: maxClientViewportY + 1 static constexpr int32_t maxClientViewportX = 8; static constexpr int32_t maxClientViewportY = 6;
And in Mehah 2.0 release, in CLIENT/SRC/map.cpp, at line 40
C++:MAX_VIEWPORT_X = 8, MAX_VIEWPORT_Y = 6;
And done...
I tested this today at twice the normal size:
View attachment 70005
Hope this helps!
Like This ?thank you for your response! question: i believe you are using the regular modeview, what if you change to viewmode 2? like to remove the side gray bars and just have the whole map? like this. and which values do you recommend?
Do you know why it is like this?Like This ?
View attachment 70013
In this print above, I put the X = 16 and the Y = 9, but you can put it smaller, I put these values to get as close to the 16:9 aspect ratio, which is the most used by monitors today.
If you disable 'Limit Visible Dimension', you can see with ctrl -, a better view of the aspect ratio.
View attachment 70014
You need to edit ServerSide too, like this:
static constexpr int32_t maxViewportX = 17; //min value: maxClientViewportX + 1
static constexpr int32_t maxViewportY = 10; //min value: maxClientViewportY + 1
static constexpr int32_t maxClientViewportX = 16;
static constexpr int32_t maxClientViewportY = 9;
MAX_VIEWPORT_X = 16, MAX_VIEWPORT_Y = 9;
You need to edit ServerSide too, like this:
ServerSide:
ClientSide:C++:static constexpr int32_t maxViewportX = 17; //min value: maxClientViewportX + 1 static constexpr int32_t maxViewportY = 10; //min value: maxClientViewportY + 1 static constexpr int32_t maxClientViewportX = 16; static constexpr int32_t maxClientViewportY = 9;
Note*: It is for Mehah OTC 2.X and TFS 1.4C++:MAX_VIEWPORT_X = 16, MAX_VIEWPORT_Y = 9;
Everything is possible with sources.do u think is possible only gm have this view?
and i'm thinking if 16x9 is a nice choice to pvp..
setup.otml
do you know how?Everything is possible with sources.