General > User modifications

Question for modding

<< < (6/7) > >>

geever:

--- Quote from: cevaralien on June 24, 2014, 02:02:00 am ---It's possible to use the models of 2.5 on 2.4? what i must change to do it?

--- End quote ---

We didn't change model formats so should be possible. Check the ufo scripts, models are usually scripted.

-geever

cevaralien:
Hi. I want to change a tech description. I will do a saracen dropship. I know how to do a research description but i want translate it. Where are the translated files?

geever:

--- Quote from: cevaralien on July 02, 2014, 03:49:25 am ---Hi. I want to change a tech description. I will do a saracen dropship. I know how to do a research description but i want translate it. Where are the translated files?

--- End quote ---

The *msgid:inter_saracen_txt like entries are defined in base/ufos/msgid/*.ufo files which are the source files for long text.

To translate we use the gettext lib, and the language files are in src/po/ (*.po). Use poedit tool for translating!

To update the po files from the program source code (check for new/changed translatable entries) we have a make target: make update-po. It works well if you have the Git sourcecode checked out (on source package or just the installed version probably it won't do good job).

-geever

cevaralien:

--- Quote from: geever on July 02, 2014, 10:32:33 pm ---The *msgid:inter_saracen_txt like entries are defined in base/ufos/msgid/*.ufo files which are the source files for long text.

To translate we use the gettext lib, and the language files are in src/po/ (*.po). Use poedit tool for translating!

To update the po files from the program source code (check for new/changed translatable entries) we have a make target: make update-po. It works well if you have the Git sourcecode checked ouI t (on source package or just the installed version probably it won't do good job).

-geever

--- End quote ---

Thanks. If i do it, what about the maps with the Firebird? I mean, if i drop my soldiers using the Saracen-D (my mod  ;D), the map will show the firebird? or it will crash? I don´twant to do the saracen design on the map.

geever:

--- Quote from: cevaralien on July 04, 2014, 08:31:51 pm ---Thanks. If i do it, what about the maps with the Firebird? I mean, if i drop my soldiers using the Saracen-D (my mod  ;D), the map will show the firebird? or it will crash? I don´twant to do the saracen design on the map.

--- End quote ---

In 2.5 the map assembler will use the id of the aircraft for the "dropship tile" ( aircraft <id> { <data...> } ). For crashed aircraft the code has a few constants (none for saracen)

-geever

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version