Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 16, 2024 4:41 pm
All times are UTC + 0
AnimationMode question
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 25, 2013 1:31 am    Post subject:  AnimationMode question
Subject description: Solved!
Reply with quote  Mark this post and the followings unread

The 'AnimationMode' attribute that is a child of the 'Animation' element has a number of strings that give animation playback instructions such has 'LOOP', 'MANUAL' and 'ONCE'.

The ScriptedModelDraw.xsd has the info: <xs:attribute name="AnimationMode" type="xs:string" />. I want to know where those command strings are located so I can see the full list of them, does anyone know where they are?

Last edited by Madin on Wed Sep 25, 2013 9:39 pm; edited 1 time in total

Back to top
View user's profile Send private message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 25, 2013 2:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nowhere. However, here is the definition from RA3 and I think the same modes can be used in TW, too.

Code:
<!-- Animation mode describing automatic advancement of animation position -->
<xs:simpleType name="AnimationMode"
   xas:useEnumPrefix="false"
   xas:enumItemPrefix="ANIM_MODE_"
   xas:targetNamespace="Sage::Render">
   <xs:restriction base="xs:string">
      <xs:enumeration value="MANUAL" /> <!-- Don't update animation automatically -->
      <xs:enumeration value="LOOP" /> <!-- Play animation to end and start over -->
      <xs:enumeration value="ONCE" /> <!-- Play animation once to the end -->
      <xs:enumeration value="LOOP_BACKWARDS" /> <!-- Play animation backwards to start and repeat from the end -->
      <xs:enumeration value="ONCE_BACKWARDS" /> <!-- Play animation once backwards to start -->
      <xs:enumeration value="LOOP_PINGPONG" /> <!-- Play forwards to the end and reverse to the start -->
      <xs:enumeration value="PLAY_TO_FRAME" /> <!-- Play to a given frame from the current frame -->
      <xs:enumeration value="MATCH_UNPACKING" /> <!-- Frames are specifically set based on a buildings % of completion -->
   </xs:restriction>
</xs:simpleType>

_________________

Back to top
View user's profile Send private message Visit poster's website
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 25, 2013 4:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
Nowhere. However, here is the definition from RA3 and I think the same modes can be used in TW, too.

Code:
<!-- Animation mode describing automatic advancement of animation position -->
<xs:simpleType name="AnimationMode"
   xas:useEnumPrefix="false"
   xas:enumItemPrefix="ANIM_MODE_"
   xas:targetNamespace="Sage::Render">
   <xs:restriction base="xs:string">
      <xs:enumeration value="MANUAL" /> <!-- Don't update animation automatically -->
      <xs:enumeration value="LOOP" /> <!-- Play animation to end and start over -->
      <xs:enumeration value="ONCE" /> <!-- Play animation once to the end -->
      <xs:enumeration value="LOOP_BACKWARDS" /> <!-- Play animation backwards to start and repeat from the end -->
      <xs:enumeration value="ONCE_BACKWARDS" /> <!-- Play animation once backwards to start -->
      <xs:enumeration value="LOOP_PINGPONG" /> <!-- Play forwards to the end and reverse to the start -->
      <xs:enumeration value="PLAY_TO_FRAME" /> <!-- Play to a given frame from the current frame -->
      <xs:enumeration value="MATCH_UNPACKING" /> <!-- Frames are specifically set based on a buildings % of completion -->
   </xs:restriction>
</xs:simpleType>


Thanks for the information!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1617s ][ Queries: 11 (0.0080s) ][ Debug on ]