]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
I remade first person laser animations and its now centered when player wants it
authorMorphed <morphed@o2.pl>
Fri, 2 Mar 2012 20:21:24 +0000 (21:21 +0100)
committerMorphed <morphed@o2.pl>
Fri, 2 Mar 2012 20:21:24 +0000 (21:21 +0100)
models/weapons/h_laser.iqm
models/weapons/h_laser.iqm.framegroups
scripts/weapons.shader

index 25fefcaf8ad7432276980e682247763ade0d8853..f2ef53637e1a6ea169a0c237c626776f4dabf689 100644 (file)
Binary files a/models/weapons/h_laser.iqm and b/models/weapons/h_laser.iqm differ
index 0a59625b6a6aa297525c008a66ba879537a5ac08..5b1ac992e421d1f691e74b1efd5bf879dd47e1a0 100644 (file)
@@ -1,4 +1,10 @@
-1 8 20 0 // fire
-9 5 20 0 // fire2
-15 200 20 1 // idle
-215 40 20 0 // reload
+/*
+Generated framegroups file for h_laser
+Used by DarkPlaces to simulate frame groups in DPM models.
+*/
+
+1 16 30 0 // h_laser mgafire
+17 16 30 0 // h_laser mgafire
+33 101 5 1 // h_laser mgaidle
+134 61 30 1 // h_laser mgareload
+195 61 30 1 // h_laser mgamelee
index 5a2532e6408eece8229a61845602b289da8f2212..dfbbd5e8af8ad13cf5f7e85f255b56edb2b5c566 100644 (file)
@@ -65,6 +65,16 @@ rl
 models/weapons/laser
 {
        dpreflectcube cubemaps/default/sky
+    dpoffsetmapping - 0.25 match8 128
+       {
+               map models/weapons/laser.tga
+               rgbgen lightingDiffuse
+       }
+}
+laser
+{
+       dpreflectcube cubemaps/default/sky
+       dpoffsetmapping - 0.25 match8 128
        {
                map models/weapons/laser.tga
                rgbgen lightingDiffuse