IPB

Здравствуйте, гость ( Вход | Регистрация )

> Era II [ENG], New concept in modding
Berserker
сообщение 05 Feb 2012, 20:00 (Сообщение отредактировал Berserker - 12 Feb 2012, 13:31)
Сообщение #1

Immortal
Сообщений: 1 468
Спасибо сказали: 1151 раз






Name: Era II + WoG 3.58f [converted to mod]
Version: 2.0 beta 2 build 4
Size: 70.5 MB
Download: Direct link
Intro: Read
Requires: SoD/Complete, not WoG

Credits for this release:
Jim Vogan - ERM help improvement, Era manual translation
solitaire345 - ERM help improvement
Valery (Salamandre) - testing

Mods concept.
Mod is a set of files and folders, including graphics, audio, video, scripts, plugins, patches and custom files. Era introduces "Mods" folder where each folder is called a mod and treated as game root directory. It means that files and folders in mods should be arranged in the same way as in the root directory.

Original: Data
Mod way: Mods\My Mod\Data

Mod contents.
The contents of mods are not supposed to be modified at run-time. All files which are subjects to be modified at run-time (like settings, logs, temporary files) should be placed in real game folders during installation. Several mods can exist in Mods folder at the same time providing they are compatible. Every mod can have unlimited number of in-game resources (snd/vid/pac archives in Data) which will be automatically loaded.

Priorities.
If any mod has file with the same name as in original game, the file from mod is used instead of original one. If several mods have file with the same name, then mod with the highest priority is used. To assign a priority to mod, add a number to the beginning of its name, separated from the text by space(s). The higher number is, the higher the priority is. Example: "100 MyMod". If no priority is specified, it's assumed to be 0. In case of equal priority, the creation time of mods folders is checked and the newest folder is preferred during file search. This mechanism guarantees that mods installed later will have priority over older ones.

Register mod hint.
To register mod as the newest one executes "Tools\installmod.exe" with mod folder name as the only argument.

WoG Mod.
WoG is now distributed as regular mod and thus does not change any game resources. Most of WoG resources are located in "Data\hmm35wog.pac". All WoG dialogs read directly this archive and ignore other mods. The only not recommended way to fix it is to import new data inhmm35wog.pac. WoG contains fixed first aid tent def which ensures no game freezing.

Additional optional modifications:
  • Fast battle animation. To disable it delete file "Data\cranim.txt".
  • No pre-battle music. To disable it delete file "Data\wog - noprebattle music.snd".
  • Animated Heroes 3 objects. To disable it delete file "Data\wog -animated objects.pac".
  • Animated trees. To disable it delete file "Data\wog - animatedtrees.pac".
  • Battle decorations. To disable it delete file "Data\wog - battledecorations.pac".


Yona Mod.
Yona is an open-source mod written in pure Delphi using Era SDK. Its ideology is total optionality ("Data\Yona\settings.ini"), native support of all new features by game, AI and multiplayer code. It's pretty compatible with other mods, does not store anything in saves and does not modify ERM scripts. To delete the mod, delete "Mods\Yona" folder.

Features:
New battle log hint in heroes' style describing possible kill count, average values, fatality values and new abilities used in attack.

New abilities:
  • Pikeman / Halberdier ignores cavalry bonus and inflicts 200% damage to cavalry:
    • Cavaliers
    • Champions
    • Centaurs
    • Captains Centaurs
    • Unicorns
    • Battle Unicorns
    • Black Knights
    • Death Knights
    • Nomads
    • Sylvan centaurs
    • Hell Steeds
    • Nightmares
  • Cavaliers / Champions get 20% damage bonus per hex instead of the original 5%. Bonus accumulates with other bonuses like attack modifier, offense skill and so on.
  • Swordsmen / Crusaders ignore 50% of physical damage in a state of defense.
  • Damage of Orcs / Orc-chieftains (throwing axes) depends quadratically on the distance to the target.
    Formula: Base damage * (19 - distance) ^ 2 / 100.


Changes.

Portability.
The game became fully portable. All game settings are stored in "heroes3.ini" file. Default CD scanning mechanism is turned off. Era automatically loads files ".\Heroes3\Data\heroes3.vid" and ".\Heroes3\Data\heroes3.snd" if any. If "LoadCD" option in "heroes3.ini" is set to 1, Era scans all CD drives seeking for "Heroes3" folder. If above mentioned snd/vid archives are not found in the game folder, Era will try to load them from CD, providing the "LoadCD" option is on.

