I'm updating the Goal Based City Growth Script for FIRS 3, and have hit a snag which I hope a FIRS developer can help me with.
To retrieve the Industry Type name for Bank (as an example) I use the following line:
typetext = GSText(GSText.STR_INDUSTRYTYPE_BANK);
To get the same for Herding Co-op, what's the correct term to use? All of the following crash the script:
typetext = GSText(GSText.STR_INDUSTRYTYPE_HERDING);
typetext = GSText(GSText.STR_INDUSTRYTYPE_HERDINGCOOP);
typetext = GSText(GSText.STR_INDUSTRYTYPE_HERDINGCOOPERATIVE);
typetext = GSText(GSText.STR_INDUSTRYTYPE_HERDINGCO-OP);
Thanks
FIRS Herding Co-op
Moderator: OpenTTD Developers
Re: FIRS Herding Co-op
It turns out there's a number of new industry types that have non-obvious industry_type string definitions. Blast Furnace, Soda Ash Mine, Electric Arc Furnace, Limestone Mine, ...
Is it possible there's a full list of the new strings? Thx!
Is it possible there's a full list of the new strings? Thx!
Re: FIRS Herding Co-op
Devzone repository likely, ie
http://dev.openttdcoop.org/projects/fir ... nglish.lng
Obviously, this is the bleeding edge development revision, for a proper language file of some particular version, select a tag first.
http://dev.openttdcoop.org/projects/fir ... nglish.lng
Obviously, this is the bleeding edge development revision, for a proper language file of some particular version, select a tag first.
Being a retired OpenTTD developer does not mean I know what I am doing.
Re: FIRS Herding Co-op
Maybe STR_IND_HERDING_COOP
?!?
?!?
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: FIRS Herding Co-op
I've sorted it, thanks. Everything seems to be working. I'd forgotten that I had to add them to the text file in the lang folder as well.
Who is online
Users browsing this forum: No registered users and 10 guests