Skip to content

"HW rulez" mod (add-on) for HoMM3.

#264
Auto-translated
WiZarDX_576, I suggest creating a Russian localization for HW_rules (for the future HD 3.8, since the "HD.UI.Language" variable will only appear in it). ``` bool lang_is_ru; ... #define _L(en, ru) (lang_is_ru ? ru : en) ... lang_is_ru = stricmp(_P->VarGetValue("HD.UI.Language", "#en.ini"), "#ru.ini") == 0; ... and then, instead of strings like "English", write _L("English", "Русский"); ``` Also, for HD 3.8, I suggest adding the setting of variable values in HW_rules: ``` _P->VarValue("HD.UI.BuyCreatureDlg.AutoSet.Max") = 0; _P->VarValue("HD.TE.EveryDaySaver") = 1; ``` because by default, HD 3.8 will have opposite values. Regarding the automatic setting of the turn timer according to the selected template, I will think about it and get back to you later.
HoMM 3 HD:

последняя версия - 5.0 RC96 (19.09.2020)

последнее видео: https://www.youtube.com/watch?v=u70wC0DJ7I8

полное подробное описание