Current time: 27.11.2024, 11:56 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Перевод игры на PNG
» PCX/DEF => PNG. Вопросы, обсуждение
Author Message
Berserker Offline
Administrators

Posts: 16657
Post: #106

V_Maiko, agree. Already implementing composite images support. During DEF png frame loading, new image is created with background taken from another image like zpic1005.png. Thus we get the same effect as having 2 layers in Photoshop. This composite image is saved in memory. So interface buttons can support transparency.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
27.05.2021 01:38
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #107

Berserker, Perfect! 20 a couple of years ago I tried to redo the buttons without the annoying cropped backgrounds, but was unsuccessful, now with PNG support it will be a reality 96
27.05.2021 01:44
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #108

V_Maiko, I can't wait for it too.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
27.05.2021 01:56
Find all posts by this user Quote this message in a reply
planetavril Offline

Posts: 87
Post: #109

so you can put png images of the creatures or buildings instead of the def file?
27.05.2021 09:55
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4343
Post: #110

planetavril, actually you don't replace def itself, you change only its cadres by png images.


Image: widget.png?style=banner2

Новейший Heroes Launcher
27.05.2021 11:22
Visit this user's website Find all posts by this user Quote this message in a reply
Sandris Offline

Posts: 422
Post: #111

(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
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #112

planetavril, creatures are not supported.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
27.05.2021 15:49
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #113

(27.05.2021 15:49)Berserker Wrote:  planetavril, creatures are not supported.

Too hard to carry out but it would also be the most used, I think that the level of usefulness of something is linked to the difficulty of obtaining it 96
28.05.2021 01:47
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #114

Berserker, I have an idea, we can replace the animated gifs by sequence of images .png frame by frame, obviously I don't know how to make a folder address for independent images (gifs), but everything else I feel is possible

Image: Screenshot-1.png
30.05.2021 18:52
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #115

V_Maiko, you invented...def! )


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
30.05.2021 20:14
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #116

Berserker, Well, def is not the same as gif, at least not in the way it is used Rolleyes 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
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #117

The same. Group of frames with transparent color support. Animated defs are supported in custom DL-dialogs.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
30.05.2021 20:38
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2356
Post: #118

Какой рабочий путь для замены портретов монстров в ERA 3.8?

По "Data\Defs\TwCrPort.def\0_0.png" замены не происходит как ни крути. 112
02.06.2021 18:45
Find all posts by this user Quote this message in a reply
Sandris Offline

Posts: 422
Post: #119

Сейчас спецом зашел проверить, все работает, портреты отображаются, в том числе с прозрачностью.

\Mods\Имя мода\Data\Defs\TwCrPort.def\0_0.png
02.06.2021 19:01
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #120

XEPOMAHT, 0_0 — подложка? 0_2 - копейщик не улучшенный. А путь верный.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
02.06.2021 19:58
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group