Debug mode.
To enable debug mode set option "Debug" to 1. The file "eralog.txt" will be automatically recreated at game start.

Extensibility.
All erm files (and ert files with the same names) are automatically loaded from "Data\s" folder at map start or when F12 is pressed. WoG options dialog does not validate the existence of files on disk anymore. The number of scripts is limited only by the amount of internal memory. If a valid (negative or positive) number is found before script name (ex. "50 Test.erm"), it's treated as loading priority. If the file "load only these scripts.txt" exists in "Data\s" then only those scripts which are written there (one script name per line) are loaded. In this case loading order is the order in which files appear in the list. WoG ini option "Alternate_Script_Location" is not used anymore.

Multiplayer.
  • A network game can take place at one PC between two game copies (in different folders) if they have different "Unique System ID" in "heroes3.ini". To generate the ID, just erase the whole settings line and run the game.
  • External IP address detection mechanism was improved. The first non-local address is moved in the first position of the list returned by gethostbyname function.
Editors.
Original editors (h3maped.exe and h3ccmped.exe) work fine. WoG editors (h3wmaped.exe and h3wcmped.exe) may require special fix. WoG map editor correctly opens maps and loads mods. It also applies all memory patches and loads dlls from EraEditor folder. Extended editor functionality provided by GrayFace editor patch requires resources to be located in h3sprite.lod and h3bitmap.lod. WoG campaign editor does not support mods. To enable MapEdPatch functionality for new WoG objects and to enable WoG campaign editor mapmaker can run "Tools\FixEditor\Fix Editor.bat". This will import all crucial data inh3sprite.lod and h3bitmap.lod.

Help.
All documentation, changelogs, updated ERM and Era manuals can be found in the "Help" folder.

Tweaks.
  • Windows 7 compatibility when running without "XP compatibility" option.
  • No WoG installer anymore.
  • Sped up calling all wog dialogs, several times lower HDD load.
  • Optimized WoG dialogs HDD and CPU load. "reduce cpu load.bin" patch was removed and HD-mod "Berserker's CPU patch" option should be turned off.
  • Writing ini files using ERM or Era functions now always result in sorted list of sections and keys in file.
  • Random maps generation in game/editor is no longer dependent on garbage snd/vid/lod files from Armageddon Blade.
  • Game does not require native lods in "Data" folder if necessary resources are found in other pacs.
  • Added synchronized creature sounds by GrayFace.
  • Script 98 (quick and smart savings) was rewritten, now supports option in WoG menu, does not conflict with chat and is variables-safe.
  • All tools were moved to Tools folder, included new standard ones:
    lodexport, lodimport, objector.exe, repman.exe, resman.exe, installmod.exe.
  • Updated API and sources.
  • F11 now extracts scripts from memory to "Data\ExtractedScripts" folder instead of "Data\s\ExtractedScripts".
  • Removed duplicated WoG initialization code.
  • Fixed Era 1.9 PO/Memory bugs which led to invalid saved games' data and size.
  • Fixed Era 1.9 bug when plugins and patches with ".off" extension were loaded anyway.


Technical details.

Virtual File System ("Mods" folder support).
The following file system functions working with names are supported:
  • CreateFileA
  • GetFileAttributesA
  • FindFirstFileA
  • FindNextFileA
  • FindClose
  • LoadLibraryA
  • DeleteFileA
  • CreateDirectoryA
  • RemoveDirectoryA
  • GetPrivateProfileStringA
  • LoadCursorFromFileA
  • PlaySoundA
  • GetCurrentDirectoryA
  • SetCurrentDirectoryA
New event "OnStackToStackDamage"(!?FU77012).
Arguments:
  • Attacker stack (0..41) or -1
  • Defender stack (0..41) or -1
  • Final damage (DONT CHANGE!)
  • Final damage (CHANGEABLE)
  • Basic damage
  • Damage bonus
  • Is distant? (if not 0 or 1 then garbage)
  • Distance (only for theoretical attacks)
  • Is theoretical? (means hint or AI calculation)
The event occurs when one stack attacks/shoots at another one.

New event "OnAICalcStackAttackEffect" (!?FU77013).
Arguments:
  • Attacker stack (0..41)
  • Defender stack (0..41)
  • Effect value (CHANGEABLE)
  • Effect value (DONT CHANGE)

