Berserker
Posts: 16657
|
|
27.05.2021 01:38 |
|
Berserker
Posts: 16657
|
|
27.05.2021 01:56 |
|
planetavril
Posts: 87
|
so you can put png images of the creatures or buildings instead of the def file?
|
|
27.05.2021 09:55 |
|
daemon_n
Posts: 4343
|
|
27.05.2021 11:22 |
|
Sandris
Posts: 422
|
(27.05.2021 09:55)planetavril Wrote: so you can put png images of the creatures or buildings instead of the def file?
The def-file should remain in pac-file, you just add its frames as png files to Mods\Your mod\Data\Defs\name of your def\*.png.
The first frame in def will look like 0_0.png, the second 0_1.png and so on...
|
|
27.05.2021 12:12 |
|
Berserker
Posts: 16657
|
|
27.05.2021 15:49 |
|
Berserker
Posts: 16657
|
|
30.05.2021 20:14 |
|
V_Maiko
Posts: 610
|
Berserker, Well, def is not the same as gif, at least not in the way it is used Another question that led me regarding that, can defs be used in game dialogs and I never realized it? I mean, animated defs within another def...
(This post was last modified: 30.05.2021 20:24 by V_Maiko.)
|
|
30.05.2021 20:22 |
|
Berserker
Posts: 16657
|
|
30.05.2021 20:38 |
|
Sandris
Posts: 422
|
Сейчас спецом зашел проверить, все работает, портреты отображаются, в том числе с прозрачностью.
\Mods\Имя мода\Data\Defs\TwCrPort.def\0_0.png
|
|
02.06.2021 19:01 |
|
Berserker
Posts: 16657
|
|
02.06.2021 19:58 |
|