English How to use ®path

10 replies
Goto Page
To the start Previous 1 Next To the start
21.06.19 10:06:47 pm
Up
AtomKuh
User
Offline Off
Hello im trying to use ®path for images in the chat.

Is there a method to scale the images?

I am also getting this strange  in the chat message
22.06.19 03:44:28 am
Up
Joni And Friends
User
Offline Off
I think there is no way to scale the images for it
Web | file File does not exist (15501) | file File does not exist (15463) | file cs2d [JAF] Adventure (19) | file File does not exist (15919)
22.06.19 08:43:59 am
Up
Jaller94
User
Offline Off
The character  is likely an encoding issue when saving German umlauts with the UTF-8 encoding. CS2D only supports ANSI which reads those bytes as different characters, resulting in Â.

When saving a lua file, set your text editor to save with the ANSI encoding. Some editors may also call it: Latin-1 (ISO-8859-1)

Another thread that deals with the topic of encoding issues in lua files:
http://unrealsoftware.de/forum_posts.php?post=416608&start=0#post416616
24.06.19 09:13:33 pm
Up
AtomKuh
User
Offline Off
Thanks for now

@user DC: could u add such a scaling option please?
24.06.19 10:14:02 pm
Up
DC
Admin
Offline Off
Does that image stuff even work?
Do you have an example? I can't get it to work I didn't implement it and it looks like I also didn't document it properly because of that.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
24.06.19 10:42:51 pm
Up
AtomKuh
User
Offline Off
Code:
1
msg("dfggfg ®gfx/yates/ranks/rank1_bronze.png")


IMG:http://i.epvpimg.com/QXy4gab.png


You can see a very small version of yates' rank pics

well, I just realize that the picture itself isnt that big

This is the actual picture:
http://i.epvpimg.com/NFtDdab.png

Source: http://www.unrealsoftware.de/files_show.php?file=16711
25.06.19 12:05:15 am
Up
DC
Admin
Offline Off
Okay I see.. it's scaled down to fit into the line (text height).
Allowing additional scaling would be problematic and could lead to rendering issues and ugly overlapping. Therefore I probably won't add that.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
29.06.19 08:23:53 pm
Up
Gaios
Security Supporter
Offline Off
Use UTF-8.
30.06.19 03:25:53 pm
Up
Ranw-X
User
Offline Off
Use ANSI encoding, then remove all 'Â' from the text.
VTA Community Discord: https://discord.gg/6rHKWvJ
30.06.19 03:56:10 pm
Up
Goo
User
Offline Off
user Gaios has written:
Use UTF-8.


Don't listen to him, ANSI is the best encoding for CS2D scripting.
30.06.19 06:50:58 pm
Up
Oops321
User
Offline Off
Code:
1
\174imagepath
Lastest upload : file cs2d fix the collecting (0)
To the start Previous 1 Next To the start