Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] [Feature Request] update items_game to give the Stock Flamethrower and Stock Grenade Launcher visuals_mvm_boss to allow them to use unused giant weapon sounds

Open Whurrhurr opened this issue 4 years ago • 5 comments

in items_game.txt, the stock minigun and stock rocket launcher have special prefixes called visuals_mvm_boss that override certain things when equipped by robots that use the miniboss attributes. there are sounds for giant pyro and giant demoman that are meant to be used to override their stock weapon sounds with louder, more menacing sounds, however, weapon_grenade_launcher and tf_weapon_flamethrower lack these prefixes, probably because both weapons are lacking a crit variant of their firing sound (even though giant heavy's minigun also lacks a crit variant of it's firing sound) so a crit variant of the giant demoman's grenade launcher firing needs to be added, for consistency's sake with giant soldier's rocket launcher. "weapon_grenade_launcher" needs this added:

NOTE! MVM.GiantDemoman_Grenadeshoot IS NOT PRECACHED AND WILL NOT PLAY UNLESS PRECACHED!!

			"visuals_mvm_boss"
			{
				"sound_single_shot"	"MVM.GiantDemoman_Grenadeshoot"
				"sound_burst"		"MVM.GiantDemoman_Grenadeshoot"
			}

and "weapon_flamethrower" needs this added:

			"visuals_mvm_boss"
			{
				"sound_single_shot"		"MVM.GiantPyro_FlameStart"
				"sound_special1"	"MVM.GiantPyro_FlameLoop"
				"sound_burst"	"MVM.GiantPyro_FlameLoop"
			}

Last edited March 24, 2023

Whurrhurr avatar Oct 27 '22 14:10 Whurrhurr

never knew thoses existed up until now, it would be great to have thoses back

ghost avatar Oct 29 '22 12:10 ghost

updated with some testing done, MvM.GiantDemoman_GrenadeShoot is not precached and therefore will not play, figured out how sounds are set up for flamethrowers to make the Giant Pyro's flamethrower sound overrides work.

Whurrhurr avatar Mar 25 '23 02:03 Whurrhurr

You should propably create an issue for this on the SDK Gitbub rather than leaving it here.

ghost avatar Mar 14 '26 15:03 ghost

You should propably create an issue for this on the SDK Gitbub rather than leaving it here.

Issues directly related to the SDK (that might impact the code itself) and pull requests usually go there. Issues relating to the individual games and their mechanics typically go here.

Professor-Heavy avatar Mar 14 '26 15:03 Professor-Heavy

I know that.

But since most community fixes with code for the game itself are handled over there as well I figured it might have been good idea since you showed code changes.

ghost avatar Mar 14 '26 17:03 ghost