Wake of Gods Forum | Форум Во Имя Богов

Full Version: [ERA] Мод Random Skin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(10.01.2021 02:34)Astranzen Wrote: [ -> ]Рандома на главном меню нету, только дракон и обрезаные розовые кнопки. С чем это может быть связано?
Главное меню и не должно было меняться.
Косякнул, добавил фон главного меню из другого скина сюда.
Обновил скин, пока только в zip https://yadi.sk/d/jVlR8c3_WbLv4w
Можно только RandomSkin.pac заменить.
Ivor, мало ли, но ПКМ на мод в мод менеджере - создать пакет установки.Rolleyes
(12.01.2021 14:46)Ivor Wrote: [ -> ]Главное меню и не должно было меняться.
Почему? Разве не в этом идея рандом мода скинов? С новым zip-ом тоже самое только с вулканом вместо дракона. Версия твоего мода 0.7.1 намного лучше. Вот если бы ты кнопки там подправил цене бы ему не было.
Thank you for your work. I like this mod very much.

But some of the picture names conflict with my other mods.

So I tried to change the file name in the random skin.txt list ,and change the image to the corresponding name.

But sadly, it didn't work. What's the problem?
imswear, what exactly you change and to what?
Image: 51701924626_1a3c24d543_b.jpg

Thank you for your reply. I'm using Google translate.

This is the content of the random skin.txt file I changed.

Accordingly, the picture name is also changed to sgl001, sgl002, sgl003……
————————————————————————————————————————[/quote][/php]
Спасибо за ответ.  Я использую Google для перевода. 

 Это содержимое файла random skin.txt, который я изменил. 

 Соответственно, название картины также изменено на sgl001, sgl002, sgl003... 
You may write in English, I understand.

The first file name in each group (lines between "*" mark) is real original resource name, which should not be changed.

Example: AIShield.pcx
The subsequent lines can have artbitrary alternative file names.
Great,It works.

thanks~
A new request.
I wonder if it is feasible?
Can it display different "aishield" pictures at the end of each round? (press the button for ending a turn)
At present, it calls only one random picture in the same game.
imswear, SN:R is pretty much what you need here.

Quote:Version 2.8.7
[+] Added new ERM command SN:R^old resource name^/^new resource name^, redirecting lod/pac/mp3 resources to other names.
    The command is a thin wrapper over RedirectFile exported function. Pass empty name as new resource name to remove
    redirection. All applied redirections are local, stored in saved game and reverted on map exit.
    '*.mp3' redirection works on all mp3 files at once.
   
    Example:
    !#SN:R^crgrif.def^/^croc.def^; let Royal Griffins look like Rocs (portraits are not changed)

    Game unloads not used resources, thus many resources can be dynamically redirected during playing.
    If resource is used in Hero Screen, perform redirection before Hero Screen is shown (and resource is cached).

    Custom interface skins may also be implemented, allowing user to switch themes right in the game (saved game
    loading may be necessary for visual update).



Note:
1. OnEveryDay executs at the start of a turn
2. SN:R has to be executed before a resrouces is loaded
OK~THANKS~Archer30
Pages: 1 2 3
Reference URL's