Detect game version with triggers

 [MM]Zix


Đã được sửa5 Tháng 11 2023 - 5:28 pm bởi[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.
Attachments:
Detect Patch and Mod.scx (file size: 1.3 KB)
Detect Patch and Mod.png (file size: 11.53 KB)

Đường dẫn | Trả lời | Trích dẫn
 [MM]Zix


Đã được sửa9 Tháng 7 2019 - 5:21 pm bởi[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.
Đường dẫn | Trả lời | Trích dẫn
 [MM]Zix


đã Post25 Tháng 11 2019 - 11:12 am
Update: Definitive Edition conditions have been added!
Đường dẫn | Trả lời | Trích dẫn
 [MM]Zix


đã Post16 Tháng 10 2023 - 10:46 pm
Update: Community Patch v1.6 conditions have been added!


Đường dẫn | Trả lời | Trích dẫn
[1]
Hiển thị 1 - 4 ngoài 4 Bài viết
Nhảy Forum
2 User(s) làđọc chủ đề này 30 phút vừa qua
0Thành viên2 Khách