Project Zomboid

Project Zomboid

59 ratings
Spent Casings for VFE
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
6.161 MB
16 Mar, 2024 @ 10:01am
20 Feb @ 12:05pm
11 Change Notes ( view )

Subscribe to download
Spent Casings for VFE

In 1 collection by Sven
Multiplayer Mods
162 items
Description
UPDATED FOR B42 - B41 COMPATIBILITY RETAINED.
B42 version currently imperfect due to scale issues.

Have you ever wondered why there aren't really any mods for this out there?
Well, I have, and that resulted in this mod, built upon Ammocraft's case ejection code (thanks for the brilliant revolver solution btw). I wanted case ejection with spent brass on the ground, but without new guns, calibers, mechanics, tools, or recipes to reload the casings. The casings in this mod are junk that you cannot do anything with.

Supported calibers
  • All vanilla calibers
  • .22 (VFE)
  • 7.62 (VFE)
  • 5.45 (VFE - S.T.A.L.K.E.R. pack)
  • 4.6 (VFE - Post '93
  • 5.7 (VFE - Post '93)
  • 5.7x28mm (AFR)
  • 7.62x51mm (AFR)
  • .357 Magnum (Gunrunner's Weapon Pack)

World Item Removal List
I recommend adding these spent casings to your world item removal list so that they despawn according to the world item removal timer.
Base.Bullets9mm_Casing,Base.Bullets38_Casing,Base.Bullets44_Casing,Base.Bullets45_Casing,Base.223Bullets_Casing,Base.308Bullets_Casing,Base.556Bullets_Casing,Base.ShotgunShells_Casing,Base.22Bullets_Casing,Base.762Bullets_Casing,Base.545Bullets_Casing,Base.46Bullets_Casing,Base.57Bullets_Casing,Base.357Bullets_Casing,Base.Bullets57_Casing,Base.762x51Bullets_Casing

VFE adds the M60 machine gun, which uses linked .308 rounds. When fired, the links are dropped on the ground, just like the casings. These links are reusable, and seemingly rare spawns, but if you don't care about picking these links back up again, you can add them to your removal list as well.
Base.M60_Link


FAQ
Does this mod work without VFE?
Yes. However, the casing icons are based on VFE's ammunition icons (which include vanilla calibers), so it might look off.

Does this mod work with any other gun mods?
This mod was specifically made to work with VFE and mods that are meant to work with VFE (see supported calibers above), but any mod that uses vanilla calibers, or the calibers of those mods, will work with this mod, as long as they do not override their internal names, or add new calibers. Bear in mind that the 7.62 caliber found in VFE uses steel casings, and that's reflected in the spent casing models you'll see on the ground (gray icon, gray casing; likewise the 5.45 caliber has brown casings), so if another gunmod doesn't, it's gonna look off. In other words, the mod works with certain calibers, and not certain guns.

Does this mod work with ammunition crafting mods?
Ammo Maker?
Yes.

Other mods?
In terms of reloading the spent casings, no, unless those mods are updated to support the use of casings from this mod, or someone makes a third party mod to achieve this. Reloading the casings is not the goal of this mod.
I also do not recommend using other mods, crafting involved or not, that spawn casings, along with this, since you will get multiple spawns per shot due to the different mods spawning casings independently.

Can this be added to/removed from existing saves?
Yes. If you still have casings on the ground, or anywhere else, they will be removed if you remove the mod, as those WorldItems then no longer exist.

Workshop ID: 3186796606
Mod ID: spentcasingsvfe
Popular Discussions View All (1)
5
2 Apr, 2024 @ 2:01am
Russian Translation Reupload
Osetrokarasek
66 Comments
Acheron 21 May @ 5:27pm 
Hi, 9 mm are not invisible, scale has nothing to do with it. The shell appears on the z-axis -0. If you set it to 0.01, it is visible. But how to do this for each new shell?
Rubber Flubber 19 Apr @ 2:40pm 
Just wanted to chime in with an update: I got the casings working with Rain's, thanks again for the help!
Rubber Flubber 20 Mar @ 3:44pm 
I really appreciate the response! Thanks a bunch and I wish you luck in solving the scale issue.

Even if things don't work as they should, what it adds is a still a nice touch over the lack of casings the game has by default.
Sven  [author] 19 Mar @ 12:10am 
But if you really want to, in the meantime, you would need to add the new calibers as WorldItems in the relevant script file, and the case spawning code will recognize the fired caliber automatically and spawn a casing if there's a casing Item defined in the script. For example, make a new item entry, 'item 762x39Bullets_Casing', and copy the info verbatim from '762Bullets_Casing'; '762Bullets' in VFE is the Soviet cartridge, while in Rain's mod, '762Bullets' is the NATO cartridge, so you might wanna shift those models around (StaticModel and WorldStaticModel) to get brass casings for the NATO cartridge and steel casings for the Soviet cartridge. Of course, this bricks VFE compatibility, kind of, since they fight over what the game should do with 'Base.762Bullets'; it's an either or situation when it comes to gun overhaul mods.

[2/2 due to character limit]
Sven  [author] 19 Mar @ 12:10am 
@Rubber Flubber
For B42? No, not yet. The problem with my casing mods currently being stagnant is that B42 changed something in regards to how the scale of 3D models is calculated when placed in the world as WorldItems. In the current B42 version, 9mm casings, for example, are too small to be seen, while .308 casings are too large. It's a mess I haven't gotten to yet. But technically, of course, the mod works with B42, since the mod's code is doing what it's supposed to; the result is just not satisfactory. If you're playing B42, and the B42 version of Rain's mod, you might not find much use in trying to make this mod work with it at the moment.

But just because you brought it up, I'm now motivated to keep looking at the scale issue again. :steamthumbsup:

[1/2 due to character limit]
Rubber Flubber 18 Mar @ 11:51pm 
Can't edit my post, but it appears some of the casings do work like .44 with the Marlin
Rubber Flubber 18 Mar @ 5:41pm 
I see you already responded to someone asking about Rain's firearms, but do you know roughly what would need to be done for someone to modify this mod to work with it?

Would it just be a matter of renaming some things, or would every gun need to be individually modified to work with this? As far as I can tell the only two ammo types it adds are 7.62x39 and 7.62x51, which this one already covers.
SDgamer 23 Feb @ 6:55pm 
are we able to turn spent shells into scrap metal without Ammo Maker? Asking because of the Scrap Guns Add-On for The Workshop mod for B41 which uses Scrap Metal in the recipe unless you are using ammo maker
Aymira 14 Feb @ 11:04am 
@Sven alright o7
Sven  [author] 14 Feb @ 9:01am 
@Aymira
I had planned on making mods for all major gun mods, but B42 dropped, requiring a bunch of rework, and I've been very busy as of late, which has slowed progress. But I absolutely intend to have a Spent Casings for Rain's Firearms sometime in the future.