Detect game version with triggers

 [MM]Zix


Editiert 5. November 2023 - 17:28 von [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.
Anhänge:
Detect Patch and Mod.scx (Datei-Größe: 1.3 KB)
Detect Patch and Mod.png (Datei-Größe: 11.53 KB)

Link | Antworten | Zitieren
 [MM]Zix


Editiert 9. Juli 2019 - 17:21 von [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.
Link | Antworten | Zitieren
 [MM]Zix


Geschrieben 25. November 2019 - 11:12
Update: Definitive Edition conditions have been added!
Link | Antworten | Zitieren
 [MM]Zix


Geschrieben 16. Oktober 2023 - 22:46
Update: Community Patch v1.6 conditions have been added!


Link | Antworten | Zitieren
[1]
Zeigt an 1 - 4 de 4 Beiträge
Springe zu Forum:
3 User sind betrachten gerade diesen Eintrag (on den letzten 30 Minuten)
0 Mitgleider, 3 Gäste