Detect game version with triggers

 [MM]Zix


Отредактировано5 de ������ de 2023 - 17:28[MM]Zix
In different game versions, some features work differently, so you may need to limit your map features to the correct game versions.

I've made a reference map, which can detect these game version combinations:

g2j26tu0t03f9jzgzw3ukwaoqgb9bunb

Each detection uses just 1 condition!

Here are few examples:

-Change view effect can cause gamecrash in version 1.0/1.0c, so condition "1.4 or 1.5 or 1.6 or HD or DE" needs to be added to prevent gamecrash.

-If you want to display Advanced Statistics, use "1.4 or 1.5 or 1.6" condition because it will work only on these game versions, and you would just get an useless message on other game versions.

-If you want to set unit speed, make a trigger with "HD or DE" and an other one with "1.4 or 1.5 or 1.6" condition, because these game versions use different effect IDs to set unit speed.

-To use an UP-effect, add condition "1.5 or 1.6", because on other versions, the players would get an useless UP-effect message.

-To make an undeletable unit, use an UP-effect/UP-attribute trigger with "1.5 or 1.6" condition, and an effect ID 74 trigger with "DE" condition to disable its deletion in both game versions.
Прикреплено:
Detect Patch and Mod.scx (размер файла: 1.3 KB)
Detect Patch and Mod.png (размер файла: 11.53 KB)

Ссылка | Ответить | Цитата
 [MM]Zix


Отредактировано9 de ���� de 2019 - 17:21[MM]Zix
With the new version, you can also detect the game mod too, including the following ones:

-FE/AK/ROTR
-Realms
-5th Age Mod
-Portuguese Civ Mod III
-Age Perfect Expansion
-Age of Chivalry
-Sheep vs Wolf 1/2/3

All you need to do is just put a gaya 867 ID unit somewhere to the map (but not too close to player units to prevent to be converted), and garrison it into itself, and copy the required trigger condition.
Ссылка | Ответить | Цитата
 [MM]Zix


Размещено25 de ������ de 2019 - 11:12
Update: Definitive Edition conditions have been added!
Ссылка | Ответить | Цитата
 [MM]Zix


Размещено16 de ������� de 2023 - 22:46
Update: Community Patch v1.6 conditions have been added!


Ссылка | Ответить | Цитата
[1]
Показано 1 - 4 из of 4 посты
Быстрый пееход:
1Пользователи(-ли)читают эту тему (За последние 30 минут)
0члены,1гости

What's popular right now: