Logic pickups

From Sunrust Wiki
Jump to navigation Jump to search

Allows you to control how much stuff people can pickup in the map. Only things placed by the mapper work with this system. Stuff from dead humans doesn't count.

Keyvalues

Max Weapon Pickups <integer>

How many weapons a player can pickup from the map.

Max Ammo Pickups <integer>

How many ammo boxes a player can pickup from the map.

Max Flashlight Pickups <integer>

How many flashlight batteries a player can pickup from the map.

Correct Weapon Required <choices>

If 1 then players must have a weapon that takes the ammo before being able to pick up an ammo box.
  • 0: No
  • 1: Yes

Inputs

input setmaxweaponpickups <integer>

Set the number of weapons a player can pickup from the map.

input setmaxammopickups <integer>

Set the number of ammo boxes a player can pickup from the map.

input setmaxflashlightpickups <integer>

Set the number of flashlight batteries a player can pickup from the map.

input setweaponrequiredforammo <integer>

If 1 then players must have a weapon that takes the ammo before being able to pick up an ammo box.