r4980 - in trunk/data: . qcsrc/server sound/weapons

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Nov 4 07:37:11 EST 2008


Author: div0
Date: 2008-11-04 07:37:10 -0500 (Tue, 04 Nov 2008)
New Revision: 4980

Added:
   trunk/data/sound/weapons/crylink_fire2.ogg
   trunk/data/sound/weapons/crylink_impact.ogg
   trunk/data/sound/weapons/crylink_impact2.ogg
   trunk/data/sound/weapons/flac_fire.ogg
   trunk/data/sound/weapons/flacexp1.ogg
   trunk/data/sound/weapons/flacexp2.ogg
   trunk/data/sound/weapons/flacexp3.ogg
   trunk/data/sound/weapons/seeker_fire.ogg
   trunk/data/sound/weapons/seekerexp1.ogg
   trunk/data/sound/weapons/seekerexp2.ogg
   trunk/data/sound/weapons/seekerexp3.ogg
   trunk/data/sound/weapons/tag_fire.ogg
   trunk/data/sound/weapons/tag_impact.ogg
   trunk/data/sound/weapons/tag_rocket_fly.ogg
   trunk/data/sound/weapons/tagexp1.ogg
   trunk/data/sound/weapons/tagexp2.ogg
   trunk/data/sound/weapons/tagexp3.ogg
Modified:
   trunk/data/build-compat-pack.sh
   trunk/data/qcsrc/server/w_crylink.qc
   trunk/data/qcsrc/server/w_seeker.qc
Log:
support for more weapon sounds


Modified: trunk/data/build-compat-pack.sh
===================================================================
--- trunk/data/build-compat-pack.sh	2008-11-04 12:25:14 UTC (rev 4979)
+++ trunk/data/build-compat-pack.sh	2008-11-04 12:37:10 UTC (rev 4980)
@@ -463,6 +463,23 @@
 	textures/portalgun_glow.tga
 	textures/portalgun_norm.tga
 	textures/portalgun.tga
+	sound/weapons/crylink_impact.wav
+	sound/weapons/crylink_impact2.wav
+	sound/weapons/crylink_fire2.wav
+	sound/weapons/tag_fire.wav
+	sound/weapons/tag_impact.wav
+	sound/weapons/tagexp1.wav
+	sound/weapons/tagexp2.wav
+	sound/weapons/tagexp3.wav
+	sound/weapons/tag_rocket_fly.wav
+	sound/weapons/flac_fire.wav
+	sound/weapons/flacexp1.wav
+	sound/weapons/flacexp2.wav
+	sound/weapons/flacexp3.wav
+	sound/weapons/seeker_fire.wav
+	sound/weapons/seekerexp1.wav
+	sound/weapons/seekerexp2.wav
+	sound/weapons/seekerexp3.wav
 "
 
 rev=`svnversion`

Modified: trunk/data/qcsrc/server/w_crylink.qc
===================================================================
--- trunk/data/qcsrc/server/w_crylink.qc	2008-11-04 12:25:14 UTC (rev 4979)
+++ trunk/data/qcsrc/server/w_crylink.qc	2008-11-04 12:37:10 UTC (rev 4980)
@@ -8,6 +8,7 @@
 	float finalhit;
 	float f;
 	PROJECTILE_TOUCH;
+	sound (self, CHAN_PROJECTILE, "weapons/cryplink_impact.wav", VOL_BASE, ATTN_NORM);
 	pointparticles(particleeffectnum("crylink_impactbig"), self.origin, '0 0 0', 1);
 	finalhit = ((self.cnt <= 0) || (other.takedamage != DAMAGE_NO));
 	if(finalhit)
@@ -34,6 +35,7 @@
 	float finalhit;
 	float f;
 	PROJECTILE_TOUCH;
+	sound (self, CHAN_PROJECTILE, "weapons/cryplink_impact2.wav", VOL_BASE, ATTN_NORM);
 	pointparticles(particleeffectnum("crylink_impact"), self.origin, '0 0 0', 1);
 	finalhit = ((self.cnt <= 0) || (other.takedamage != DAMAGE_NO));
 	if(finalhit)
@@ -129,7 +131,7 @@
 	if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
 		self.ammo_cells = self.ammo_cells - cvar("g_balance_crylink_secondary_ammo");
 
-	W_SetupShot (self, '25 8 -8', FALSE, 2, "weapons/crylink_fire.wav");
+	W_SetupShot (self, '25 8 -8', FALSE, 2, "weapons/crylink_fire2.wav");
 
 	shots = cvar("g_balance_crylink_secondary_shots");
 	pointparticles(particleeffectnum("crylink_muzzleflash"), w_shotorg, w_shotdir * 1000, shots);
@@ -228,6 +230,9 @@
 		precache_model ("models/weapons/v_crylink.md3");
 		precache_model ("models/weapons/w_crylink.zym");
 		precache_sound ("weapons/crylink_fire.wav");
+		precache_sound ("weapons/crylink_fire2.wav");
+		precache_sound ("weapons/crylink_impact.wav");
+		precache_sound ("weapons/crylink_impact2.wav");
 	}
 	else if (req == WR_SETUP)
 		weapon_setup(WEP_CRYLINK);

