| 43 | |
| 44 | PD3: Oh, I forget. For change language in game I have in about.sc: |
| 45 | |
| 46 | |
| 47 | {{{ |
| 48 | (instance about of Code |
| 49 | (properties) |
| 50 | |
| 51 | (method (doit &tmp temp0 [temp1 255]) |
| 52 | (= global394 (DoAudio 9 -1)) |
| 53 | (switch |
| 54 | (= temp0 |
| 55 | (Print |
| 56 | 756 |
| 57 | 0 |
| 58 | 33 |
| 59 | 1 |
| 60 | 81 |
| 61 | {About KQV#SSobre KQV} |
| 62 | 1 |
| 63 | 81 |
| 64 | {Help#SAyuda} |
| 65 | 2 |
| 66 | 81 |
| 67 | {Cancel#SCancelar} |
| 68 | 0 |
| 69 | 81 |
| 70 | {Spanish\nMessages#SMensajes\nen ingl‚s} |
| 71 | 3 |
| 72 | ) |
| 73 | ) |
| 74 | (1 |
| 75 | (Format @temp1 756 1 gVersion) |
| 76 | (Print @temp1 #mode 1) |
| 77 | (Print 756 2 70 210) |
| 78 | (Print 756 3 70 210) |
| 79 | (Print 756 4 70 210) |
| 80 | (Print 756 5 70 210) |
| 81 | (Print 756 6 70 210) |
| 82 | (Print 756 7) |
| 83 | (Print 756 8 70 210) |
| 84 | (Print 756 9 70 210) |
| 85 | ((File new:) |
| 86 | name: {HELP.TXT} |
| 87 | read: @local0 100 |
| 88 | close: |
| 89 | dispose: |
| 90 | ) |
| 91 | (Printf 756 10 @local0) |
| 92 | (DisposeScript 993) |
| 93 | ) |
| 94 | (2 ((ScriptID 753) doit:)) |
| 95 | (3 |
| 96 | (if (== (gGame printLang?) 34) |
| 97 | (gGame printLang: 1) |
| 98 | (DoAudio audLANGUAGE 1) |
| 99 | else |
| 100 | (gGame printLang: 34) |
| 101 | (DoAudio audLANGUAGE 34) |
| 102 | ) |
| 103 | ) |
| 104 | ) |
| 105 | ) |
| 106 | ) |
| 107 | }}} |
| 108 | |
| 109 | This helps me to change language in game directly. In DosBox, I don't need the "DoAudio audLANGUAGE". With ScummVM I need it to work. |