]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
(Commit created by redmine exporter script from page "Framegroups" version 1)
authormand1nga <mand1nga@xonotic.org>
Sun, 14 Mar 2010 04:28:00 +0000 (04:28 +0000)
committerRedmineExport <redmineexport@dev.xonotic.org>
Mon, 17 Nov 2014 17:53:33 +0000 (17:53 +0000)
Framegroups.textile [new file with mode: 0644]

diff --git a/Framegroups.textile b/Framegroups.textile
new file mode 100644 (file)
index 0000000..bb706d4
--- /dev/null
@@ -0,0 +1,24 @@
+h1. .framegroups
+
+This file is needed to make md3 or dpm model play some animations in Xonotic
+
+
+you name it <modelname.extension>.framegroups
+
+for model dog.dpm you will name it dog.dpm.framegroups
+
+inside you have definitions of animations
+each line is one animation
+
+syntax:
+<start frame> <frame count> <fps> <loop/noloop>
+
+for example 
+1 100 30 1 
+means 100 frame animation that start at frame 1, plays at 30 frames per second and it loops for ever :)
+
+if you make 1 looping animation and place model on map as misc_gamemodel it will be animated
+
+for coders:
+to play such self playing animation you just use self.frame=1 to play 1st animation, self.frame=2 to play 2nd animation, etc
+if its not looping it will just stop at last frame and stay there until you run other animation