Bonjour, Des maps proposées (People Holm v 1.5, Vosges v 4.3, Euro agricultural v 0.98.8.4) nécessitent l'ajout de "Animation Map Trigger" pour l'ouverture des portes des bâtiments et des grilles coulissantes. On trouve ce mod sur : http://www.modhoster.com/mods/animation-map-trigger...Le probème est qu'il faut l'inclure des lignes du fichier "Animation Map Trigger" dézippé au sein du fichier de la map...Il y a un Readme d'explication (en anglais et en allemand) dans le fichier dézippé, mais je ne comprends rien à la manoeuvre !
Voici le texte en anglais du Readme de AnimationMapTrigger intitulé: "Readme_Install_Notes"
Read it slow and comprehend whats written! no new guide will be written!
--------------------------------------------------
Before Starting!
--------------------------------------------------
0.0. I won't go into detail how to setup every little feature but I will explain what you can do with the "AnimationMap.xml"
0.1. The "AnimationMap.xml" is not needed to work if you intend to use the default features available with the AnimationMapTrigger mod. Skip to 5.0.
--------------------------------------------------
Moving File
--------------------------------------------------
1.1. Copy the file "AnimationMap.xml" to your root map folder.
1.2. Open your map lua file and place this line
self.AnimationMapConfig = {"AnimationMap.xml", self.baseDirectory};
after this line
self.vehicleShopBase = nil;
1.3. This part is an notice message that's printed in log if the AnimationMapTrigger mod is not in mods folder. In your map lua file, place this line
if _G["AnimationMapTrigger"] == nil then print(" AnimationMapTrigger - Notice: The mod AnimationMapTrigger is missing from your mods folder, get your copy at http://vertexdezign.net/"); end;
after this line
self:finishLoadingTask();
--------------------------------------------------
Explaining What You Can DO With "AnimationMap.xml"
--------------------------------------------------
-- Debug --
2.1. Uncomment this part
<Config debug="true" />
Will enable various information on what's being loaded etc and is printed in log file.
-- Global Text --
3.0. The reason why this is here is because as it works now then all texts that "negText and "posText" use must be located in the modDesc file of AnimationMapTrigger.zip, this feature makes it possible to still use text if they are added to these xml tags I will show you below.
3.1. To add new l10n text, you simple add them to you maps modDesc file and add the name of that I10n into the "AnimationMap.xml" like following
AnimationMap.xml:
<GlobalTexts>
<text name="CLOSE_GATE" />
</GlobalTexts>
modDesc:
<text name="CLOSE_GATE" >
<en>close gate</en>
<de>Weidetor schließen</de>
</text>
3.2. You can now use the text defined with the userAttributes "negText and "posText".
-- Custom Trigger Hud --
4.0. Show your unique hud when trigger can be activated.
4.1. Add an new hud by giving it an unique name if this is not done then the last added hud with that name will be used.
4.2. To use this new hud in trigger, add the unique name to the "hudOverlayName" userAttribute.
Note: Your new hud shall be placed in your map direction.
--------------------------------------------------
CollisionMask
--------------------------------------------------
Only Player controlled: Bit 20, CollisionMask: 100000
Only vehicle controlled: Bit 21-24 and 26, CollisionMask: 5e00000
Player and vehicle controlled: Bit 20-24 and 26, CollisionMask: 5f00000
--------------------------------------------------
Notes
--------------------------------------------------
Note 1: AnimationNode
The first child of the trigger must be an node that has an animation!
Note 2: open/close hours
Setting openTime and closeTime to 0 will disable this feature all together.
Note 3: No editing to the AnimationMapTrigger.zip is needed!
Note 4: There are a few pre set triggers included, look in the folder "Different_Trigger_Settings".
Note 5: "OPEN_DOOR", "CLOSE_DOOR", "OPEN_GATE", "CLOSE_GATE", "OPEN_WINDOW" and "CLOSE_WINDOW" are pre set and can be used with the userAttributes "negText and "posText".
Si quelqu'un a déja eu l'occasion d'installer le mod AnimationMapTrigger dans une mod map, ou peut me dire en gros comment procéder après lecture du readme (que je ne comprends pas plus que le chinois)...Cette personne que je remercie d'avance, me rendrait un grand service. tuotou2