Алк Posted December 18, 2022 Share Posted December 18, 2022 Стоит модпак Юши. Куда закинуть гифку лампы и как ее обозвать. Может кому понравится. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted December 18, 2022 Share Posted December 18, 2022 @Алк Сюда "...\Папка с игрой\mods\resources\protanki\sixth_sense\", но скорее всего *.gif не сработает. Еще в файле "...\Папка с игрой\mods\configs\protanki\stuff\sixthSense.json" замени имя картинки "single.png" на свое. "path": "../../../../mods/resources/protanki/sixth_sense/single.png" 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Алк Posted December 18, 2022 Author Share Posted December 18, 2022 Сработало все но по времени маловато. Надо добавить побольше файлов. Буду пробовать. @ Quote Link to comment Short link Share on other sites More sharing options...
Yusha Posted December 26, 2022 Share Posted December 26, 2022 18.12.2022 в 22:55, Алк сказал: Сработало все но по времени маловато. Надо добавить побольше файлов. Буду пробовать. Разбей своё ГИФ на отдельные кадры (есть онлайн редакторы в сети) и пропиши уже в конфиг, число кадров и скорость их воспроизведения. "sequence": { "enable": true, "frames_total": 90, "frames_per_sec": 30, "path": "../../../../mods/resources/protanki/sixth_sense/sequence_rounded/morty_sun/morty_sun_{index}.png" где "morty_sun_0.png" имя твоих кадров... должно быть одинаковым для всех кадром и начинаться с "0" frames_total - сколько кадров в анимации (тут 0-89) frames_per_sec - число кадров в секунду (ускоряет и замедляет анимацияю) Еще оно может схавать атласы и ддски, ток не забудь в конфиге включать и выключать элементы, которые ты юзаешь { "enable": true, "top_offset": 0, "top_start": 16, "duration": 9.4, "fade_in": 0.2, "fade_out": 0.4, "path": "../../../../mods/resources/protanki/sixth_sense/single.png", "rounded": true, "sequence": { "enable": true, "frames_total": 90, "frames_per_sec": 30, "path": "../../../../mods/resources/protanki/sixth_sense/sequence_rounded/morty_sun/morty_sun_{index}.png" }, "composed": { "enable": false, "frames_total": 120, "frames_per_sec": 12, "frames_row": 20, "width": 101, "height": 101, "path": "../../../../mods/resources/protanki/sixth_sense/composed.dds" }, "atlas": { "enable": false, "frames_total": 296, "frames_per_sec": 30, "frames_mask": "{index}", "describe": "../../../../mods/resources/protanki/sixth_sense/atlas_test.xml", "texture": "../../../../mods/resources/protanki/sixth_sense/atlas_test.dds" } } 3 @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.