Modified: trunk/data/qcsrc/server/w_seeker.qc
===================================================================
--- trunk/data/qcsrc/server/w_seeker.qc	2008-11-04 12:25:14 UTC (rev 4979)
+++ trunk/data/qcsrc/server/w_seeker.qc	2008-11-04 12:37:10 UTC (rev 4980)
@@ -11,11 +11,11 @@
 
 	b = crandom();
 	if (b<-0.7)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp1.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/seekerexp1.wav", 1, ATTN_NORM);
 	else if (b<0.4)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp2.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/seekerexp2.wav", 1, ATTN_NORM);
 	else if (b<1)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp3.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/seekerexp3.wav", 1, ATTN_NORM);
 
 	self.event_damage = SUB_Null;
 	RadiusDamage (self, self.owner, cvar("g_balance_seeker_missile_damage"), cvar("g_balance_seeker_missile_edgedamage"), cvar("g_balance_seeker_missile_radius"), world, cvar("g_balance_seeker_missile_force"), self.projectiledeathtype, other);
@@ -171,7 +171,7 @@
 		self.ammo_rockets = self.ammo_rockets - cvar("g_balance_seeker_missile_ammo");
 
 	makevectors(self.v_angle);
-	W_SetupShot (self, f_org, FALSE, 2, "weapons/hagar_fire.wav");
+	W_SetupShot (self, f_org, FALSE, 2, "weapons/seeker_fire.wav");
 	pointparticles(particleeffectnum("seeker_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 
 	//self.detornator         = FALSE;
@@ -279,11 +279,11 @@
 
 	b = crandom();
 	if (b<-0.7)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp1.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/tagexp1.wav", 1, ATTN_NORM);
 	else if (b<0.4)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp2.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/tagexp2.wav", 1, ATTN_NORM);
 	else if (b<1)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp3.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/tagexp3.wav", 1, ATTN_NORM);
 
 	remove (self);
 }
@@ -307,7 +307,7 @@
 	te_knightspike(org2);
 
 	self.event_damage = SUB_Null;
-	sound (self, CHAN_PROJECTILE, "weapons/laserimpact.wav", 1, ATTN_NORM);
+	sound (self, CHAN_PROJECTILE, "weapons/tagimpact.wav", 1, ATTN_NORM);
 
 	if (other.takedamage == DAMAGE_AIM && other.deadflag == DEAD_NO)
 	{
@@ -338,7 +338,7 @@
 	if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
 		self.ammo_rockets = self.ammo_rockets - cvar("g_balance_seeker_tag_ammo");
 
-	W_SetupShot (self, '56 13 -15', FALSE, 2, "weapons/hagar_fire.wav");
+	W_SetupShot (self, '56 13 -15', FALSE, 2, "weapons/tag_fire.wav");
 
 	missile                 = spawn();
 	missile.owner           = self;
@@ -381,11 +381,11 @@
 
 	b = crandom();
 	if (b<-0.7)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp1.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/flacexp1.wav", 1, ATTN_NORM);
 	else if (b<0.4)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp2.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/flacexp2.wav", 1, ATTN_NORM);
 	else if (b<1)
-		sound (self, CHAN_PROJECTILE, "weapons/hagexp3.wav", 1, ATTN_NORM);
+		sound (self, CHAN_PROJECTILE, "weapons/flacexp3.wav", 1, ATTN_NORM);
 
 	self.event_damage = SUB_Null;
 
@@ -427,7 +427,7 @@
 			f_org = '40 9.5 -29';
 			break;
 	}
-	W_SetupShot (self, f_org, FALSE, 2, "weapons/hagar_fire.wav");
+	W_SetupShot (self, f_org, FALSE, 2, "weapons/flac_fire.wav");
 
 		pointparticles(particleeffectnum("hagar_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 
@@ -495,12 +495,20 @@
 		precache_model ("models/weapons/g_seeker.md3");
 		precache_model ("models/weapons/v_seeker.md3");
 		precache_model ("models/weapons/w_seeker.zym");
-		precache_sound ("weapons/hagar_fire.wav");
-		precache_sound ("weapons/hagexp1.wav");
-		precache_sound ("weapons/hagexp2.wav");
-		precache_sound ("weapons/hagexp3.wav");
-		precache_sound ("weapons/laserimpact.wav");
+		precache_sound ("weapons/tag_fire.wav");
+		precache_sound ("weapons/tag_impact.wav");
+		precache_sound ("weapons/tagexp1.wav");
+		precache_sound ("weapons/tagexp2.wav");
+		precache_sound ("weapons/tagexp3.wav");
 		precache_sound ("weapons/tag_rocket_fly.wav");
+		precache_sound ("weapons/flac_fire.wav");
+		precache_sound ("weapons/flacexp1.wav");
+		precache_sound ("weapons/flacexp2.wav");
+		precache_sound ("weapons/flacexp3.wav");
+		precache_sound ("weapons/seeker_fire.wav");
+		precache_sound ("weapons/seekerexp1.wav");
+		precache_sound ("weapons/seekerexp2.wav");
+		precache_sound ("weapons/seekerexp3.wav");
 	}
 	else if (req == WR_SETUP)
 		weapon_setup(WEP_SEEKER);

Added: trunk/data/sound/weapons/crylink_fire2.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/crylink_fire2.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/crylink_impact.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/crylink_impact.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/crylink_impact2.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/crylink_impact2.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/flac_fire.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/flac_fire.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/flacexp1.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/flacexp1.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/flacexp2.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/flacexp2.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/flacexp3.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/flacexp3.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/seeker_fire.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/seeker_fire.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/seekerexp1.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/seekerexp1.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/seekerexp2.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/seekerexp2.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/seekerexp3.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/seekerexp3.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tag_fire.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tag_fire.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tag_impact.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tag_impact.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tag_rocket_fly.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tag_rocket_fly.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tagexp1.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tagexp1.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tagexp2.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tagexp2.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/data/sound/weapons/tagexp3.ogg
===================================================================
(Binary files differ)


Property changes on: trunk/data/sound/weapons/tagexp3.ogg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the nexuiz-commits mailing list