Jump to content
Sign in to follow this  
fake

Altis Life - How to activiate special chars like Ä Ö Ü and ß?

Recommended Posts

Hello guys!

I think a big amount servers are German servers.

We're on of this so I translated the whole mission.

After this I tested it and saw the script won't show special chars.

I can't understand it because I saw special chars on other servers.

So it appears that there have to be a function or declaration where I can control.

But I can't found anything like this...

Does anyone know how to activate special chars?

For example in dialogs, at the chat, at the hind (top right) and so on...

Some German "special chars" are Ä ä Ö ö Ü ü and ß.

Guys I really need your help! Tonic isn't answering my message...

Kind regards

#FakE

Share this post


Link to post
Share on other sites

WTF? You didn't understand, right?

I downloaded the mod as it is und start it as it is!!!

If I only translate some text maybe at a dialog or a hint (function),

I can't use special chars. Nowhere - notime!!!

Just understanded?

STANDARD SCRIPT - STANDARD START - NO SPECIAL CHARS SHOWN!

---

an example:

"Übersicht" (means overview) > has one SPECIAL CHAR > Ü ü

SHOWN IN GAME: " bersicht"

WHY IT IS SHOWN SO STUPIDLY???

---

So how I can "activate" special chars or show them?

Edited by FakE

Share this post


Link to post
Share on other sites

Im pretty sure theres a file in there like in Chernarus life where they are all listed and blocked or whatever..

Just search for ÅÄÖ etc etc in all files and you should find it.

Green|

Share this post


Link to post
Share on other sites

Nothing found!

I've searched for the strings in every file.

Nothing was sound, really nothing and I searched in mod without edit.

Could there be a "problem" with the broadcast functions?

/*

File: fn_broadcast.sqf

Author: Bryan "Tonic" Boardwine

Description:

Broadcast system used in the life mission for multi-notification purposes.

*/

private["_type","_message"];

_type = [_this,0,0,[[],0]] call BIS_fnc_param;

_message = [_this,1,"",[""]] call BIS_fnc_param;

if(_message == "") exitwith {};

if(typeName _type == "ARRAY") then

{

for "_i" from 0 to (count _type)-1 do

{

switch((_type select _i)) do

{

case 0: {systemChat _message};

case 1: {hint format["%1", _message]};

case 2: {titleText[format["%1",_message],"PLAIN"];}

};

};

}

else

{

switch (_type) do

{

case 0: {systemChat _message};

case 1: {hint format["%1", _message]};

case 2: {titleText[format["%1",_message],"PLAIN"];}

};

};

Share this post


Link to post
Share on other sites

I do not own a copy of ArmA3 so I cant really help further and Im on theese forums drunk replying like a idiot.. But I honestly see nothing wrong in the code you wrote in your last post but then again Im not really on top right now.

EDIT: Have you tried making a quick mission checking if using thoose chars is even possible?

Green|

Share this post


Link to post
Share on other sites

Yes I had done and I could see all special chars in all functions (systemChat, hint and titleText).

I have a script where I can see special chars ONLY if I pressed Z (only in the main dialog).

But I can't found this god damned function or declaration, which replace them.

TAW_Tonic don't answer since days and I don't know how to solve.

What a shit situation...

---------- Post added at 15:30 ---------- Previous post was at 14:53 ----------

Does anyone have an idea or could solve the problem? :confused:

Share this post


Link to post
Share on other sites

Can you upload you mission pbo and link it here? That way people can check for themself in the mission.

Green|

Share this post


Link to post
Share on other sites

Just download the standard Altis Life RPG mod.

Edit on file maybe the "core/session/fn_syncData.sqf".

Edit the hint messages when the player saved his data.

hint "Syncing player information to the server.\n\nPlease wait up to 20 seconds before leaving.";

Maybe edit to the followring...

hint "!?§$%&/()=?`´*#+~-.,;: _ SPECIAL CHARS : Ä ä Ö ö Ü ü";

Than look what happend...

This is a shit bug an Tonic won't help... :confused:

Share this post


