Current time: 24.03.2024, 09:49 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Мод "WoG Scripts"
Author Message
Algor Away
Administrators

Posts: 3880
Post: #391

(10.01.2021 13:29)MaGoth Wrote:  ну, это так взгляд дилетанта со стороны на вашу кухню.. Mail1
Ох уж мне эти взгляды дилетанта со стороны...
Если "выпилить к чертям всю ту "скрипто дичь на ЕРМ" которое хоть даже в минимальном варианте способно вызывать вероятные краши и баги игры" то у тебя от функционала не останется ничего, кроме примитивных вещей, работающих в рамках одного триггера. Всё остальное потенциально "способно вызывать вероятные краши и баги", т.к. всегда можно написать какую-нить саму по-себе-корректную хрень, которая функционал этого кода так или иначе поломает.


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
10.01.2021 14:19
Visit this user's website Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #392

Quote:Если "выпилить к чертям всю ту "скрипто дичь на ЕРМ" которое хоть даже в минимальном варианте способно вызывать вероятные краши и баги игры" то у тебя от функционала не останется ничего
Algor, если это сделает модератор сборки, то значит ему так это видится в рамках баланса этой самой сборки.
Все недовольные таким решением самостоятельно установят полноценный WoG и... будут отлаживать идеальность и стабильность работы их опциональной интересной игры.
Авторов WoG в округе нет, а посему некому предъявить кривость работы их скриптов
10.01.2021 14:59
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1098
Post: #393

Hidden mechanic in 29 wog - Henchman:
When a hero with Expert Scouting changes their henchman to another
1. their new henchman gains full exp from the previous
2. the previous henchman returns to the army as a normal creature
I only find this when I try to fix the script ) It's hidden too deep


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 20.01.2021 21:50 by Archer30.)
20.01.2021 19:14
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 604
Post: #394

Archer30, In my opinion that is not a hidden mechanism, you know that they have this behavior if you try it yourself, I hope your decision is not to change it, because for me I like it as it is. Ab
21.01.2021 01:37
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #395

Implemented the same for any scouting level in Phoenix mod.


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

Posts: 1098
Post: #396

A few more edits I made for WoG Scripts:

29 wog - henchman (updated 30 Jan)
1. Fix dialogue "Do you wish to select a henchman" pops up again if clicks on "DISMISS HENCHMAN"
2. Fix a mistake of experience calculation. Previously the exp is different from battlefield and stats dialogue.
3. Fix dead henchman is able to return to the army (as a normal creature) if the owner learned Expert Scouting.
4. Remove DISMISS HENCHMAN dialogue option if a hero doesn't have a henchman.
5. Adds in a check of "Heroes without Armies" (via UN:C). A hero can no longer appoint the last creature as a henchman unless either ES option or bin patch is enabled to allow a hero to dimiss/transfer the last stack.

48 wog - adventure cave
Fix Hermit gives extra retaliation to all troops inlcuding warmachines, which results in a crash when WM gets hit.
This script was fixed by Perry. But there was an issue (missing condition). I corrected it and also add in a check of Warmachine Enhancement II. If WM II is enabled, creature #124 will also be excluded from the retaliation enhancement.

64 wog - altar of transformation
Fix default dialogue option invalid. You were able to select nothing and clicked on next, now not anymore.

75 wog - secondary skills boost (Tactic Enhancement)
1. Fix an issue that the first moving creature of a battle does not count in speed boost of Tactic Enhancement.
2. Fix tactic enhancement gives speed bonus to Santa Guards, it shouldn't be so.
3. Add in a check of Warmachine Enhancement II. If WM II is enabled, creature #124 would be excluded from tactic enhancement.
Executing speed bonus in !?BR&v997 is too late! BF is suitable for this job.

Downloads:
Google Drive


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 02.03.2021 09:44 by Archer30.)
29.01.2021 14:48
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4333
Post: #397

Archer30, great! Nice work you did, man Ab


Image: widget.png?style=banner2

Новейший Heroes 3 Launcher
29.01.2021 15:19
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1098
Post: #398

yet some more corrections

