Project Zomboid

Project Zomboid

102 个评价
Time Decreases Vehicle Condition [B42]
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
211.605 KB
3 月 20 日 上午 8:41
1 项改动说明 ( 查看 )

订阅以下载
Time Decreases Vehicle Condition [B42]

描述
Updated version for b42 of my mod Time Decreases Car Condition.

HOW IT WORKS

This mod adds a chance to greatly damage/remove vehicle parts CHECKED ONCE, WHEN THEY SPAWN. That chance will increase as time passes and can be customized in sandbox settings.

Once a vehicle has been checked for damage (when they spawn), IT IS NEVER CHECKED AGAIN.

This means that the vehicles that have spawned at the start of the game around the player WILL NEVER GET DAMAGED AGAIN. It is only the new vehicles spawning when the player explore the map, that get damaged.

Inspired by Planetalgol's "Worse Vehicle Condition". All credits go to him for the orginial idea.




The Sandbox Settings :
  • Start Day : (default = 1)
  • Peak Day : (default = 50)
  • Start Chance to damage/remove parts : (default = 1) Applied before and on Start Day.
  • Peak Chance to damage/remove parts : (default = 50 ) Applied after and on Peak Day.
  • Check chance for removing parts: (default = true ) Uncheck this to disable removing parts
  • Check chance for damaging parts: (default = true ) Uncheck this to disable damaging parts
  • Check chance for breaking locks: (default = true ) Uncheck this to disable breaking locks
  • Check chance for decreasing battery charge: (default = true ) Uncheck this to disable decreasing battery charge
  • Check chance for deflating tires: (default = true ) Uncheck this to disable deflating tires
  • Vehicle part chance multipliers: Chance multipliers for each type of part

Starting from the Start Day, the chance to damage/remove parts will gradually increase until it reaches the peak chance, on Peak Day. After Peak Day the Peak Chance is always applied.

For reference : to have it on the same level as Planetalgol's worse vehicle condition you would need to set the chance ~= 40 %.
Note : The chance is applied ON EACH VEHICLE PART of a vehicle, and more often than not, it is applied more than once per vehicle part. It is not only once per vehicle. So if you set more than 50% that is extremely high!

A different fraction of the chance is applied to different vehicle parts. Some are applied the full chance once, others are applied half the chance, but twice. You can tweak these chances with the sandbox settings.

Compatibility :

It should work with most vehicle mods.




Workshop ID: 3448375286
Mod ID: TimeDecreasesCarConditionB42
热门讨论 查看全部(1)
1
9 月 16 日 下午 7:09
置顶: Suggestions
Champy
30 条留言
rub5.m4ld0n4do592 8 月 5 日 上午 11:43 
At the start of my play I got a pick up van with full condition, but as the time is going the trunk and gas tank condition is decreasing, it started with 108 weight capacity and is now at 87, and the gas tank is starting to leak fuel, is this part of the mod in build 42?
Monkey Magic 7 月 5 日 上午 10:25 
@Boge - I think the start day is the day you start playing, so it shouldn't make a difference whether you set the game to start with initial infection, or 6 months later.

Incidentally, I set the start day for this mod at 28 days (about a month), as most vehicles should only start to show signs of neglect after the first month of zero maintenance. I set the peak day to 168 (around six months) based on this principal.
Boge 6 月 17 日 下午 4:04 
Does this mod start from day 1, meaning if you start two months in, 60 days have already passed?
Maltebyte 5 月 21 日 上午 10:59 
will this work with other mods and military vehicle mods?
W3VO 5 月 1 日 下午 2:45 
Hola amigo sera posible hacer un mod a parte o agregar una opción a este mod que solo quite la carga a todas las baterías, porque la opción que hay es que desaparezca la batería. Gracias!!:spiffo:
Redacted 4 月 22 日 上午 8:12 
@Champy - My handle/name is 'Redacted' (which is not by coincidence) :P
But feel free ofc :happy_seagull:
Champy  [作者] 4 月 22 日 上午 8:10 
@Redacted All right, thanks, if I update it I'll make sure to mention you
Redacted 4 月 22 日 上午 8:08 
@Champy cool. No guarantees, but I'll make a note in case I have time and feel like it. :steamthumbsup:
Champy  [作者] 4 月 22 日 上午 8:06 
@Redacted All right I've opened up a discussion
Redacted 4 月 22 日 上午 8:05 
What I mean is 'interfacing' the mod options in a proper way or something, when I say 'something about .lua I don't realize'. I don't know how efficient coding in .lua works (OOP etc).