Skip to content

Weapon Adjuster

ermaccer edited this page Sep 28, 2021 · 2 revisions

bEnableWeaponAdjuster needs to be set to true in the ini in order for any changes to take effect!

Weapon Adjuster allows to change some hardcoded properties such as head explosions and allows to change execution type & allow firearms to use them.

Configuration data for weapons/items is in data/weapons.dat file - you can open it using notepad.

The format is simple, you only need to specify 3 values per line:

Default content:

;default settings
;a						b	c
CT_SHOTGUN  			1	none
CT_SAWNOFF  	 		1   none
CT_SHOTGUN_TORCH 		1	none
CT_SNIPER_RIFLE	 		50  none
CT_TRANQ_RIFLE			56	none
CT_BASEBALL_BAT	 		4	BAT
CT_W_BASEBALL_BAT 		4	BAT
CT_BASEBALL_BAT_BLADES	4	BAT
CT_BAG 					0   BAG
CT_WIRE 				0 	WIRE
CT_KNIFE				0	KNIFE
CT_SHARD				0	KNIFE
CT_CLEAVER 				0   CLEAVER
CT_CROWBAR 				0	CROWBAR
CT_SICKLE 				0 	SICKLE
CT_NIGHTSTICK 			0 	NIGHTSTICK
CT_SMALL_BAT 			0	NIGHTSTICK
CT_AXE 					0	AXE
CT_ICEPICK 				0 	AXE
CT_MACHETE 				0 	MACHETE
CT_HAMMER 				0 	HAMMER
CT_CHAINSAW 			0 	CHAINSAW
CT_CHAINSAW_PLAYER		0 	CHAINSAW
CT_PIGSY_SHARD 			0	PIGSHARD  
CT_WOODEN_SPIKE  		0   PIGSPIK   
CT_PIGSY_WIRE    		0   PIGWIRE   
CT_GLOCK_SILENCED       8   none
;end of default settings

If you want to make fists use Plastic Bag execution just add another line anywhere, note that lines starting with ; or # are ignored and are comments.

CT_WOODEN_SPIKE  		0   PIGSPIK   
CT_PIGSY_WIRE    		0   PIGWIRE   
CT_GLOCK_SILENCED       8   none
;end of default settings
CT_FISTS			0 	BAG

and save the file.

Firearm Executions

While you can set executions to firearms in this list, they won't work by default. Set bEnableExecutionsWithFirearms in .ini to true to enable gun executions.

Clone this wiki locally