Bonjour à tous
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
animation Ge
3 posts
Page 1 of 1
Re: animation Ge
Bonjour,
Vous avez ajouté les lignes dans le xml telles que copiées au dessus ? ? ?
Vous avez ajouté les lignes dans le xml telles que copiées au dessus ? ? ?
Re: animation Ge
Bonjour
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>
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>
3 posts
Page 1 of 1