Garry's Mod

Garry's Mod

49 个评价
Random Amount For Ammo Boxes & Healing Items
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐, 写实
文件大小
发表于
更新日期
3.505 KB
2024 年 1 月 18 日 下午 12:48
2024 年 2 月 23 日 下午 12:26
3 项改动说明 ( 查看 )

订阅以下载
Random Amount For Ammo Boxes & Healing Items

在 Coffee Man 的 1 个合集中
Coffee Man's Gameplay-Enhancing Addons
71 件物品
描述
Simple script for Garry's Mod. Changes ammo boxes and health items to give random amounts on pick up.




Features:
  • The following entity items give random amounts of bullets when picked up, their min / max ranges are:

    item_ammo_357 [2 - 6]
    item_ammo_357_large [2 - 6]
    item_ammo_ar2 [8 - 27]
    item_ammo_ar2_large [8 - 27]
    item_ammo_crossbow [1 - 3]
    item_ammo_pistol [5 - 14]
    item_ammo_pistol_large [5 - 14]
    item_ammo_smg1 [11 - 35]
    item_ammo_smg1_large [11 - 35]
    item_box_buckshot [2 - 6]

  • The following healing items give random amounts of effect when picked up, their min / max ranges are:

    item_healthkit [10 - 25]
    item_healthvial [5 - 10]
    item_battery [5 - 15]

  • These changes may slightly increase game difficulty if you're a bozo scrub.




Limitations:
  • In order to ensure as much compatibility as possible for this public release, some features from my own version had to be removed or simplified.

  • The maxAmmo variable that prevents pick ups when the player has max ammo for that particular item has been increased to 9999.




Credits: