Garry's Mod

Garry's Mod

475 个评价
StarWars Ammo Dispensers
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 实体
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
27.474 MB
2020 年 5 月 2 日 上午 6:57
2020 年 8 月 24 日 上午 4:20
5 项改动说明 ( 查看 )

订阅以下载
StarWars Ammo Dispensers

在 ChanceSphere574 的 2 个合集中
CS574' Addons
44 件物品
TFA SW Test Server
21 件物品
描述
StarWars Ammo Dispenser or Ammo Distributor



  • Ammo Dispenser (Ammo)
    - give 750 ar2 ammo, so the same ammo as my weapons.

  • Grenade Dispenser
    - give 2 grenade.

  • Rocket Dispenser
    - give 3 rpg_round.

  • Ammo Dispenser (Holding Weapon)
    - give ammo which is 3 times the size of the current clipsize of your holding weapon.

  • Ammo Crate Dispenser
    - give the Ammo Crate

  • Ammo Crate
    - a swep where you can throw 5 little ammo box. (same give as the first ammo dispenser)

  • Health Dispenser
    - give 50 hp

  • Armor Dispenser
    - give 50 armor, limited to 200


CVars :

rw_sw_dispenser_health 950 (default value)
can change the health of all Dispensers.

rw_sw_dispenser_allammo_multiplier 3 (default value)
can change the multiplier of the Holding Weapon Dispenser.

rw_sw_dispenser_timer 2 (default value)
can change the time between taking ammo.

rw_sw_dispenser_ammo_basic_count 750 (default value)
can change the number of basic ammo gived. (for the first dispenser and the swep)

rw_sw_dispenser_heal_amount 50 (default value)
can change the amount of health and armor gived to the player.

rw_sw_dispenser_max_armor 200 (default value)
can change the amount of maximal armor the dispenser can give to a player.






Script/Materials - ChanceSphere574

Models:
Sci-fi Ammo Box - Andrii_Tsymbal[sketchfab.com]
Sci-Fi Stylized Container - Roycore[sketchfab.com]

[discord.gg]
Copyright 2020. This item is not authorized for posting on Steam, except under the Steam account named ChanceSphere574, at the steamid STEAM_0:1:90165449.

Reuploading rules are available on my Support Discord[discord.gg] for server who want to make Server Content, if they are not properly followed, a report will be sent to Rubat (Garry's Mod Workshop Administrator) for not respecting the Garry's Mod Steam Workshop Rules[wiki.facepunch.com]. Thank You.
37 条留言
Red_Fog 6 月 27 日 下午 8:41 
why not change line like 45 in \lua\entities\rw_sw_dispencer_armor to local max_armor = activator:GetMaxArmor() so the max dispensed armor alines with the max armor of the player so for darkrp its functions well?
mouse 2024 年 11 月 17 日 下午 7:30 
Hey there! Awesome addon! Can you also make "Health Crate" that can be used for giving out health the same way "Ammo Crate" works? It would be cool to have ability to deploy health the same way. Thanks again for addon!
Epilife 2024 年 10 月 12 日 上午 1:21 
[TFA Base] Weapon rw_ammo_distributor (lua/weapons/rw_ammo_distributor.lua) is overriding SWEP:Think() function without calling baseclass!
ChanceSphere574  [作者] 2021 年 8 月 5 日 上午 8:28 
it's the entity creation problem with the TFA Base, this happen when there is a bug with the base
Uranius 2021 年 8 月 5 日 上午 8:08 
What to do if "ammo crate" deals damage to armor, but does not throw out a box of ammo?
ChanceSphere574  [作者] 2021 年 4 月 8 日 上午 11:33 
strange question x) so no, but i like to be clear, and also i use what steam purpose, with this i can directly contact the admin without warn the guy who reuploaded my content, as this message is concidered like a warn ^^
ᶜ8ᴱ 🎱 ๖ۜKarma 2021 年 4 月 8 日 上午 9:39 
Just a quick question. Would you happen to have a law degree? You really covered yourself pretty tightly so just curious. Most if not all other mod makers don't seem to cover themselves that well and the use of clear links to referenced rules lists as well as individuals really screams lawyer/attorney to me.
ChanceSphere574  [作者] 2020 年 9 月 4 日 上午 8:41 
if you mean the safe mode from TFA, it's TFA system x)
Tonaness 2020 年 9 月 4 日 上午 8:26 
What is the name of the mod you use to holster your weapon?
GeckoKapa 2020 年 8 月 24 日 上午 9:57 
worked with 0 errors, thanks man, workshop needs more people like u :cozyspaceengineersc: