Project Zomboid

Project Zomboid

Power Window Controls
30 Comments
UndeadLokemaniac 29 Jun @ 12:58pm 
I love this mod and I hope it gets updated for b42 at some point. I used it all the time with b41 and when I play on it, I still use it.
iDestin 26 Jan @ 6:07pm 
@Wolf thank you, believe your mod isn’t an issue believe someone was just abusing a speed cheat
Wolf  [author] 25 Jan @ 10:22pm 
@iDestin
I see. I haven't touched B42 myself yet, but it does sound like they changed something fundamental, based on that error.

I'll try to check it out some time; sounds like I might even end up having to make a separate version for 42.
iDestin 25 Jan @ 1:22pm 
This mod needs to be fixed if moving forward for B42
iDestin 25 Jan @ 1:22pm 
function: showRadialMenu -- file: WolfWindowControl.lua line # 102 | MOD: Wolf's Window Controls
function: onKeyStartPressed -- file: ISUIHandler.lua line # 52 | Vanilla
java.lang.RuntimeException: attempted index: isOpenable of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:106)
at zombie.GameWindow.logic(GameWindow.java:249)
gleeby deeby 22 Nov, 2024 @ 9:18am 
Four-door cars are suddenly a lot less frustrating to vent on a hot day. Thanks so much for this mod!
Wolf  [author] 7 Nov, 2024 @ 4:23am 
@Antonwerffds This should be compatible with any mod cars as long as they have windows internally defined as the six options above. So most.

This should at least create no conflicts, so even in the worst case scenario some vehicles (or only some windows in some vehicles) will just not have remote control featured in this mod, but the game will still run with no errors.
Antonwerffds 7 Nov, 2024 @ 4:01am 
Does this KI5 cars accept ?
Wolf  [author] 13 Oct, 2024 @ 7:49pm 
@Ryan No, that one is from something else and I honestly don't even remember what. Only the window actions are added with this addon.
Ryan 12 Oct, 2024 @ 6:51pm 
that (P) sign is it from this mod or from another mod? and what does it do?
Wolf  [author] 7 Apr, 2024 @ 10:19am 
@Tnaz.v The real trick here isn't about the amount per se , but rather the identifiers (internal names, essentially) of the individual windows. My code only accounts for the specific six identifiers listed above, in the description, so in a vehicle with more than six windows, at least some of those windows will definitely be unaccounted for. Six, or less, or even none will work, all depending on how the vehicle mod's creator decided to name the window parts when coding. It only works with most vehicles because typically mod makers use the vanilla naming convention to not do unnecessary extra work.
Tnaz.v 7 Apr, 2024 @ 3:18am 
If the car has more than 6 seats, does it work the same?
mickjohnsondammit 24 Mar, 2022 @ 7:32pm 
Yeah, kinda common but like an '86 Colt? No, those were manual. 84' cutlass? Manual again. But as options, like a '74 LTD Brougham? Oh yeah, just like Grandma's car. "Widespread... kinda? Either way its not a bad deal as a mod goes. fwiw, I could have a beer between my legs, one hand on the wheel and get most windows open with my free hand. The only thing was that I usually had to balance and I'd put the gas pedal waaay down when I jacked with the rear passenger window. The big boats, forget it, like the '73 Impala: nfw unless you were like 6'6" (but you could get 8 juvenile delinquents in those suckers.
FatherSarge 22 Mar, 2022 @ 7:38am 
Wolf  [author] 21 Mar, 2022 @ 10:14pm 
Addendum: I've realized there are even more patches changing Filibuster's RV out there these days, so do tell if you were using any when you ran into the issues.
Wolf  [author] 21 Mar, 2022 @ 10:01pm 
@FatherSarge
Yeah, it's been a while (and a huge game update) since I released this, so I guess things changing are in order.
However, my mod really does just the bare minimum of putting a command on the UI - what's likely happening here is that existing issues with the base game and/or the addons in question that one would otherwise not see are laid bare.
I'll have a look some time and if I find some workable solutions, I'll either update this or perhaps release separate compat patches. Can't promise to do it quickly though as spare time is in short supply these days.

As far as Filibuster's RV goes, were you using it in its original configuration or did you use Arsenal[26]'s patch? The latter completely changes the seat layout of the vehicle, so that's important.
FatherSarge 21 Mar, 2022 @ 12:25pm 
This mod could use a compatibility pass with Filibuster's Mod, throws errors when you open windows, some of the RV seats can't be fired from, etc

Could you take a look at KI5s Commando mod for compatibility too? https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2478247379

Can only fire out of seats 1 and 2, but all windows can be opened (throws errors though)
Mutante de uma Figa 20 Feb, 2022 @ 5:34am 
This is good for multiplayer. The other players can shoot the zombies from the other seats and I can manage the windows to protect them.
Gashimahiron 9 Jan, 2022 @ 11:46am 
Great, now i just need to find me a script that locks all the doors when the driver side door is manually locked!

Maybe someone made a mod that lets you turn on and off the car alarm with the car key from a distance, just to add that much more 90's daily crap.
Koshka 5 Jan, 2022 @ 1:20am 
*rolls down window and tosses some shitty internet points to the corpses*
Koshka 5 Jan, 2022 @ 1:19am 
i like this mod for the realism actually zomboid rp is very important
Wolf  [author] 21 Nov, 2021 @ 6:52am 
@pick pick pick pick pick pick

As far as I know, this doesn't really provide any gameplay-related benefit, aside from maybe saving one the trouble of climbing to a different seat to close a window that's been left open. As the description states, this was made mainly to alleviate an accessibility issue with certain modded vehicles and, I suppose, maybe add a completely pointless bit of realism.

I'm quite positive this should work with any saves and any modded vehicles, unless those feature a type of window that's unique to them.
pickpickpickpickpickpickpickpick 21 Nov, 2021 @ 4:55am 
What benefit does opening windows behind you add? And does this work on existing saves?
Wolf  [author] 11 Jun, 2021 @ 10:38pm 
@_TheBunnymaster_
Well, that's nice to know. Thanks!
_TheBunnymaster_ 11 Jun, 2021 @ 3:03pm 
Don't worry about lore for this awesome little gem. Power windows came in most of the 'loaded' or 'XLT' packages of vehicles in most form factors except for bare-bones pickup trucks, and even those had separate packages for the larger cab sizes that included power windows and locks.
Wolf  [author] 9 Jun, 2021 @ 1:33am 
Made a thread for string translations. Feel free to see the lines and submit your translations there if you're interested.
Vaeringjar 8 Jun, 2021 @ 10:14pm 
that thumbnail is so adorable lol
Wolf  [author] 8 Jun, 2021 @ 5:11pm 
When I'm back from work I might make a pinned thread with it in a more accessible fashion.
Wolf  [author] 8 Jun, 2021 @ 5:10pm 
@Bazooka
You can find it at Steam\steamapps\workshop\content\108600\2511087277\mods\Power Window Controls\media\lua\shared\Translate
It's just a dozen lines, "Open/Close FL/FR/ML/MR/RL/RR Window", the acronyms standing for "Front Left" and so on.
Daxiwang 8 Jun, 2021 @ 9:31am 
Can you provide translation content?:spiffo: