Difference between revisions of "Replacing the Crowbar with the Stunstick"

From Valve Developer Community
Jump to: navigation, search
m
Line 11: Line 11:
 
{{note|this will not get you the glow effect, but only the model.}}
 
{{note|this will not get you the glow effect, but only the model.}}
  
<i><small>Third-party Commentary: One of the more useless article i've ever seen.</small></i>
+
<i><small>Third-party Commentary: One of the more useless articles i've ever seen.</small></i>
  
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 00:12, 12 June 2009

Switching the crowbar to use the stunbaton is as simple as opening your scripts/weapon_crowbar.txt. Inside, find these 2 lines:

	"viewmodel"	"models/weapons/v_crowbar.mdl"
	"playermodel"	"models/weapons/w_crowbar.mdl"

And change to:

	"viewmodel"	"models/weapons/v_stunbaton.mdl"
	"playermodel"	"models/weapons/w_stunbaton.mdl"
Note.png Note: this will not get you the glow effect, but only the model.

Third-party Commentary: One of the more useless articles i've ever seen.