]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove commented out legacy keyframe information from monster codefiles and update...
authorMario <mario.mario@y7mail.com>
Thu, 2 Jun 2022 01:03:13 +0000 (11:03 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 2 Jun 2022 01:03:13 +0000 (11:03 +1000)
20 files changed:
models/monsters/dragon.dpm [deleted file]
models/monsters/dragon.dpm.framegroups [deleted file]
models/monsters/wyvern.dpm [new file with mode: 0644]
models/monsters/wyvern.dpm.framegroups [new file with mode: 0644]
monsters.cfg
qcsrc/client/weapons/projectile.qc
qcsrc/common/monsters/monster/golem.qc
qcsrc/common/monsters/monster/mage.qc
qcsrc/common/monsters/monster/spider.qc
qcsrc/common/monsters/monster/wyvern.qc
qcsrc/common/monsters/monster/wyvern.qh
qcsrc/common/monsters/monster/zombie.qc
textures/monsters/Dragon.tga [deleted file]
textures/monsters/Dragon_Norm.tga [deleted file]
textures/monsters/Dragon_Shirt.tga [deleted file]
textures/monsters/Dragon_Spec.tga [deleted file]
textures/wyvern.tga [new file with mode: 0644]
textures/wyvern_gloss.tga [new file with mode: 0644]
textures/wyvern_norm.tga [new file with mode: 0644]
textures/wyvern_shirt.tga [new file with mode: 0644]

diff --git a/models/monsters/dragon.dpm b/models/monsters/dragon.dpm
deleted file mode 100644 (file)
index bbab196..0000000
Binary files a/models/monsters/dragon.dpm and /dev/null differ
diff --git a/models/monsters/dragon.dpm.framegroups b/models/monsters/dragon.dpm.framegroups
deleted file mode 100644 (file)
index 016c89e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
-Generated framegroups file for Dragon
-Used by DarkPlaces to simulate frame groups in DPM models.
-*/
-
-1 101 30 1 // dragon idle
-102 101 30 1 // dragon glide
-203 101 30 1 // dragon fly
-304 26 30 0 // dragon pain1
-330 26 30 0 // dragon pain2
-356 51 30 0 // dragon melee
-407 51 30 0 // dragon fireball
-458 101 30 1 // dragon dying
-559 26 30 0 // dragon dead
diff --git a/models/monsters/wyvern.dpm b/models/monsters/wyvern.dpm
new file mode 100644 (file)
index 0000000..3d2bab7
Binary files /dev/null and b/models/monsters/wyvern.dpm differ
diff --git a/models/monsters/wyvern.dpm.framegroups b/models/monsters/wyvern.dpm.framegroups
new file mode 100644 (file)
index 0000000..0791d6f
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+Generated framegroups file for wyvern
+Used by DarkPlaces to simulate frame groups in DPM models.
+*/
+
+1 101 30 1 // wyvern idle
+102 101 30 1 // wyvern glide
+203 101 30 1 // wyvern fly
+304 26 30 0 // wyvern pain1
+330 26 30 0 // wyvern pain2
+356 51 30 0 // wyvern melee
+407 51 30 0 // wyvern fireball
+458 101 30 1 // wyvern dying
+559 26 30 0 // wyvern dead
index 3727463491366b1ba8fcf59636e3cabb3f6a55d3..355b497a75e73b78b2fef2a584c7725365987b3e 100644 (file)
@@ -68,7 +68,7 @@ set g_monster_wyvern_speed_run 250
 set g_monster_wyvern_speed_stop 300
 set g_monster_wyvern_speed_walk 120
 // }}}
-// {{{ #5: Shambler
+// {{{ #5: Golem
 set g_monster_golem_attack_claw_damage 60
 set g_monster_golem_attack_lightning_damage 25
 set g_monster_golem_attack_lightning_damage_zap 15
index 604799ca7850cd9cd6695b79e11550639eeb105f..b4c9f86b2c5f75419196370653e728a59ad9f981 100644 (file)
@@ -317,7 +317,7 @@ NET_HANDLE(ENT_CLIENT_PROJECTILE, bool isnew)
                        HANDLE(SEEKER)             this.traileffect = EFFECT_SEEKER_TRAIL.m_id; break;
 
                        HANDLE(MAGE_SPIKE)         this.traileffect = EFFECT_TR_VORESPIKE.m_id; break;
-                       HANDLE(GOLEM_LIGHTNING) this.traileffect = EFFECT_TR_NEXUIZPLASMA.m_id; break;
+                       HANDLE(GOLEM_LIGHTNING)    this.traileffect = EFFECT_TR_NEXUIZPLASMA.m_id; break;
 
                        HANDLE(RAPTORBOMB)         this.gravity = 1; this.avelocity = '0 0 180'; this.traileffect = EFFECT_Null.m_id; break;
                        HANDLE(RAPTORBOMBLET)      this.gravity = 1; this.avelocity = '0 0 180'; this.traileffect = EFFECT_Null.m_id; break;
index a9d9224dad59a66958caf4dd9ebdaa001138e405..8762dd9e4253ce2a28e5792a82cc67f0331ccaeb 100644 (file)
@@ -18,18 +18,6 @@ float autocvar_g_monster_golem_speed_stop;
 float autocvar_g_monster_golem_speed_run;
 float autocvar_g_monster_golem_speed_walk;
 
-/*
-const float golem_anim_stand           = 0;
-const float golem_anim_walk            = 1;
-const float golem_anim_run             = 2;
-const float golem_anim_smash           = 3;
-const float golem_anim_swingr  = 4;
-const float golem_anim_swingl  = 5;
-const float golem_anim_magic           = 6;
-const float golem_anim_pain            = 7;
-const float golem_anim_death           = 8;
-*/
-
 .float golem_lastattack; // delay attacks separately
 
 void M_Golem_Attack_Smash(entity this)
index f307b8aa1da4d0972bc6c0ca38fe60db39b641c4..ccdc0223f4c07d557f0b91920df1c9d16c36da6a 100644 (file)
@@ -75,15 +75,6 @@ float autocvar_g_monster_mage_speed_stop;
 float autocvar_g_monster_mage_speed_run;
 float autocvar_g_monster_mage_speed_walk;
 
-/*
-const float mage_anim_idle             = 0;
-const float mage_anim_walk             = 1;
-const float mage_anim_attack   = 2;
-const float mage_anim_pain             = 3;
-const float mage_anim_death            = 4;
-const float mage_anim_run              = 5;
-*/
-
 void M_Mage_Defend_Heal(entity this);
 void M_Mage_Defend_Shield(entity this);
 
index 90b1d3218a46b6474035cee00865b19ac75f3ce0..dafe36d591881aa35e114a936d3aa83caa907ded 100644 (file)
@@ -81,13 +81,6 @@ float autocvar_g_monster_spider_speed_stop;
 float autocvar_g_monster_spider_speed_run;
 float autocvar_g_monster_spider_speed_walk;
 
-/*
-const float spider_anim_idle           = 0;
-const float spider_anim_walk           = 1;
-const float spider_anim_attack         = 2;
-const float spider_anim_attack2                = 3;
-*/
-
 void M_Spider_Attack_Web_Explode(entity this)
 {
        if(this)
index 450aa2df3d4393a2ad5c24c78f13451ac74af405..783c2fd34a4127fe07ce3733976c9ae89f1c279e 100644 (file)
@@ -57,14 +57,6 @@ float autocvar_g_monster_wyvern_speed_stop;
 float autocvar_g_monster_wyvern_speed_run;
 float autocvar_g_monster_wyvern_speed_walk;
 
-/*
-const float wyvern_anim_hover  = 0;
-const float wyvern_anim_fly            = 1;
-const float wyvern_anim_magic  = 2;
-const float wyvern_anim_pain   = 3;
-const float wyvern_anim_death  = 4;
-*/
-
 void M_Wyvern_Attack_Fireball_Explode(entity this)
 {
        Send_Effect(EFFECT_FIREBALL_EXPLODE, this.origin, '0 0 0', 1);
index 026e5038a44dffe9cc593f80d9202c2ef09a2d75..ed89b9785daa98f3802b060a7b880186326a9fb1 100644 (file)
@@ -3,7 +3,7 @@
 #include "../all.qh"
 
 #ifdef GAMEQC
-MODEL(MON_WYVERN, M_Model("dragon.dpm"));
+MODEL(MON_WYVERN, M_Model("wyvern.dpm"));
 #endif
 
 CLASS(Wyvern, Monster)
index 551a9b42a414f90bb75fd28ef4c28a9b49eee546..4cb4427706462f3a981e38781d07bac1ff51ca57 100644 (file)
@@ -13,40 +13,6 @@ float autocvar_g_monster_zombie_speed_stop;
 float autocvar_g_monster_zombie_speed_run;
 float autocvar_g_monster_zombie_speed_walk;
 
-/*
-const float zombie_anim_attackleap                     = 0;
-const float zombie_anim_attackrun1                     = 1;
-const float zombie_anim_attackrun2                     = 2;
-const float zombie_anim_attackrun3                     = 3;
-const float zombie_anim_attackstanding1                = 4;
-const float zombie_anim_attackstanding2                = 5;
-const float zombie_anim_attackstanding3                = 6;
-const float zombie_anim_blockend                       = 7;
-const float zombie_anim_blockstart                     = 8;
-const float zombie_anim_deathback1                     = 9;
-const float zombie_anim_deathback2                     = 10;
-const float zombie_anim_deathback3                     = 11;
-const float zombie_anim_deathfront1                    = 12;
-const float zombie_anim_deathfront2                    = 13;
-const float zombie_anim_deathfront3                    = 14;
-const float zombie_anim_deathleft1                     = 15;
-const float zombie_anim_deathleft2                     = 16;
-const float zombie_anim_deathright1                    = 17;
-const float zombie_anim_deathright2                    = 18;
-const float zombie_anim_idle                           = 19;
-const float zombie_anim_painback1                      = 20;
-const float zombie_anim_painback2                      = 21;
-const float zombie_anim_painfront1                     = 22;
-const float zombie_anim_painfront2                     = 23;
-const float zombie_anim_runbackwards           = 24;
-const float zombie_anim_runbackwardsleft       = 25;
-const float zombie_anim_runbackwardsright      = 26;
-const float zombie_anim_runforward                     = 27;
-const float zombie_anim_runforwardleft         = 28;
-const float zombie_anim_runforwardright                = 29;
-const float zombie_anim_spawn                          = 30;
-*/
-
 .vector moveto;
 
 void M_Zombie_Attack_Leap_Touch(entity this, entity toucher)
diff --git a/textures/monsters/Dragon.tga b/textures/monsters/Dragon.tga
deleted file mode 100644 (file)
index 69bc82f..0000000
Binary files a/textures/monsters/Dragon.tga and /dev/null differ
diff --git a/textures/monsters/Dragon_Norm.tga b/textures/monsters/Dragon_Norm.tga
deleted file mode 100644 (file)
index 3f749b1..0000000
Binary files a/textures/monsters/Dragon_Norm.tga and /dev/null differ
diff --git a/textures/monsters/Dragon_Shirt.tga b/textures/monsters/Dragon_Shirt.tga
deleted file mode 100644 (file)
index 5cdb81b..0000000
Binary files a/textures/monsters/Dragon_Shirt.tga and /dev/null differ
diff --git a/textures/monsters/Dragon_Spec.tga b/textures/monsters/Dragon_Spec.tga
deleted file mode 100644 (file)
index 60cafa4..0000000
Binary files a/textures/monsters/Dragon_Spec.tga and /dev/null differ
diff --git a/textures/wyvern.tga b/textures/wyvern.tga
new file mode 100644 (file)
index 0000000..69bc82f
Binary files /dev/null and b/textures/wyvern.tga differ
diff --git a/textures/wyvern_gloss.tga b/textures/wyvern_gloss.tga
new file mode 100644 (file)
index 0000000..60cafa4
Binary files /dev/null and b/textures/wyvern_gloss.tga differ
diff --git a/textures/wyvern_norm.tga b/textures/wyvern_norm.tga
new file mode 100644 (file)
index 0000000..3f749b1
Binary files /dev/null and b/textures/wyvern_norm.tga differ
diff --git a/textures/wyvern_shirt.tga b/textures/wyvern_shirt.tga
new file mode 100644 (file)
index 0000000..5cdb81b
Binary files /dev/null and b/textures/wyvern_shirt.tga differ