Forum

> > CS2D > General > Achievements Script 1.5 for multi-res screens
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Achievements Script 1.5 for multi-res screens

11 replies
To the start Previous 1 Next To the start

old Achievements Script 1.5 for multi-res screens

SQ
Moderator Off Offline

Quote
I'm re-releasing my latest achievements script to support multi-resolution format in 1.0.0.3. That's just example how script could be used for different resolutions in CS2D.

New CS2D 1.0.0.3 version supports mp_hudscale command that allows you to scale hudtxt and hud images in a few different ways.
More info: mp_hudscale

> Achievements Download Link:
file cs2d Dynamic Achievements and Statistics Script (2.0)

Suggestions are welcome.
edited 3×, last 01.05.17 01:03:47 pm

old Re: Achievements Script 1.5 for multi-res screens

Mami Tomoe
User Off Offline

Quote
Can't CS2D know how the image is meant to look like? I don't know how to make my script to work on all resolutions and my RPG server gone bad:
IMG:https://i.imgur.com/Pa3dvrO.jpg


Also all the text is blurry in the game and everywhere!
edited 1×, last 01.05.17 12:58:14 pm

old Re: Achievements Script 1.5 for multi-res screens

SQ
Moderator Off Offline

Quote
There are more modes 0,1,2,3. You can try them out. Some of them stretch the screen.

In either way if you want bigger menus, you would need to use new player functions to get screen height and width.

old Re: Achievements Script 1.5 for multi-res screens

Mami Tomoe
User Off Offline

Quote
2 works the best: IMG:https://i.imgur.com/VwoV8jF.jpg


Do I have to resize the map image?
And what about people who join with 4:3?
I think this command should be changed to a certain player like this:
mp_hudscale <ID> <SCALE>

So you can check for his resolution (maybe with
player(id,"restype")
) and match the script easier!

old Re: Achievements Script 1.5 for multi-res screens

BcY
Reviewer Off Offline

Quote
Can we use something like that
if player(id,"screenw")=1600 and player(id,"screenh")=900 then
for each resolution size. I mean setting different images for each resoulution size if it's possible.
edited 1×, last 02.05.17 05:16:27 am
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview