i_restrictitems
Restrict Items and Weapons
Generally, every item type is allowed in the list, with only a couple (Fists, for instance) not allowed. The console variable "i_restrictItems" can be set to a string containing weapon names, equipment names, and vehicle names.
Any item names in this list will not be available in MP, either to buy in PowerStruggle or as placed pickups in IA and TIA. Named vehicles will not be available to buy in PowerStruggle, but if placed in levels by designers will still be present.
Item names should be seperated by commas, semicolons or spaces. The order of items is not important, though the entries are case sensitive. The following examples are all equivalent and prevent players from using the flashbang, SCAR or FY71:
i_restrictItems = "flashbang,SCAR,FY71"
i_restrictItems = "flashbang SCAR FY71"
i_restrictItems = "flashbang; SCAR;;;;FY71"
The following is a list of names to use with this command (should be entered exactly as listed):
http://www.mycrysis.com/servercornersite.php?site=6
- Restricting access to the SOCOM means players start unarmed
- In PowerStruggle at least one of the end-game weapons should be left available
- Restrictions aren´t communicated to the players (though the buy menu items remain greyed out at all times).
- i_giveitem still works despite the restrictions (though this is dev-mode only)
- Restricting ammo buying only affects extra ammo, though - you still get the ammo in the weapon when you buy it/ pick it up. Only works in PS, though; ammo pickups are different in IA/TIA.




Zitieren

