Replacing the Crowbar with the Stunstick: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Broke down. Previous one is ridulous)
(woops)
Line 1: Line 1:
Switching the crowbar to use the stunbaton is as simple as opening your scripts/weapon_crowbar.txt. Inside, find these 2 lines:
Switching the crowbar to use the stunbaton is as simple as opening your scripts/weapon_crowbar.txt. Inside, find these 2 lines:
<pre>
<pre>
"viewmodel" "models/weapons/v_crossbow.mdl"
"viewmodel" "models/weapons/v_crowbar.mdl"
"playermodel" "models/weapons/w_crossbow.mdl"
"playermodel" "models/weapons/w_crowbar.mdl"
</pre>
</pre>
And change to:
And change to:

Revision as of 14:49, 16 January 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.pngNote:this will not get you the glow effect, but only the model.