Page 1 of 1

Greek Language

Posted: July 21st, 2011, 10:34 am
by katlek
Hello to all! I'm new to sandbox and i've read most topics in he forum so as to begin my project.

But i have a serious problem. My dialogues must be written in greek and sandbox does not recognise it.

I use codeblocks to write my code. What can i do?

Re: Greek Language

Posted: July 21st, 2011, 4:30 pm
by chocolatepie33
by dialogues, do you mean the words that are being "spoken" by characters? if so, that shouldn't be a problem.
The in-game language Sandbox uses is called Cubescript. You only need to use Notepad to work in it. There are number of tutorials about it on the forum and at the wiki

Re: Greek Language

Posted: July 22nd, 2011, 6:28 am
by katlek
Yes i mean the dialogues between characters in the game.

In the beginning, i wrote my code using Notepad++, but sandbox didn't recognize it and code wasn't running.

So I've searched the wiki and found out that code::blocks was better than Notepad++.

I will search again in case i find something!

Thanks a lot!

Re: Greek Language

Posted: July 22nd, 2011, 9:51 am
by katlek
Still nothing... I can't find any post referring to Greek language.

The funny thing is that in the dialogue box, when i write in Greek, words do not show up. It is just empty.

But when i write in English i can see them.

Any other ideas?

I've searched code blocks preferences for a solution. Maybe i have to add a plugin or change the options

in code blocks or in sandbox in order to read the Greek words...

Re: Greek Language

Posted: July 22nd, 2011, 10:27 am
by jSoftApps
You would have to edit the chars.png file and font.cfg which I DO NOT recommend doing UNLESS you have Photoshop. You could simply replace the English letters with the Greek ones using layering in Photoshop (or gimp) and you can edit the font.cfg with notepad++ (which I recommend).

Re: Greek Language

Posted: July 22nd, 2011, 11:11 am
by katlek
Nice thought! But i find it a bit difficult....
i found both files you mentioned and with the .cfg one i suppose i won't have any problem to make the changes.
But photoshop...? I don't know how to use it! And even if i learn the basics [because i am a quick learner :p ], how i will replace the letters? I will draw them?

Re: Greek Language

Posted: July 27th, 2011, 11:00 am
by katlek
Could someone give me some further instructions about this ?
I tried to edit chars.png file, but don't know exactly what to do...
And i want to ask something else too. In the font.cfg file, what do the numbers mean?
for example what does this line mean :

"fontchar 7 0 12 //! "

Do the numbers relate to photoshop ?