New event "OnChat" (!?FU77014).
The first argument determines event type and the rest arguments:
  • 0 (Enter chat)
    • Disable enter? (0..1)
  • 1 (Input)
    • Input string
    • Action: 0 (clear box), 1 (close box) or 2 (default)
  • 2 (Leave chat)

Miscellaneous.
  • Added "ApiHook" function. It finds out patch size automatically in comparison with "Hook" function.
  • Both ApiHook and Hook functions return new address of overwritten code in the BRIDGE mode.
  • v1 keeps Era dll handle when *.era plugin is being loaded.
  • Era automatically calls DisableThreadLibraryCalls for all loaded *.era plugins.
  • ExecErmCmd does not kill the game on error.
  • Event "OnNameColors" was renamed to "OnAfterCreateWindow"


--------------------
Go to the top of the pageAdd Nick
 
+Quote Post

Сообщений в этой теме
- Berserker   Era II [ENG]   05 Feb 2012, 20:00
- - Berserker   Era II Update. Version: 2 beta 2, build 3. Downloa...   10 Feb 2012, 14:56
- - Berserker   Era II Update. Version: 2 beta 2, build 4. Downloa...   12 Feb 2012, 13:28
- - Berserker   Phoenix Mod 3.61 [ENG] [MOD]   14 Feb 2012, 20:25
- - Spartak   Берс, а почему последний пост написан именно в это...   14 Feb 2012, 23:22
- - Valery   The Empire of the World IV [ENG]-[MOD]   15 Feb 2012, 00:39
- - XEL   I've installed ERA II (English version) on the...   15 Feb 2012, 00:56
- - Valery   Цитата(Berserker @ 05 Feb 2012, 21:00) Re...   15 Feb 2012, 03:25
- - Berserker   Spartak, потому что это сугубо английская версия, ...   15 Feb 2012, 14:44
- - Ozymandias   У меня в Эре (с Yona) есть весёлый глюк. Когда сущ...   21 Sep 2012, 08:47
- - Berserker   Yona даёт кавалерийский бонус дополнительный толь...   21 Sep 2012, 11:36
- - hippocamus   Yona вообще развивается? Или так и будет, что свой...   21 Sep 2012, 13:55
- - Berserker   Не развивается.   21 Sep 2012, 15:38
- - Bes   а вы польскую Yona видели? (точнее малость улучшен...   21 Sep 2012, 15:52
- - Berserker   Ссылку бы дал )   21 Sep 2012, 16:05
- - Bes   у поляков только одна ссылка   22 Sep 2012, 15:10
- - Ozymandias   Так у меня кавалерийский бонус в YONA не у кавалер...   24 Sep 2012, 09:52
|- - Spartak   Цитата(Ozymandias @ 24 Sep 2012, 10:52) Т...   24 Sep 2012, 19:47
- - Berserker   Yona даёт доп. бонус в 15% кавалеристам. Это всё. ...   24 Sep 2012, 20:28
- - Niflxeim   Цитата(Berserker @ 05 Feb 2012, 21:00) ...   04 Dec 2012, 07:21
- - gamecreator   http://forum.df2.ru/index.php?showtopic=12...st...   04 Dec 2012, 14:06
- - fireman   Записал видео установки era на дыхание смерти - ht...   14 Mar 2013, 11:57
- - Spartak   ЧТО-ТО непоказано где опции/скрипты эры. Или скрип...   14 Mar 2013, 20:53
- - fireman   Spartak, да отдельно. Там всё в мод менеджере наст...   14 Mar 2013, 22:46
- - gerkruger   Подскажите, где найти ссылки на скачивание Era II ...   01 Apr 2013, 14:23
- - Axolotl   Я опять с Багами, на этот раз, как мне кажется с б...   29 Jun 2013, 17:28
|- - Algor   Цитата(Axolotl @ 29 Jun 2013, 18:28) Перв...   01 Jul 2013, 22:43
- - Berserker   Попробуй поставь мод оригинальных 3.58 скриптов. И...   01 Jul 2013, 17:30
- - Berserker   Оставлю пока здесь. Вообще, нужно порядок в раздел...   13 Jul 2013, 22:07
- - Sam 1   Berserker , это ведь вы обновляете Era , так ? ...   22 Sep 2013, 23:25
|- - Algor   Sam 1, Эра идеологически разделяет мух и котлеты. ...   23 Sep 2013, 13:26
|- - Sam 1   Цитата(Algor @ 23 Sep 2013, 13:26) Отдель...   24 Sep 2013, 18:03
- - Berserker   Сэм, всё обстоит просто. Я не отвечаю за мод ВоГ 3...   24 Sep 2013, 18:29
|- - Sam 1   Цитата(Berserker @ 24 Sep 2013, 18:29) Сэ...   24 Sep 2013, 20:29
- - feanor   Урон у гремлинов, по-моему, не рассчитывается вооб...   24 Sep 2013, 21:04
|- - Sam 1   Цитата(feanor @ 24 Sep 2013, 21:04) Урон ...   24 Sep 2013, 22:50
- - Berserker   ЦитатаА в принципе кто нибудь может внести эти исп...   24 Sep 2013, 23:30
|- - Sam 1   Цитата(Berserker @ 24 Sep 2013, 23:30) Ци...   24 Sep 2013, 23:47
|- - Algor   Цитата(Sam 1 @ 25 Sep 2013, 00:47) Цитата...   25 Sep 2013, 00:18
|- - Sam 1   Цитата(Algor @ 25 Sep 2013, 00:18) Цитата...   25 Sep 2013, 02:20
|- - Algor   Цитата(Sam 1 @ 25 Sep 2013, 03:20) Если в...   25 Sep 2013, 09:18
- - Sam 1   Цитата(Algor @ 25 Sep 2013, 09:18) Цитата...   25 Sep 2013, 13:37
- - Berserker   При совпадении имён файл из более приоритетного мо...   25 Sep 2013, 15:45
|- - Sam 1   Цитата(Berserker @ 25 Sep 2013, 15:45) Пр...   25 Sep 2013, 17:46
|- - Algor   Sam 1, прочитай для начала ERM-help. Это действите...   25 Sep 2013, 19:15
|- - Sam 1   Цитата(Algor @ 25 Sep 2013, 19:15) Sam 1,...   25 Sep 2013, 19:34
- - Berserker   Кодовое обновление Эры с версии 2.46.Х до 2.5 альф...   02 Oct 2013, 19:35
- - feanor   Цитата[*] Map/campaign built-in scripts are not in...   02 Oct 2013, 20:16
|- - Algor   Цитата(feanor @ 02 Oct 2013, 21:16) Цитат...   02 Oct 2013, 21:15
- - feanor   Ну так-то есть Цитата[+] Files "Data\s...   02 Oct 2013, 21:41
- - Berserker   Оригинальный механизм морально и физически устарел...   03 Oct 2013, 12:11
- - igrik   А что делать с WoG'овскими картами со встроенн...   04 Oct 2013, 09:49
- - Berserker   Сделаю утилиту для преобразования в новый формат. ...   04 Oct 2013, 14:15
|- - Sam 1   Цитата(Berserker @ 04 Oct 2013, 14:15) Сд...   05 Oct 2013, 02:54
- - igrik   ЦитатаКодовое обновление Эры Так что русификатор к...   05 Oct 2013, 11:39
- - Berserker   Если не считать списка изменений, конечно ))   05 Oct 2013, 13:05
- - Berserker   Кодовое обновление Эры до версии 2.55. Скачать Вни...   13 Oct 2013, 23:08
- - Sam 1   Я стал замечать пару нехороших особенностей : Во...   13 Oct 2013, 23:15
- - Berserker   Проблема оригинальной игры. Пока решать не планиру...   14 Oct 2013, 00:27
|- - Sam 1   Цитата(Berserker @ 14 Oct 2013, 00:27) Пр...   14 Oct 2013, 02:08
- - Patriot   Прошу прощения, я совсем недавно на этом форуме. П...   16 Mar 2014, 16:47
- - Berserker   Можете здесь.   16 Mar 2014, 21:07
- - Patriot   Начну по порядку: 1.Отряд не восстанавливается пал...   18 Mar 2014, 01:24
- - Berserker   Цитата3. Не понятно, по какому принципу работает м...   18 Mar 2014, 02:07
|- - Patriot   Цитата(Berserker @ 18 Mar 2014, 03:07) Ци...   18 Mar 2014, 13:45
- - Berserker   Чуток формула не точка, делить на 100 не нужно, эт...   18 Mar 2014, 22:31
- - tolich   Что значит расстояние 1, я понимаю, стрельба в сос...   19 Mar 2014, 08:49
|- - Algor   Сильно подозреваю, что Patriot имеет в виду работк...   19 Mar 2014, 12:32
|- - Patriot   Цитата(Algor @ 19 Mar 2014, 13:32) 1. Есл...   19 Mar 2014, 22:03
- - tolich   Раненые — это те, у кого текущее здоровье меньше м...   19 Mar 2014, 22:10
|- - Patriot   Цитата(tolich @ 19 Mar 2014, 23:10) И я н...   19 Mar 2014, 23:17
|- - Algor   Цитата(Patriot @ 20 Mar 2014, 00:17) Что ...   20 Mar 2014, 07:53
|- - Patriot   Цитата(Algor @ 20 Mar 2014, 08:53) Цитата...   20 Mar 2014, 15:43
|- - Iv   Цитата(Patriot @ 20 Mar 2014, 16:43) На с...   20 Mar 2014, 15:50
- - tolich   Цитата(Iv @ 20 Mar 2014, 15:50) А скрин-т...   20 Mar 2014, 16:20
|- - Patriot   Цитата(tolich @ 20 Mar 2014, 17:20) (Раск...   20 Mar 2014, 16:53
- - feanor   Ну вот потому палатка и не лечит. Откуда ж ей знат...   20 Mar 2014, 16:56
|- - Patriot   Цитата(feanor @ 20 Mar 2014, 17:56) Ну во...   21 Mar 2014, 03:32
- - Berserker   ЦитатаЧто значит расстояние 1, я понимаю, стрельба...   20 Mar 2014, 20:37
- - Berserker   Эм, стандартное геройское поведение. Палатка может...   21 Mar 2014, 22:38
|- - Patriot   Цитата(Berserker @ 21 Mar 2014, 23:38) Эм...   22 Mar 2014, 04:39
- - tolich   Бедные крестьяне. =)   21 Mar 2014, 23:20
- - Bes   Цитата(Berserker @ 21 Mar 2014, 23:38) Эм...   22 Mar 2014, 00:02
|- - tolich   Цитата(Bes @ 22 Mar 2014, 00:02) Здоровье...   22 Mar 2014, 10:45
- - igrik   Цитата...не понимаю: "текущее здоровье" ...   22 Mar 2014, 10:26
- - Berserker   3 кажется им ставит опция воговская усиления сущес...   22 Mar 2014, 21:10
- - fireman   С палатками это всегда бесило, чтобы оживить кого-...   27 Mar 2014, 09:36
|- - Patriot   Цитата(fireman @ 27 Mar 2014, 10:36) С па...   29 Mar 2014, 02:04
- - hippocamus   Ну, это же костыль - потому он так и работает. А в...   27 Mar 2014, 11:01
- - fireman   Patriot, это не баг, а я бы сказал недоработка иде...   30 Mar 2014, 11:57
|- - Patriot   Цитата(fireman @ 30 Mar 2014, 12:57) Patr...   31 Mar 2014, 16:44
- - Orzie   Дашь исходный код героев - сделают тебе нормально....   31 Mar 2014, 17:08
- - VII   (Sam 1 @ 14 Oct 2013, 03:08) Вообще стран...   15 Jul 2014, 16:06
|- - tolich   Цитата(VII @ 15 Jul 2014, 16:06) владельц...   15 Jul 2014, 16:20
- - Orzie   Есть.   15 Jul 2014, 16:48
|- - Axolotl   Цитата(Orzie @ 15 Jul 2014, 20:48) Есть. ...   15 Jul 2014, 17:44
- - Orzie   У них всё есть. Правда, раздавать сцены они явно н...   15 Jul 2014, 17:45
- - Axolotl   Тогда это хуже. У Убика сцены конечно же не вытряс...   15 Jul 2014, 18:45
- - Orzie   Слить тебе могут и сорцы трёшки, просто за нехилое...   15 Jul 2014, 19:00
- - Axolotl   Цитата(Orzie @ 15 Jul 2014, 23:00) Слить ...   15 Jul 2014, 19:06
2 страниц V   1 2 >


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 



Текстовая версия Сейчас: 20 April 2024 - 04:18
Copyright by Алексей Крючков
Strategy Gamez by GrayMage
Programming by Degtyarev Dmitry
  Яндекс.Метрика