29 wog - henchman
1. Heroes controled by Ai now get their henchmen from their first battle. Previously they are only given one if they enter the battle as an attacker.
2. Henchman gains 0 exp if the hero did not gain exp from the battle. Same as the commanders when hero hits the level cap of a campaign scenario.
3. Now this script can be used in Multiplayer games. Note: The defending hero won't get to choose a henchman before battle if didn't have one.
- update Mar 3 -
4. Now Emissaires are banned from your choices of henchman. They are sacred creature but result in bugs Sm
5. Fix erm error when a creature with low fight value is chosen as henchman.

48 wog - adventure cave
Fix multiple events didn't occur due to the battle round update of ERA.

57 wog - freelancers guild
Fix erm error of the script.

Downloads:
Google Drive


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 07.03.2021 07:43 by Archer30.)
01.03.2021 22:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #399

Archer30, thanks for constant updates.


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

Posts: 13
Post: #400

Долго шарил по форуму, но не понял где спросить по опции Вога) // думаю здесь Read
Кто-нибудь знает у опции Усиленные военные машины II - есть ли какие то коэффициенты на воскрешение/лечение от уровня игрока? В справочнике не увидел.

Какая из опций Усиленные военные машины I/II/III более полезна на высоких уровнях, в том плане - где палатка и остальные машины будут мощнее?
07.03.2021 14:57
Find all posts by this user Quote this message in a reply
PerryR Offline

Posts: 456
Post: #401

Mike956,
you would need to dig through the scripts, but they are coded very messily.
Best is to just use map editor and try out. Make a test map with test hero.
All I can say that I once found out that the number of tents does not matter when resurrecting, but I forgot for which WM-1,2,or3 script that was the case.
07.03.2021 15:50
Find all posts by this user Quote this message in a reply
Mike956 Offline

Posts: 13
Post: #402

(07.03.2021 15:50)PerryR Wrote:  Mike956,
you would need to dig through the scripts, but they are coded very messily.
Best is to just use map editor and try out. Make a test map with test hero.
All I can say that I once found out that the number of tents does not matter when resurrecting, but I forgot for which WM-1,2,or3 script that was the case.

Thanks a lot)
07.03.2021 16:21
Find all posts by this user Quote this message in a reply
Night Offline

Posts: 462
Post: #403

Mike956, да, в хелпе по Вог нема, но по коду глянул, там всё довольно прозрачно и просто:

//В v7228 пойдёт число единиц лечения, равное: случайному значению от 1 до 24 * (уровень навыка палатки 0-4) + 0 или 1 (сторона атакующего или защитника) * кол-во палаток.
На тесте в игре получалось 60-250 разброс лечения. Правда палатка почему-то одна была. Если включать опцию 190 и 204 (Первая помощь I,II), то ещё нормально так восстанавливает 8 уровня Архангелов по 1-2 штуки (и палаток становятся две, хотя наоборот должно быть по уровню героя). То есть под 1000 хп сверху докидывает, помимо излечения. Ну а с родним этим скриптом мелочи в лечении получаются.
(This post was last modified: 07.03.2021 17:13 by Night.)
07.03.2021 17:08
Find all posts by this user Quote this message in a reply
Mike956 Offline

Posts: 13
Post: #404

Night, спасибо!

Не подскажете как смотреть инфу по скриптам самому? Может есть где то мануал краткий)

Кстати по навыку Усиленные военные машины III в хелпе меньше всего написано, но палатка воскрешает хорошо в бою, понять бы какой-то там коэффициент на лечение и коэффициент кол-ва палаток в бою? Похоже на самую имбалансную версию УВМ)
08.03.2021 00:26
Find all posts by this user Quote this message in a reply
Night Offline

Posts: 462
Post: #405

Mike956, хелп по ЕРМ командам есть в любой сборке, на первой-второй странице меню кнопка на него, открывается справочник формата chm, там вот это вот всё и есть.
Image: EQqD6OI.png

Я обучался так - открывал интересующий меня скрипт, смотрел команды, смотрел в хелп, иногда комментил для себя сбоку расшифровку тех или иных строк.

Quote:понять бы какой-то там коэффициент на лечение и коэффициент кол-ва палаток в бою?
В этом скрипте посложнее, без разборки с наскока не разберешься. Но по проверке лечение конечно повыше будет, из-за приобретения доп.палаток. Правда ни после боя ни в бою архангелов не воскресило, 7 палаток стабильно лечат по 220-308 единиц хп. Потенциал скрипта конечно повыше.
(This post was last modified: 08.03.2021 01:33 by Night.)
08.03.2021 01:05
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