Project Zomboid

Project Zomboid

Military Tool Kit
62 Comments
DOCTOR_DOGE 30 Sep @ 1:31pm 
i cant find the weapons, the vehicles spawn whitout weapons
SDgamer 23 Sep @ 9:43pm 
Only since Angry Turrets is a mod for B41, if you are willing to, could you please make a B42 Sentry Gun mod? Need something to go with other Defensive Structure mods i have installed for the Horde Night mod
Ki Charn Ro 15 Sep @ 8:48am 
https://pastebin.com/pfpY5k9X

other one was before starting apocalypse run. this one is after.

theres too much text to put into pastebin but theres 6 different stack trace errors
Ki Charn Ro 15 Sep @ 8:42am 
https://pastebin.com/nPrvM1Kh

Hey dont know if this helps. It's the last bit of the console.txt
Papa_Chad  [author] 15 Sep @ 8:28am 
@Ki Charn Ro
Can you send an error log?
Ki Charn Ro 15 Sep @ 7:22am 
Actually, military toolkit at top of load order, apc, humvee and cargo apc and i still get 1000s of errors. military toolkit by itself and i get 1000s of errors on a new save. any fix would be super appreciated i cant understand lua
Ki Charn Ro 14 Sep @ 5:46pm 
Hey im getting 1000's of errors when i load in. Every mod i have works flawlessly, any idea if your mod has any incompatibilities? I'd love to use it
Hunterr 7 Sep @ 5:55am 
Finally we get working turrets for military vehicles, peak zomboid haha :D I hope that Ki5 modder will add a function like this for the Oshkosh trucks, too cause it has a turret but no function.
Papa_Chad  [author] 6 Sep @ 9:45am 
@Nacalal
Relax, “FastTick” is an optimization solution only, it runs 10 times slower than OnPlayerUpdate, I put it in less critical functions that require a large number of unnecessary calculations, such as the “armor” that checks the condition of all vehicle parts and compares them with the previous value. In my opinion, this type of thing is a waste of processing power when it is run every frame of the game(Just venting)... Do you have more mods installed? I believe I used a very generic term and it must be conflicting with other modders' codes.
Nacalal 5 Sep @ 10:28pm 
Seem to be getting the following error.

function: Papa_Chad_Vehicle_Armor.lua -- file: Papa_Chad_Vehicle_Armor.lua line # 87 | MOD: Military Tool Kit.
[05-09-25 23:13:05.972] ERROR: General f:0, t:1757135585972> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: Add of non-table: null at KahluaThread.tableget(KahluaThread.java:1530

Appears to be related to the 'FastTick' object from 'Papa_Chad_FastTick_Event.lua', no clue why it comes back as null and causes error spam any time I load into a new game.
Reverting to the older 'Events.OnPlayerUpdate' for the armor and track files seems to have gotten rid of the load errors and in game error spam, but no doubt re-introduces the problems you were trying to fix with the whole 'FastTick' workaround.
deckerlovescats 14 Aug @ 1:21pm 
:steamthumbsup:
Papa_Chad  [author] 6 Aug @ 9:46am 
@deckerlovescats
I reduced the spawn rate of the M2 and adjusted the spawn rate of ammunition, as it was excessively high.
deckerlovescats 5 Aug @ 8:27am 
i think the new update made it so that the ammo doesn't spawn in police stations for me, it spawns in the vehicle but not pd's
Wayne 4 Aug @ 7:47am 
And if you need help about modding i'm interested to join you in this project.
Wayne 4 Aug @ 7:31am 
Are you interested by a 3D model of a M1114 HMMWV with M2HB mounted ? I'm stuck with the texturing part.
Overgeared 30 Jul @ 8:33pm 
is there a way to reduce the spawns? browning spawns too much for me
GerardotheCrusader 23 Jul @ 4:17pm 
Good mod but M2 browning spawns too much
Mattix 18 Apr @ 6:35pm 
the gun of the truck or the tank works in b41?
CJ187 4 Mar @ 11:26am 
Please can you rename this mod into something with "Framework"?
eg.: "Military Tool Framework" so it is way more obvious and easier for admins to know what mods MUST be loaded first
drshahramanvariazar 2 Mar @ 2:41am 
IF SOMEONE MADE A VANILLA FRIENDLY TANKS AND MILITARY VEHICLES
BugFace 15 Feb @ 11:03am 
Man, its can be cool if you colab with KI5 for his Millitary stuff. :)
Fox 6 Feb @ 3:42pm 
would be cool if this framework would have a base for helicopters :steamhappy:
Bibidi 12 Nov, 2024 @ 7:31pm 
one of you modders seriously need to make a pivot function :')
juan marston 2 Nov, 2024 @ 7:35pm 
NO FUNCIONA LA WEA BORRENLO
Widder 30 Nov, 2023 @ 5:42pm 
wheres SMUI?
TRD | Monty 26 Feb, 2023 @ 3:43pm 
In behalf of End Of Days Server I would like to ask for permission to add this mod in our server's mod pack.
Jeffigy 14 Feb, 2023 @ 4:35pm 
Yeah I didn't know if I'd have to delete entire lines, specific variables, or w/e so I made a backup (I suggest you do too) and just deleted water. Then I proceeded to lay on the horn going back n forth not far from the Riverside gas station
Thundercraft 13 Feb, 2023 @ 9:02pm 
@Jeffigy
I only found 2 instances of the word "Water" in steamapps\workshop\content\108600\2705406713\mods\Military Tool Kit\media\scripts\

Quote, "I deleted *only* those words..."

So, in other words, you turned:
contentType = Water,
into:
contentType = ,
Is that right?
Jeffigy 13 Feb, 2023 @ 6:39pm 
Just posting this fix from the other workshop page:

Jeffigy Just now
Forgot to mention, you must delete "water" in this file "template_Papa_Chad.txt" you can find it here: steamapps\workshop\content\108600\2705406713\mods\Military Tool Kit\media\scripts

Jeffigy 49 minutes ago
@MrXoT can confirm, refueling problem exists within the dependency mod "Military Toolkit." In order to solve this, go to your workshop folder for zomboid, find number 2705406713, and delete the words "Water" I think there were 4 total. I deleted *only* those words, and now can refuel and happily run around in my APC
Foslix 23 Sep, 2022 @ 2:14am 
breaks vehicle wheel
LordZarmack 5 Aug, 2022 @ 2:39pm 
Getting bitten through the windows as if there's no armor or metal on the thing, notice the same issue with other vehicle mods too.... something has broken most vehicle mods since.
🎮𝕃𝕣𝕝𝕨𝕠𝕝𝕗 8 May, 2022 @ 7:43pm 
After the update, i can't enter the vehicle on the driver's seat, gives an error, can enter through the back. And the hatch animation is stuck the first time exiting, and need to exit again for it to close, i guess there's still conflict with other vehicles animations. I'm using B41.68 on a vehicle i already had.
ninjawizard 28 Mar, 2022 @ 3:14pm 
Nice!
Lexx 21 Mar, 2022 @ 11:45pm 
It seems your mod is conflicting with vehicle animations in some way. With your mod enabled, if I try to animate any of my W900 vehicle parts, they will disappear (example, opening the hood).
Taeleus 10 Mar, 2022 @ 8:48am 
This mod seemed to interfere with antibodies mod. Would not let me login to my server until I removed this mod. Used to work pre-41.66 but does not appear to work, for me anyways, since the update.
Monario 5 Feb, 2022 @ 3:07pm 
@Papa_Chad -- Well if it's a question of making sure your mod works well with other mods, I'd say do it :P People never use one single mod, and the moment one mod doesn't play well with others, that's a sure way to make those people stop using that mod xD

