Project Zomboid

Project Zomboid

[B42] Bicycle! (lite)
46 Comments
tilarium 22 Jul @ 10:19am 
Oh awesome to hear! Can’t wait for it
RedChili  [author] 22 Jul @ 9:54am 
@tilarium The main version should work with Inventory Tetris after the rework I'm planning
tilarium 22 Jul @ 9:05am 
Loving your bikes! I just wish there was a way to use the full version with Tetris. But even still, I’m enjoying this lite version .
Cosmo 20 Jul @ 9:38am 
@RedChili and yeah there is a lot of errors)
Cosmo 20 Jul @ 9:33am 
@RedChili a already reported that main version have problem with flashlight too)
RedChili  [author] 20 Jul @ 9:19am 
@Cosmo Yes exactly, but due to this the wheels don't spin, and there's no flashlight attachment.

Hopefully this mod will be obsolete when I rework the main version.
Cosmo 20 Jul @ 8:14am 
Hey @RedChili So the main difference between this mod and the main one is that there is no modular system, the bike comes with all the modules at once and itself acts as a container, unlike the main mod, where each module is a separate container?
Cosmo 19 Jul @ 4:30pm 
Hey @RedChili Please fix bicycle capacity to match original mod: 26+20+15=61
Current lite version is 51 Also lamp doesn't working.
PuzzyDiztroier 11 Jul @ 8:08am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
RedChili  [author] 28 Jun @ 7:35am 
@kArMaFPS Don't worry bro, I will fix the error with my mod :steamthumbsup:
kArMaFPS 27 Jun @ 3:42pm 
@RedChili bro, i dont understand ....Any mods requires a new save game, fresh spawn for working :steamfacepalm:
RedChili  [author] 27 Jun @ 12:05pm 
@OG-Prankster Unfortunately this version doesn't have the attachment system that allows me to put stuff on the bike, because that system is what makes the main mod incompatible with other mods.
If you have other mods that let's you attach a flashlight to your belt or backpack then it should still let you use it while you're on the bike.

I can see if maybe I can make the bike come with a light pre-attached, just not sure how to make that work, but I'll look into it
OG-Prankster 27 Jun @ 8:13am 
light would be great bikes come with dynamos. or at least a option to attach a torchlight
RedChili  [author] 27 Jun @ 1:01am 
@kArMaFPS Ah yeah, that happens if you activate the mod in the main menu instead of just on a specific save. But it should not cause the game to crash unless you have some other mod also active that loops that key for some reason.
I'll make a fix for it, but just FYI, it's generally advised not to activate mods in the main menu, and instead only activate them per save. You're way less likely to have breaking issues that way.
kArMaFPS 26 Jun @ 7:51pm 
This mod causes several critical errors that cause RAM and CPU consumption to be high enough to crash the game.


Critical Error in Mod [B42] Bicycle! (Lite)
The game attempted to call getSpecificPlayer() before the player was fully loaded, within the onKeyPressed event.

This caused repeated IllegalArgumentException exceptions at a high frequency:

lua
Copy
Edit
function: onKeyPressed -- file: Bicycle.lua line #78 | MOD: [B42] Bicycle! (Lite)
Exception thrown: java.lang.IllegalArgumentException
RedChili  [author] 25 Jun @ 4:12pm 
@margachico0 Try unsubbing and re-subbing to the mod, it should be fixed already. If it's still happening after there could be a mod conflict, but there shouldn't be tbh.
You could try putting the Bicycle mod at the bottom of your mod list
margachico0 25 Jun @ 2:21pm 
hey when I try to equip any weapon it just does into my inventory
CyberSemtex 25 Jun @ 12:48pm 
Update: not crashing anymore after I fixed another mod. My bad. The error is still in the logs tho.
RedChili  [author] 25 Jun @ 10:39am 
That's weird, I'll take a look
CyberSemtex 25 Jun @ 9:32am 
Hi! Great mod you have here. Unfortunately, there's a stack trace when running the mod: And it crashes my save:

```
LOG : General f:0, t:1750868775302> AnimNode.Parse threw an exception reading file: media/AnimSets/player/turning/turn_idleToWalk_180L_bicycle.xml
ERROR: General f:0, t:1750868775302> ExceptionLogger.logException> Exception thrown
zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/AnimSets/player/turning/turn_idleToWalk_180L_bicycle.xml"
Caused by:
java.io.FileNotFoundException: media\AnimSets\player\turning\turn_idleToWalk_180L_bicycle.xml (The system cannot find the file specified) at PZXmlUtil.parseXml(PZXmlUtil.java:51).
```
RedChili  [author] 25 Jun @ 9:04am 
@OG-Prankster Try unsubbing and re-subbing to the mod, that issue should already be fixed
OG-Prankster 25 Jun @ 8:59am 
since today after driving a bike i not longer able to equip a weapon. the animation of equiping plays but the hand is empty right after
RedChili  [author] 25 Jun @ 4:01am 
Updating now with fix for 50 capacity and when equipping another item/weapon while on the bike (the bike will now be dropped on the ground)
RedChili  [author] 24 Jun @ 8:42am 
I fixed the issue with the 50 capacity limit in a clean way, just gonna do some more testing and then I'll drop a hotfix.
RedChili  [author] 24 Jun @ 3:20am 
It seems some mods interfere with the equip action, I had no issues when holding shift and equipping the bike when just my mod is active. But I used a mod collection from someone else and I started having the same issue.
I might just have to block the equipping while running, walking or standing still seems more stable.
JollyBeawr 23 Jun @ 7:10am 
Workaround for invisible bike when equipped, make sure you're not holding shift when entering, it makes the bike nervous :KOh:
Corona2172 22 Jun @ 7:37pm 
That would be greatly appreciated. Thanks RedChili!
RedChili  [author] 22 Jun @ 3:38am 
@Corona2172 I think I can fix that by doing the same thing I did to make b41 MP work, I'll look into it
RedChili  [author] 22 Jun @ 3:37am 
I'll look into the 50 capacity thing, but might be that I just have to put in a blocker if you're about to go over.
However, since the bike is basically a backpack that gets equipped, and while equipped it makes the items inside of it have 0 encumbrance, you should be able to circumvent the issue by making sure it's not too heavy when trying to hop on, and then while on it, you put the items in the bike container.
The reason it happens is because when you equip something it first always gets transferred to your main inventory before it's equipped, and the encumbrance reduction only kicks in when it's fully equipped. There's a hard limit in the core game that caps character capacity at 50, and going above it makes real funky stuff happen.
Keef 21 Jun @ 6:31pm 
Too many bugs. Don't get the lite version.
Siphilis 21 Jun @ 2:42pm 
@micmic25 Same. It seems you can also jump onto an empty bike to reset the animations without reloading the game.
Corona2172 21 Jun @ 10:44am 
I realize that this will not be a priority at this point, but one interesting issue is that, when playing in split screen where one person is using a controller, when that person attempts to ride the bike the M&K player starts riding an invisible bike no matter where in the world they are. The only way to stop it is to find an actual bike and get on/off of it. Just a heads up.
feminist bojack 20 Jun @ 5:18pm 
Bug found - can only use a bike once. If I try to hop on bike a second time (either by pressing key or thru right-click menu) the bike-riding animation plays but the bike stays in place. Animation won't stop until I exit the game, but bug persists after restarting. The only way to fix it is to pick up the bike/place it in a container and then put it back down on the ground before trying to ride it.
micmic25 20 Jun @ 9:49am 
Looks like if picking up the bicycle would get my character above 50 weight, trying to ride the bicycle bugs animations out for me. The character walks as if they're riding the bike and cannot ride the bike. Have to quit and restart to fix character animations. Any possible way to set bike weight to an arbitrary value unaffected by the items inside? I could be wrong on the cause of this, but I've tested it with different sets of items. Seems to be the case. Can anyone reproduce this issue?
RedChili  [author] 19 Jun @ 7:14am 
I will see if I can override the action animations while on the bike easily, but if not it might just have to stay as is since it's not really game breaking.

@Dok Woya They all have the same, I might make some randomized versions later if I have time
Dok Woya 19 Jun @ 6:34am 
Do the bikes you find come with random attachments or are they all the same?
BeaThePANcake 19 Jun @ 3:59am 
any animations while on the bike make it invisible, while the cycling animation is still playing. A silly bug, but still
elizagreenfox 18 Jun @ 9:03pm 
i like the bikes a lot
elizagreenfox 18 Jun @ 9:02pm 
turning flashlight on and off after equipping made my bike invisible. good mod!
RedChili  [author] 17 Jun @ 11:38am 
RedChili  [author] 17 Jun @ 11:04am 
B41 version with multiplayer support of this is dropping in a few minutes. I have to make it a separate mod from this because there's a bug with how b42 reads animsets so if I keep them in the same it will be annoying as hell to keep everything organized
Potofeu 17 Jun @ 8:29am 
Thanks man! Great work!
Its Over 9000!!! 17 Jun @ 5:01am 
Thank you:3
RedChili  [author] 17 Jun @ 3:55am 
@Its Over 9000!!! I'll see if I can easily add a sandbox option to control the spawn rate
Its Over 9000!!! 17 Jun @ 12:29am 
Is it possible to adjust the amount of spawns?
RedChili  [author] 14 Jun @ 6:19am 
I am planning on making this version compatible with b41, including multiplayer.