weapon modding issues


(hell247) #1

hey, new here

im trying to change the fire rate of the weapons in wolf et, i got the source and that up and i can compile ok but when i run the mod in wolf et the fire rate is just the same and the only differences is that the weapons stutter. ive checked the bullets firing out and they are comming out at the same rate as normally…

my alterations:

ammotable_t ammoTableMP[WP_NUM_WEAPONS] = {
	//	MAX				USES	MAX		START	START  RELOAD	FIRE			NEXT	HEAT,	COOL,	MOD,	...
	//	AMMO			AMT.	CLIP	AMMO	CLIP	TIME	DELAY			SHOT
	{	999,			0,		0,		0,		0,		0,		50,				0,		0,		0,		0						},	// WP_NONE					// 0
	{	999,			0,		999,	0,		0,		0,		50,				50, 	0,		0,		MOD_KNIFE				},	// WP_KNIFE					// 1
	{	999,			0,		999,	24,		8,		1500,	50,				50, 	0,		0,		MOD_LUGER				},	// WP_LUGER					// 2	// NOTE: also 32 round 'snail' magazine
	{	999,			0,		999,	30,		30,		2400,	50,				50, 	0,		0,		MOD_MP40				},	// WP_MP40					// 3
	{	999,			0,		999,	0,		4,		1000,	50,				50, 	0,		0,		MOD_GRENADE_LAUNCHER	},	// WP_GRENADE_LAUNCHER		// 4
	{	999,			0,		999,	0,		4,		1000,	50,				50, 	0,		0,		MOD_PANZERFAUST			},	// WP_PANZERFAUST			// 5	// DHM - Nerve :: updated delay so prediction is correct
	{	999,			0,		999,	0,		200,	1000,	50,				50,		0,		0,		MOD_FLAMETHROWER		},	// WP_FLAMETHROWER			// 6
	{	999,			0,		999,	24,		8,		1500,	50,				50, 	0,		0,		MOD_COLT				},	// WP_COLT					// 7
	{	999,			0,		999,	30,		30,		2400,	50,				50, 	0,		0,		MOD_THOMPSON			},	// WP_THOMPSON				// 8
	{	999,			0,		999,	0,		4,		1000,	50,				50, 	0,		0,		MOD_GRENADE_PINEAPPLE	},	// WP_GRENADE_PINEAPPLE		// 9

	{	999,			0,		999,	32,		32,		3100,	50,				50, 	1200,	450,	MOD_STEN				},	// WP_STEN					// 10
	{	999,			0,		999,	0,		10,		1500,	50,				50, 	0,		0,		MOD_SYRINGE				},	// WP_MEDIC_SYRINGE			// 11
	{	999,			0,		999,	0,		0,		3000,	50,				50, 	0,		0,		MOD_AMMO,				},	// WP_AMMO					// 12
	{	999,			0,		999,	0,		1,		3000,	50,				50, 	0,		0,		MOD_ARTY,				},	// WP_ARTY					// 13												
	{	999,			0,		999,	24,		8,		1500,	50,				50, 	0,		0,		MOD_SILENCER			},	// WP_SILENCER				// 14
	{	999,			0,		999,	0,		0,		1000,	50,				50, 	0,		0,		MOD_DYNAMITE			},	// WP_DYNAMITE				// 15
	{	999,			0,		999,	0,		0,		0,		50,				0,		0,		0,		0						},	// WP_SMOKETRAIL			// 16
	{	999,			0,		999,	0,		0,		0,		50,				0,		0,		0,		0						},	// WP_MAPMORTAR				// 17
	{	999,			0,		999,	0,		0,		0,		50,				0,		0,		0,		0						},	// VERYBIGEXPLOSION			// 18
	{	999,			0,		999,	1,		1,		0,		50,				0,		0,		0,		0						},	// WP_MEDKIT				// 19

	{	999,			0,		999,	0,		0,		0,		50,				0,		0,		0,		0						},	// WP_BINOCULARS			// 20
	{	999,			0,		999,	0,		0,		0,		50,				0,		0,		0,		0						},	// WP_PLIERS				// 21
	{	999,			0,		999,	0,		1,		0,		50,				0,		0,		0,		MOD_AIRSTRIKE			},	// WP_SMOKE_MARKER			// 22
	{	999,			0,		999,	20,		10,		2500,	50,				50, 	0,		0,		MOD_KAR98				},	// WP_KAR98					// 23		K43
	{	999,			0,		999,	16,		8,		1500,	50,				50, 	0,		0,		MOD_CARBINE				},	// WP_CARBINE				// 24		GARAND
	{	999,			0,		999,	16,		8,		1500,	50,				50, 	0,		0,		MOD_GARAND				},	// WP_GARAND				// 25		GARAND
	{	999,			0,		999,	0,		1,		100,	50,				50, 	0,		0,		MOD_LANDMINE			},	// WP_LANDMINE				// 26
	{	999,			0,		999,	0,		0,		3000,	50,				50, 	0,		0,		MOD_SATCHEL				},	// WP_SATCHEL				// 27
	{	999,			0,		999,	0,		0,		3000,	50,		50, 	0,		0,		0,						},	// WP_SATCHEL_DET			// 28
	{	999,			0,		999,	0,		0,		2000,	50,				50, 	0,		0,		MOD_TRIPMINE			},	// WP_TRIPMINE				// 29

	{	999,			0,		999,	0,		1,		1000,	50,				50, 	0,		0,		MOD_SMOKEBOMB			},	// WP_SMOKE_BOMB			// 30
	{	999,			1,		999,	0,		150,	3000,	50,				50, 	1500,	300,	MOD_MOBILE_MG42			},	// WP_MOBILE_MG42			// 31
	{	999,			1,		999,	20,		10,		2500,	50,				50, 	0,		0,		MOD_K43					},	// WP_K43					// 32		K43
	{	999,			1,		999,	40,		20,		2000,	50,				50, 	0,		0,		MOD_FG42				},	// WP_FG42					// 33
	{	0,				0,		0,		0,		0,		0,	    0,		       0,	    1500,	300,	0					    },	// WP_DUMMY_MG42			// 34
	{	999,			1,		999,	0,		0,		0,		50,				50, 	0,		0,		MOD_MORTAR				},	// WP_MORTAR				// 35
	{	999,			0,		999,	0,		0,		1000,	50,				50, 	0,		0,		0						},	// WP_LOCKPICK				// 36 
	{	999,			1,		999,	48,		8,		2700,	50,				50, 	0,		0,		MOD_AKIMBO_COLT			},	// WP_AKIMBO_COLT			// 37
	{	999,			1,		999,	48,		8,		2700,	50,				50, 	0,		0,		MOD_AKIMBO_LUGER		},	// WP_AKIMBO_LUGER			// 38
	{	999,			1,		999,	4,		1,		3000,	50,				50, 	0,		0,		MOD_GPG40				},	// WP_GPG40					// 39

	{	999,			1,		999,	4,		1,		3000,	50,				50, 	0,		0,		MOD_M7					},	// WP_M7					// 40
	{	999,			1,		999,	24,		8,		1500,	50,				50, 	0,		0,		MOD_SILENCED_COLT		},	// WP_SILENCED_COLT			// 41
	{	999,			1,		999,	16,		8,		1500,	50,				50, 	0,		0,		MOD_GARAND_SCOPE		},	// WP_GARAND_SCOPE			// 42		GARAND
	{	999,			1,		999,	20,		10,		2500,	50,				50, 	0,		0,		MOD_K43_SCOPE			},	// WP_K43_SCOPE				// 43		K43
	{	999,			1,		999,	40,		20,		2000,	50,				50, 	0,		0,		MOD_FG42SCOPE			},	// WP_FG42SCOPE				// 44
	{	999,			1,		999,	12,		0,		0,		50,				50, 	0,		0,		MOD_MORTAR				},	// WP_MORTAR_SET			// 45
	{	999,			1,		999,	0,		10,		1500,	50,				50, 	0,		0,		MOD_SYRINGE				},	// WP_MEDIC_ADRENALINE		// 46
	{	999,			1,		999,	48,		8,		2700,	50,				50, 	0,		0,		MOD_AKIMBO_SILENCEDCOLT	},	// WP_AKIMBO_SILENCEDCOLT	// 47
	{	999,			1,		999,	48,		8,		2700,	50,				50, 	0,		0,		MOD_AKIMBO_SILENCEDLUGER},	// WP_AKIMBO_SILENCEDLUGER	// 48
	{	999,			1,		999,	0,		150,	3000,	50,				50,		1500,	300,	MOD_MOBILE_MG42			},	// WP_MOBILE_MG42_SET		// 49
};

sorry if it seams over the top im just fiddlin about at the mo with it…

but what i have is i have my mode directory “weaponmod” in the same level as etmain and in there i have my built cgame_mp_x86.dll.

and my shortcut to run has the fs_game command and sv_pure 0 set to the mod

so what am i doing wrong?


(dutchmeat) #2

changing the firerate can only be done serverside( try the game source instead of the cgame )


(hell247) #3

hey thx dude it works now!

yeah i didnt build the qa_game dll


(kamikazee) #4

[QUOTE=dutchmeat;175469]changing the firerate can only be done serverside( try the game source instead of the cgame )[/QUOTE]Actually, seeing how it sits in a bg_ file, both the client and server binaries need to be built to work correctly.


(GrubzJB) #5

THANK YOU.
I’ve been looking for where to find the fire rates.