animation Ge

User avatar
Montpel31
Posts: 38
Joined: Sat Oct 29, 2016 12:04 pm

animation Ge

Post by Montpel31 »

Bonjour à tous :hi:

J'ai téléchargé un mod prefab sur le site officiel un pack de barrières Fixées (Desperados93):
http://www.farming-simulator.com/mod.ph ... tle=fs2017
J'ai voulu l'animer mais je ni parviens pas! J'ai inséré dans ma map le xml animatedObjects et y ai ajouté les lignes suivantes:
<animatedObject index="Holzschranke">
<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATEDOOR" negText="input_ANIMATED_OBJECT_CLOSE_GATEDOOR" />
<sound file="maps/sounds/OpenGateDoorSound.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
<animation initialTime="0" duration="3">
<part node="1"> <!--index of Door node-->
<keyFrame time="0" rotation="0 0 0" />
<keyFrame time="1" rotation="0 0 -72.091" />
</part>
</animation>
</animatedObject>

Ca ne marche pas j'ai cherché mais je ne trouve pas la solution est ce-que quequ'un peu m'aider?
Merci
User avatar
fozzy691
Moderator
Posts: 3563
Joined: Mon Nov 05, 2012 11:01 am

Re: animation Ge

Post by fozzy691 »

Bonjour,

Vous avez ajouté les lignes dans le xml telles que copiées au dessus ? ? ?
User avatar
Montpel31
Posts: 38
Joined: Sat Oct 29, 2016 12:04 pm

Re: animation Ge

Post by Montpel31 »

Bonjour :hi:
Il y a dans le fichier texte animatedObjects:


<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<animatedObjects>
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<animatedObject index="Holzschranke">
<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATEDOOR" negText="input_ANIMATED_OBJECT_CLOSE_GATEDOOR" />
<sound file="maps/sounds/OpenGateDoorSound.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
<animation initialTime="0" duration="3">
<part node="1"> <!--index of Door node-->
<keyFrame time="0" rotation="0 0 0" />
<keyFrame time="1" rotation="0 0 -72.091" />
</part>
</animation>
</animatedObject>
</animatedObjects>
Post Reply