<aside> 📦 DTADD.acs

</aside>

<aside> âš¡ int DefineWeapon(str wepTag, str wepActor, str wepIcon, str wepAmmo, int wepMult, int wepSlot, int wepMap, int wepLms, int wepEddie)

</aside>

Usage


This is used to add new weapons to the internal table of weapons for purposes of LMS loadout, weapon randomization, and ammo pickups.

Parameters

<aside> 🚨 Due to an oversight, none of these three bools can disable the weapon from appearing as a starting weapon when mm8bdm_sv_randomstartweapon is enabled. Define your weapons with caution!

</aside>

Return Value

Example


This is a block of code that would add Rolling Cutter to the list of weapons, assuming that it did not already exist which it does already in base MM8BDM.

Script "rollingcutter_wepdef" OPEN {
	DefineWeapon("TAG_ROLLINGCUTTER", "RollingCutterWep", "WEA2F0", "RollingCutterAmmo", 1.00, DTADD_SLOT_CLOSE, true, true, true);
}

See Also


Creating Weapons

DefineDoubleAmmoWeapon