weapons

mom_df_autoswitch

var
weapons

Controls switching behavior on weapon pickup. The default value of 1 causes autoswitch to happen on every weapon pickup. 0 disables autoswitch, and 2 only switches if the player gets a weapon that wasn’t already enabled.

momentum_pickup_ammo

entity
point entity, weapons, ammo

This entity can be used to give the player ammo. Keyvalues # Reset Time (ResetTime<float>) The amount of time in seconds before a weapon can be picked up again. If this value is negative, then the spawner will only give a weapon once. Ammo Name (AmmoName<string>) Name of the ammo type to give the player. Must be one of the names listed on Ammo System. Pickup Ammo (PickupAmmo<integer>) Amount of ammo to give the player for the specified ammo type. ...

momentum_weapon_spawner

point entity, weapons

This entity can be used to give the player a weapon and ammo for that weapon. Keyvalues # Reset Time (ResetTime<float>) The amount of time in seconds before a weapon can be picked up again. If this value is negative, then the spawner will only give a weapon once. Weapon Name (WeaponName<string>) Name of the weapon to give the player. Must be one of the names listed on Weapon System. ...

Weapon System

guide
mapping, weapons

The weapon system allows mappers to give and remove a players weapons via entity logic. Weapon Spawner Entity # The momentum_weapon_spawner entity can be used to give the player a weapon. The entity currently takes a weapon entity name in the WeaponName key. The following weapon names can be used: "weapon_momentum_pistol" "weapon_momentum_shotgun" "weapon_momentum_machinegun" "weapon_momentum_sniper" "weapon_momentum_grenade" "weapon_momentum_concgrenade" "weapon_knife" "weapon_momentum_rocketlauncher" "weapon_momentum_stickylauncher" "weapon_momentum_df_plasmagun" "weapon_momentum_df_rocketlauncher" "weapon_momentum_df_bfg" "weapon_momentum_df_grenadelauncher" The entity also has a ResetTime key, which is the amount of time in seconds before a weapon can be picked up again. ...