Skip to content

Verb_MakeshiftShoot

juanosarg edited this page Jun 4, 2026 · 2 revisions

<- Back

Verb_MakeshiftShoot is a verb class that turns a weapon into a makeshift weapon from Vanilla Weapons Expanded - Makeshift

How do I use this code?

This verb class is added to the tag of the verb you want to add it to.

      <verbClass>VEF.Weapons.Verb_MakeshiftShoot</verbClass>

You will also need MakeshiftProperties in the weapon!

For example, the makeshift pistol in Vanilla Weapons Expanded - Makeshift:

<verbs>
	<li>
		<verbClass>VEF.Weapons.Verb_MakeshiftShoot</verbClass>
		<hasStandardCommand>true</hasStandardCommand>
		<defaultProjectile>VWE_Bullet_MakeshiftPistol</defaultProjectile>
		<warmupTime>0.6</warmupTime>
		<range>19.9</range>
		<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
		<soundCast>Shot_Autopistol</soundCast>
		<soundCastTail>GunTail_Light</soundCastTail>
		<muzzleFlashScale>9</muzzleFlashScale>
	</li>
</verbs>

And then:

<modExtensions>
	<li Class="VEF.Weapons.MakeshiftProperties">
		<shots>0~1</shots>
	</li>
</modExtensions>

Current limitation

At the moment Verb_MakeshiftShoot inherits from Verb_ShootWithSmoke, and that needs MoteProperties to be defined too. If you need them to be separated please let us know

Clone this wiki locally