Detect game version with triggers


Join Date: 28 July 2015
Edited 25 November 2019 - 1:37 pm by [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 an example map, which can detect these game version combinations:


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 HD or DE" need to be added to prevent gamecrash.

-If you want to display Advanced Statistics, use "1.4 or 1.5" 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" condition, because these game versions use different effect IDs to set unit speed.

-To use an UP-effect, add condition "1.5", because on other versions, the players would get an useless UP-effect message.
Detect Patch and Mod.scx (file size: 1.12 KB)
Detect Patch and Mod.PNG (file size: 8.84 KB)

Link | Reply | Quote

Join Date: 28 July 2015
Edited 9 July 2019 - 5:21 pm by [MM]Zix
With the new version, you can also detect the game mod too, including the following ones:

-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.
Link | Reply | Quote

Join Date: 28 July 2015
Posted 25 November 2019 - 11:12 am
Update: Definitive Edition conditions have been added!

Link | Reply | Quote
Displaying 1 - 3 out of 3 posts
Forum Jump:
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests

Geçen haftaki en aktif konular: