Project Zomboid

Project Zomboid

370 betyg
[41/42] Hot Brass - Visible Casing Ejection Framework
13
4
5
4
2
4
3
5
4
2
3
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
4.075 MB
22 nov @ 17:34
3 dec @ 3:41
18 ändringsnotiser ( visa )

Abonnera för att ladda ner
[41/42] Hot Brass - Visible Casing Ejection Framework

I 1 samling av Marz
Hot Brass
3 artiklar
Beskrivning
Hot Brass - Visible Casing Ejection Framework
I personally love small details, and even on games with graphic styles that are meant to be retro, having those little details make it so cool. For a long time, I wondered how cool Project Zomboid would look if we could actually see spent casings flying out of our weapons. kinda inspired like the classic Resident Evil games. From that curiosity I dive into the PZ modding discord (amazing place btw).

This is both a mod and a framework that other weapon mods can use to add visible casing ejection.

Changes to Gameplay

Racking has been reworked so that when you rack a round, it won’t magically appear in your pocket anymore; it will realistically fall to the ground. Don’t forget to pick them up!

Unloading is now more practical and prevents you from accidentally dropping ammo all over the floor.

Spent casings can be collected, and in a future update they’ll be used for ammo crafting.

Mod is still a Work in Progress!

Some of the things casings will do
  • React to the world around, fall to different levels, react against walls, land on objects (tables, chairs, counters, etc...), open or close windows or doors
  • Bounce around
  • Play appropiate casing sounds to the tile they are landing open
  • be cool looking :D

VERSION 41 MULTIPLAYER FIXED
Mod is better experience in SP due to the way I had to achieve the visual effect. MP in 41 is supported, but I have not tested the extend to which it will impact performance on large servers.

To Do:
  • Keep covering popular mods; check the repo addon for them.
  • Improve MP performance.
  • Ammo crafting. It will come, I promise.

If you find a bug, please report it in the thread for it, not the comments.

Huge Thanks!

Thank you to everyone in the PZ Modding Discord for the support on my first mod.
Special thanks to Vilespring and Sven for allowing me to use VFE ammo icons.

For Modders

I have redone the structure of the mod, so if you wish to implement it or want to change the functionality of a function, you can patch it by calling the main object and the desired function.
I have left a commented-out file that gives you an example of how you can easily register your params table with the mod.

I am working on making it so that if a gun is not registered, it will pick some random params based on the model, but only if this uses ammo or casings I have within the mod. Custom ammo will require registering.

Key parameters to know:

  • Forward, side, and height offsets let you calibrate exactly where the casing appears relative to the player.
  • Shell force determines how far the casing is ejected. Negative values will launch it in the opposite direction, useful if you want something unusual.
  • Manual ejection controls whether a weapon requires racking to cycle the ammo.
  • verticalForce can apply more force to the shell or send it downwards, for those weapons where the spent casings go straight to the floor (MG42 comes to mind).
  • ejectionAngle lets you determine if the casing comes forward, left, right, or back, full control to make it authentic.

Currently the mod also supports B41, but I have not tested it extensively, so if you encounter a bug, report it.

Mod Patches in the link below:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3612830296

Currently covered Mods:
  • Firearms B41 and B42
  • VFE 41 and Unofficial 42
  • Filibuster Rhymes's Acceptable Guns
  • Rain's Firearms & Gun Parts [B42]
  • WIP Guns of 93

I will not be covering Brita’s Gun anytime soon. While that mod already has casing ejection, 300+ guns, and tons of custom ammo, it fundamentally changes some of the functions I modify to achieve the racking and reloading effects.
Populära diskussioner Visa alla (3)
29
3 dec @ 14:55
Bug Reports
Marz
27
3 dec @ 11:08
Mod Support
Marz
146 kommentarer
Marz  [skapare] 24 minuter sedan 
The author will work with me to implement it
Shaman Rock 8 timmar sedan 
@marz
Problem solved, Steam sucks. XD
Even though I subscribed, it never downloaded the files.
The mods works perfectly now, my PZ is perfect! It was the last mod I needed to make it even more immersive.
Marz  [skapare] 21 timmar sedan 
@will i will take a look at the missing ammo

@shaman. Still doesn't tell me anything. I have tested multiplayer myself and I manage to conect. Regardless i did left a message in regards of the mod on multiplayer. Please read it
Shaman Rock 23 timmar sedan 
@marz
I have many mods installed and so far they all work, but as soon as I try to activate this one + the patch, the server gives me an error and won't start. I think it doesn't work for 41.78 multiplayer.
williamasecas 5 dec @ 6:45 
When racking to remove rounds from the chamber (pressing X) those disappear rather than being dropped to the ground or going to the character´s inventory.

I use VFE B41.
Sven 5 dec @ 5:27 
@barry
If you add them to the World Item Removal list, they'll despawn according to the time that's set to (default is 24 ingame hours).
There's a list of vanilla + VFE ones in the description of this mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3613229627

For other gun mods using other calibers, you'll have to look up the IDs yourself.
barry 5 dec @ 5:23 
Do the casings ever despawn?
Rubber Flubber 4 dec @ 19:13 
I think they're still working on that patch, it's the one I'm most looking forward to
Perculator 4 dec @ 18:23 
For some reason it doesn't work with guns of 93 when both mods are on