Link to post
Share on other sites

Don't know if it is relevant, but check lines 21 and 31:

/*
File: fn_broadcast.sqf
Author: Bryan "Tonic" Boardwine

Description:
Broadcast system used in the life mission for multi-notification purposes.
*/
private["_type","_message"];
_type = [_this,0,0,[[],0]] call BIS_fnc_param;
_message = [_this,1,"",[""]] call BIS_fnc_param;
if(_message == "") exitwith {};

if(typeName _type == "ARRAY") then
{
for "_i" from 0 to (count _type)-1 do
{
switch((_type select _i)) do
{
case 0: {systemChat _message};
case 1: {hint format["%1", _message]};
case 2: {titleText[format["%1",_message],"PLAIN"]};  //  fixed - brace and semicolon were reversed
};
};
}
else
{
switch (_type) do
{
case 0: {systemChat _message};
case 1: {hint format["%1", _message]};
case 2: {titleText[format["%1",_message],"PLAIN"]};  //  fixed - brace and semicolon were reversed
};
};

Also, starting a new topic for this is bad form. Keep it in the Altis Life topic.

Share this post


Link to post
Share on other sites

Moved to a more appropriate location.

As for your problem, you must save the file using UTF-8 encoding.

Edited by Deadfast

Share this post


Link to post
Share on other sites
Moved to a more appropriate location.

As for your problem, you must save the file using UTF-8 encoding.

i was going to suggest that but thought that it was too obvious xd

If that was the problem Im sorry i scrapped that, was so embarresed of my shitty english when i was going to post that so i didnt xd

Share this post


Link to post
Share on other sites
Don't know if it is relevant, but check lines 21 and 31:

/*
File: fn_broadcast.sqf
Author: Bryan "Tonic" Boardwine

Description:
Broadcast system used in the life mission for multi-notification purposes.
*/
private["_type","_message"];
_type = [_this,0,0,[[],0]] call BIS_fnc_param;
_message = [_this,1,"",[""]] call BIS_fnc_param;
if(_message == "") exitwith {};

if(typeName _type == "ARRAY") then
{
for "_i" from 0 to (count _type)-1 do
{
switch((_type select _i)) do
{
case 0: {systemChat _message};
case 1: {hint format["%1", _message]};
case 2: {titleText[format["%1",_message],"PLAIN"]};  //  fixed - brace and semicolon were reversed
};
};
}
else
{
switch (_type) do
{
case 0: {systemChat _message};
case 1: {hint format["%1", _message]};
case 2: {titleText[format["%1",_message],"PLAIN"]};  //  fixed - brace and semicolon were reversed
};
};

Also, starting a new topic for this is bad form. Keep it in the Altis Life topic.

Moved to a more appropriate location.

As for your problem, you must save the file using UTF-8 encoding.

WOW! Your two guys are my heros!

Both of your tipps had solved the problem of the whole script.

Now I have to work and edit all files of Tonic useless encoding type.

I THANK YOU BOTH! :notworthy:

Share this post


Link to post
Share on other sites

Now I have to work and edit all files of Tonic useless encoding type.

This is not Tonic's fault. UTF-8 is indistinguishable from ANSI to the point where you start using special characters. Since you're the one using special characters, it is your responsibility to ensure your text editor saves the files with the correct encoding.

Share this post


Link to post
Share on other sites
This is not Tonic's fault. UTF-8 is indistinguishable from ANSI to the point where you start using special characters. Since you're the one using special characters, it is your responsibility to ensure your text editor saves the files with the correct encoding.

Yeah, you really shouldnt be blaming this on Tonic beacuse he did an awesome job!

Anyway, ditch the attitude against Tonic and good luck with your server!

Share this post


Link to post
Share on other sites

Ok guys.

I've just understand your opinion.

Than I should say sry to Tonic and will think better about all next time.

@Green

Thx!

We have to create a hive system because we have to many players. ;D

And we're loving our community which rises day per day.

NOW I CAN PRESENT ALL HUGE UPDATES!!

So again thank you both!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×