changed code for the new flamersounds

changed flashcolor
This commit is contained in:
q3rally 2021-04-25 16:53:25 +00:00
parent 1e5faba528
commit 7df4038c2f
3 changed files with 21 additions and 7 deletions

View file

@ -711,9 +711,11 @@ void CG_RegisterWeapon( int weaponNum ) {
*/
case WP_FLAME_THROWER:
weaponInfo->missileSound = trap_S_RegisterSound( "sound/weapons/plasma/lasfly.wav", qfalse );
MAKERGB( weaponInfo->flashDlightColor, 0.6, 0.6, 1 );
weaponInfo->flashSound[0] = trap_S_RegisterSound( "sound/weapons/plasma/hyprbf1a.wav", qfalse );
weaponInfo->readySound = trap_S_RegisterSound( "sound/weapons/flamer/fl_hum.wav", qfalse );
weaponInfo->missileSound = trap_S_RegisterSound( "sound/weapons/flamer/fl_fly.wav", qfalse );
MAKERGB( weaponInfo->missileDlightColor, 1, 0.75f, 0 );
MAKERGB( weaponInfo->flashDlightColor, 1, 0.75f, 0 );
weaponInfo->flashSound[0] = trap_S_RegisterSound( "sound/weapons/flamer/fl_fire.wav", qfalse );
cgs.media.flameExplosionShader = trap_R_RegisterShader( "rocketExplosion" );
break;
// Q3Rally Code END

View file

@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack"
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.0.3.0_r378"
#define PRODUCT_VERSION "v0.0.3.0_r383"
#endif

View file

@ -866,9 +866,12 @@ q3rallycode
5=engine\code\cgame\cg_rally_hud2.c
6=engine\code\cgame\cg_draw.c
7=engine\code\cgame\cg_local.h
8=engine\code\game\g_weapon.c
9=engine\code\game\g_local.h
10=engine\code\cgame\cg_weapons.c
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
Selected=engine\code\cgame\cg_weapons.c
[engine\code\qcommon\q_shared.h]
TopLine=53
Caret=39,70
@ -882,10 +885,10 @@ Caret=1,492
TopLine=1390
Caret=1,1405
[engine\code\cgame\cg_rally_hud.c]
TopLine=930
TopLine=931
Caret=1,955
[engine\code\cgame\cg_rally_hud2.c]
TopLine=436
TopLine=361
Caret=19,361
[engine\code\cgame\cg_draw.c]
TopLine=1280
@ -893,3 +896,12 @@ Caret=1,1295
[engine\code\cgame\cg_local.h]
TopLine=1885
Caret=1,1900
[engine\code\game\g_weapon.c]
TopLine=128
Caret=16,146
[engine\code\game\g_local.h]
TopLine=637
Caret=1,652
[engine\code\cgame\cg_weapons.c]
TopLine=701
Caret=64,716