边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Gun Magazines
   
奖励
收藏
已收藏
取消收藏
Mod, 1.1, 1.2, 1.3
文件大小
发表于
更新日期
396.253 KB
2021 年 4 月 16 日 上午 2:48
2022 年 2 月 9 日 上午 10:02
2 项改动说明 ( 查看 )

订阅以下载
Gun Magazines

描述
# Description
Adds a simple gun magazine system that doesn't require any real resource to use, in line with other things in vanila RimWorld. In combat NPCs fire as long as there is still ammo in the chamber, reload, rinse and repeat. Weapons use ammo per projectile released, and burst fire weapons still retain this capability unchanged, well, as long as their volley doesn't use more ammo then is available in the magazine, then it will be cut short after the last bullet is used up.

# Features
* Simplistic ammo system that doesn't require any real ammo gathering. NPCs magically pull bullets out their pockets before loading them into their guns.
* NPCs have minimal cooldown between volleys as long as there is still ammo loaded.
* NPCs take aim between each volley anew, but this time is less than it would be in the same situation w/o the mod, as the cooldown period is skipped while the gun still has some ammo left, so only the warm-up period is entered there.
* NPCs enter the regular cooldown period on running out of ammo to reload.
* Ammo capacity and remaining ammo can be currently seen by inspecting the weapon stats.
* Compatible with most of modded weapons as long as they use the vanilla shooting verb; no modded weapons are supported explicitly as of yet though, but others may easily add patches to them in order to make them run on this system.
* Most of the vanilla weapons are made to use this system out of the box. I didn't however carefully tweak each of them, so I'd like to gather feedback on what needs to be changed for the greater good.

# Known issues
* Reportedly the chain shotgun can shoot more times than it has ammo loaded. Couldn't replicate, if you manage to please contact me!

# Planned
* Extended compatibility with "RunAndGun" and "Dual Wield".
* Controls to reload a given gun on demand.
* Ammo indicator.
* Patches to include certain modded weapons.
* User settings to tweak weapons magazine capacity.
* More options like ammo used per shot.
* Items like attacheable extended magazines and so on.

# For modders
In order to add support for this mod to your weapons you need to:
* Define this mod as a dependency in your mod's metadata.
* Add the component to your weapons: `ZzZomboRW.CompProperties_GunWithMagazines`.
* Define a stat for ammo capacity of the gun: `<ZzZomboRW_GunWithMagazines_MaxAmmo>10</ZzZomboRW_GunWithMagazines_MaxAmmo>`, replace the number with the maximum amount of ammo in the magazine. Goes into the `statBases` tag.
* ???
* PROFIT!
35 条留言
PremierVader 2023 年 11 月 2 日 下午 2:03 
Hey can someone ask Mlie again to update and continue this mod please
Diamondman0607 2023 年 6 月 20 日 下午 6:17 
does it work for 1.4
Sky 2023 年 4 月 22 日 下午 2:23 
Any updates yet?
DisKorruptd 2022 年 10 月 7 日 上午 2:22 
I, the commissioner, have asked the author about having it continued by someone else, and he has said yes, I've asked Mlie and his group to continue it, here's hoping...
mrqwer4 2022 年 8 月 6 日 上午 7:34 
Doesnt work
JessieFeathers 2022 年 6 月 26 日 下午 10:16 
This mod does not work at all, when colonists shoot they instantly are despawned. Or when you tell them to reload, they will be despawned. Using only vanilla guns
MoonAddict 2022 年 4 月 21 日 下午 2:21 
I do hope you'll continue this mod as it is the only one of it's kind on the workshop right now.
All the tactical flexibility of CE mags with none of min-maxing logistical nightmares.
洪世友-害兽退治者 2022 年 4 月 21 日 上午 6:44 
Look good
ZzZombo  [作者] 2022 年 4 月 12 日 上午 9:05 
I can't answer any of the questions, I do not currently have any capable computer. My work station was... lost... and the currently used laptop is dying. And due to the circumstances (if you get what I mean) out of my control getting new hardware is complicated. I have no modding plans in the foreseeable future, sorry, although I'd quite like to return to it (and playing RimWorld).
brucethemoose 2022 年 3 月 24 日 上午 10:45 
Some patch in this mod seems to be broken, with no mods other than the requriements and hugslib:

https://gist.github.com/HugsLibRecordKeeper/327abfafc9ed39e07d5e7a01a3474501