Detect game version with triggers

 [MM]Zix


Group: Standard Membership
Join Date: 28 July 2015
Posts:82
Edited 22 March 2019 - 9:31 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:

owrqyvuf3scdkpqwqbod4dm08jrq244o

Each detection uses just 1 condition:

7rhk876a5wooeqr053jdqmanwpxina9k

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" 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" 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.
Attachments:
Detect Patch and Mod.scx (file size: 1.02 KB)
Detect1.png (file size: 3.25 KB)
Detect2.png (file size: 10.49 KB)

Link | Reply | Quote
 [MM]Zix


Group: Standard Membership
Join Date: 28 July 2015
Posts:82
Edited 18 June 2019 - 3:28 pm by [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 2

All you need to do is just put a gaya 867 ID unit somewhere to the map (but not too close to the edge), and garrison it into itself, and copy the required trigger condition.


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

Most active threads in past week: