Author Topic: Translate to Turkish (ZRPG Script)  (Read 723 times)

0 Members and 1 Guest are viewing this topic.

Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Translate to Turkish (ZRPG Script)
« on: April 27, 2013, 07:19:40 am »

SOLVED!

I can translate some words to Turkish, but some words can not change, if I try change it normally as others, they (or it) dont seem in /skills screen.
I changed all skill names to Turkish, I looked in /skills, 6-7 skill names are Turkish, the others dont seem..
What can I do?


http://m1304.hizliresim.com/18/v/mhqq4.jpg

Code is here which part I changed;

Code: [Select]
function SkillNameByNum(Number: integer; Long: boolean): string;
begin
result := '';
if number = sheal then result := 'Heal' else
if number = snade then result := 'Nade' else
if number = scluster then result := 'Cluster' else
if number = svanish then result := 'Vanish' else
if number = sturret then result := 'Turret' else
if number = swave then result := 'Wave' else
if number = sshield then result := 'Shield' else
if number = sflamer then result := 'Flamer' else
if number = scrit then if long then result := 'Kritik Vurus' else result := 'Crit' else
if number = sfatalh then if long then result := 'Olumcul Vurus' else result := 'FatalHit' else
if number = svamp then if long then result := 'Vampir' else result := 'Vamp' else
if number = slootammo then if long then result := 'Mermi Kazanma' else result := 'LootAmmo' else
if number = slootitems then if long then result := 'Item Kazanma' else result := 'LootItems' else
if number = ssonicburst then if long then result := 'TNT Etkili Bomba' else result := 'SonicBurst' else
if number = ssoulshield then if long then result := 'Soul Shield' else result := 'SoulShield' else
if number = sbulletvortex then result := 'Bulletvortex' else
if number = srage then result := 'Rage' else
if number = sbarret then result := 'Barret' else
if number = spush then result := 'Push' else
if number = sruger then result := 'Ruger' else
if number = smine then result := 'Mine' else
if number = spsg then result := 'PSG' else
if number = swarp then result := 'Warp' else
if number = sbacklash then result := 'Backlash' else
if number = skazi then if long then result := 'Kamakazi' else result := 'Kazi' else
if number = svulture then if long then result := 'Akbaba' else result := 'Vulture' else
if number = sfogshield then if long then result := 'Sis Kalkani' else result := 'FogShield' else
if number = sreload then result := 'Reload' else
if number = smissile then result := 'Missile';
end;

This code, I am using now, it is working with them and their names, you see, some skill names can change to Turkish and working.

I tried this way
;

Code: [Select]
if number = sheal then if long then result := 'Heal' else result := 'Saglik'
I tried it as working lootammo or critical hit, it doesnt work..
« Last Edit: April 27, 2013, 05:48:22 pm by MrHamsTR »
Is there anybody can write script?
Good, go and play soldat ^^

DarkCrusade

  • Guest
Re: Translate to Turkish (ZRPG Script)
« Reply #1 on: April 27, 2013, 08:02:44 am »
Because you are doing it wrong. The only thing that you can actually change is what's appearing on the player's field, which is the console. Look for lines that include "writeConsole(...);" and change them.

Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Re: Translate to Turkish (ZRPG Script)
« Reply #2 on: April 27, 2013, 05:50:26 pm »
No, I changed all skill names to Turkish; in script file, info file and skillinfo file.
It took a little longer.. Anyway
Anyhow, I am happy now and I learned some basics about scripts :)
Thanks.. Lock please.
Is there anybody can write script?
Good, go and play soldat ^^

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Translate to Turkish (ZRPG Script)
« Reply #3 on: May 02, 2013, 02:41:15 am »
Cool, my script is multi-language now :).


Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Re: Translate to Turkish (ZRPG Script)
« Reply #4 on: May 03, 2013, 09:01:14 am »
Yes bro, your script is usefull.
Is there anybody can write script?
Good, go and play soldat ^^