Maybe you could just try talking to them and see what you two can come up with?
Papa_Chad  [author] 5 Feb, 2022 @ 2:38pm 
@Monario Thanks for the message, I'm aware of the problem, it was my fault for not putting it on the "known bugs" list, the mod needs a lot of updating but I'm unsure about changing because the game doesn't provide me with a good basis for it, the mods from the iBrRus guys still don't work well in MP, so I don't know what to do.
Monario 5 Feb, 2022 @ 11:08am 
Oh whoops... didn't see your conversation with Wipe about likely the same issue. My bad!
Monario 5 Feb, 2022 @ 11:05am 
P.S.: Copied his words 'cause I know jack squat about modding :P All I know is when you go to open the hood of the new vehicle (and possibly others like the Mustang), the hood of the vehicle disappears (only an aesthetic bug).
Not posting the link to their mod unless you want me to o/
Monario 5 Feb, 2022 @ 11:02am 
Well, more specifically, it probably clashes with *their own* vehicle library, not the vehicle mod itself, but that's just speculation from there xD
Monario 5 Feb, 2022 @ 11:02am 
@Papa_Chad -- Hey o/ First off, gotta say I've been using the tank for a long time now, and still love it :P

That out of the way, there seems to be an issue with this library, in that it clashes with the new Dodge vehicle from the Tsar folks. In iBrRus's own words:
"It overrides the door opening function (and the hood is a door) for all vehicles, causing the 3D model of the hood to be disabled.".
"I can't patch this because it's a bug in his mod.".

Thanks in advance!
Papa_Chad  [author] 4 Feb, 2022 @ 9:46am 
@Tech I'm studying to try to find out what's going on, thanks for reporting.
Sorry for the delay, I've been without internet for the last few days.
Tech 3 Feb, 2022 @ 10:25am 
Either M113 APC by Papa_Chad or the supporting Military Tool Kit currently conflicts with Mod Options (Build 41). Mod Options is a necessary support for a number of other mods such as Brita's Weapon Pack and others. Just FYI
Papa_Chad  [author] 23 Jan, 2022 @ 3:15am 
@Wipe Thanks a lot friend, I'm not from the programming area, I'm just a guy who really wanted to see Tracked Military Vehicles on Zomboid and I was trying until I got something functional (it's a mess in the programming part LOL), thanks for the tip, this will help all the people who downloaded my mod and are having problems. Thanks again.
Wipe 23 Jan, 2022 @ 12:17am 
Check for some kind of unique vehicle part, tied to mod functionality?

https://pastebin.com/6DuLgjxS

That's more or less how i'm checking if vehicle has a specific part, before doing literally anything with it. Function returns nil = not a vehicle i'm looking for = exit hook. part:getInventoryItem() is there to make sure part wasn't uninstalled.
Something like that, most likely need tweaks depending what part you checking for.
Papa_Chad  [author] 22 Jan, 2022 @ 5:28am 
@Wipe Do you know how to solve it?
Wipe 21 Jan, 2022 @ 4:54pm 
Breaks vehicles which are using animated parts

If you have vehicle with custom animated part(s) acting as doors, this mod will hide them when opening animation is played. Doesn't matter if vehicle is using provided template or not, vehicle is fucked either way.

Mod is showing/hiding vehicle parts without ANY checks if vehicle it edits should or want to be processed by Vehicles.Update.PAPA_CHAD_Door() which is called by ISOpenVehicleDoor hook.
Swept 16 Jan, 2022 @ 10:39am 
It breaks even without Mod Options on the server. I have all the mods from the OSHKOSH creator and it conflicts with those.
Papa_Chad  [author] 16 Jan, 2022 @ 5:24am 
@Swept What kind of problems were you having?
Mod Options is very intrusive to the game, and its last update is from September (long before the launch of Multiplayer), so I believe the problem is not with my mod... Thanks for the feedbeck.
Swept 15 Jan, 2022 @ 10:37pm 
This mod was fucking up my Multiplayer server. If you're getting errors about !!ModOptions or !!CustomModOptions it's this mod.