I'm trying to change the string : First bus arriaved to .... into: First trolley bus arraive to.... with Action 4 feature 48
I'm doying something like this but is not working:
* 76 04 48 FF 81 09 2F 90 98 0F "Citizens celebrate . . ." 0D
0D "First passenger trolleybus arrives "
"at " 80 21 00
This is action 4 help:
<Sprite-number> * <Length> 04 <feature> <language-id> <num-ent> <offset> <text>
My grf has id 7, so I need to set 81 not 01 right? Anyway, is not working either with 01 nor 81
Thanks
Change string via Action4 Feature 48
Moderator: OpenTTD Developers
-
- Tycoon
- Posts: 5948
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Change string via Action4 Feature 48
OTTD does not support changing original strings using feature '48'.
regards
Michael
regards
Michael
Re: Change string via Action4 Feature 48
I understand. Then, is there a way to achieve what I want, that is: when a trolleybus is coming first time into a station to change the message?
Thanks
Thanks
-
- Tycoon
- Posts: 5948
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Change string via Action4 Feature 48
Not that I know of.
The wiki says:
Michael
The wiki says:
regardsNote: OpenTTD's string system is very different to the system of TTD and TTDPatch. It supports/requires plural forms, genders, cases and different number formattings, so complex strings which are combined from multiple parts are not interchangeable. Various strings also have changed their parameter order over time or got additional arguments.
As such action 4 is not allowed to change any original strings in OpenTTD; translations are not done via NewGRF, but only via the WebTranslator
Michael
Re: Change string via Action4 Feature 48
there's a handful of original TTD strings that are mapped to openttd strings in a way that allows action4 to modify them. but these are hand-picked.
this mapping can be found here
this mapping can be found here
Who is online
Users browsing this forum: No registered users and 26 guests