Jump to content

Ridick

Member
  • Posts

    17
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The way the formula that calculates the final condition for a spear with an additional weapon attached to it is causing unintended behavior. Spears with attachments never receive full condition upon crafting even if both weapons used in the crafting are in full condition. The highest amount of durability received is usually about half of the maximum even when both weapons used to craft it are in maximum condition themselves. The culprit are the following lines inside recipecode.lua: The problem is that the base crafted spear has a lower maximum condition than all of the spears with attachments, the same being also true for many of the blades used, yet the formula uses direct additions and subtractions instead of ratios. The ideal solution would be instead to take the proportion of the condition of the spear in relation to it's max condition [conditionMax = items:get(i):getCondition() / items:get(i):getConditionMax()], then do the same for the blade [conditionMax = conditionMax - math.abs( items:get(i):getCondition() / items:get(i):getConditionMax() - 1 )] and use the result to multiply for the maximum condition of the final spear [conditionMax = result:getConditionMax() * conditionMax] in order not to have inconsistencies while converting between different maximum conditions.
  2. I have seem a lot of people saying that they have clocked 600+ hours in the game and still aren't bored with it. The map is really huge and you can spend as much time exploring and playing with it as you are willing to.
  3. That is the base multiplier. Start and peak multiplier will multiply on top of this initial multiplier. The formula for day one is ( Population Setting x Population Multiplier x Population Start Multiplier ) whereas the one for peak day is ( Population Setting x Population Multiplier x Population Peak Multiplier ).
  4. Unless they added something new with 41.73, then I don't remember there being such an option. What the 'peak day' settings does is define how long (in days) it takes until the the day where the peak multiplier takes full effect.
  5. 100% agree. I play with zombies set to "tough" health and spears still reliably kill most of them in 1 hit because my character is strong. They are so good that I don't even use guns because those actually take a bunch of hits to kill. xD
  6. Yeah fire kinda of kills you instantly, it's a bit silly really. I figured it out the hard way myself when I tried tried to put out a fire using a cooking pan full of water and as my character auto-pathed towards the fire she stepped in the flame and instantly conflagrated in like 2 seconds. xD
  7. I'm pretty sure that if you set it to "none", then no zombies will spawn no matter the settings in the advanced tab. 1 x 0 = 0.
  8. It's pretty much exactly what it says on the tin; they are numbers that will multiply the amount of zombies spawned. The population multiplier alters the total amount of zombies that spawn, but it is important to remember that it is meant to be a modifier over the actual base setting of zombies at the "population" tab. It will multiply from THAT baseline (i.e. if you put that one on very high and leave the multiplier at 1.0, you will still get a lot of zombies). Also, I have noticed that if you slide it all the way down to zero, but don't set zombie population to "none", then you still get some zombies (specially inside buildings, where I think the spawn mechanics don't quite work the same way as in the open map). Start multiplier will further multiply the result from "Base Population Setting x Population Multiplier" at the starting days of the game, generally it is better to leave it at 1.0 if you don't want some extreme amount of zombies that setting the base multiplier to 4x won't suffice to achieve. Peak multiplier will further multiply population settings after the world reaches the peak day. It can be used to make the number of zombies that spawn in the world either increase or decrease over time. I don't know which population density you are aiming for, but personally I think the default spawn settings do feel very much like "horde mode". If you want a more realistic experience you should lower the base multiplier to something between 0.1 and 0.5 and leave the start multiplier at 1.0 and the population setting at 'normal'. But if what you want is simply the "normal density" +50%, then you probably should look at the population tab and make sure that it is set to "normal" and leave the start multiplier at 1.0.
  9. Ridick

    41.73 Released

    Only when the radio spawns as 'on', right? It did be pretty silly if radios that were turned off also had their battery totally drained. xD
  10. That is an interesting question. I just did another test to confirm if this works or not. I started the game on debug mode and did a bit of modding beforehand to make tires instantly take damage when driving offroad, then I experimented with driving over all sorts of different surfaces and have learned the following: Only asphalt roads seen to count as roads to the game (there are 3 types of asphalt in-game, the black one for highways, the grayish one used on smaller roads and the light one used on rural roads, small neighborhoods, sidewalks, footpaths and such...). Roads made out of dirt, gravel and (probably, although I didn't test this one specifically) wooden floors do not count as roads, which leaves players without any materials with which to build valid roads. So, the short answer is no.
  11. Putting a whole metal locker inside of your backpack sure isn't realistic, but I think the problem there is the size of the object rather than it's weight. A heavy but small object (like a car battery or a sledgehammer) should still fit inside of a backpack.
  12. So, I have spent a while testing vehicle damage on debug mode and looking at the Lua code and I have discovered I few things about vehicle damage that might be useful to other players and modders and I wanted to share it with you all: * The system for wear and tear of parts is quite similar to the one for weapon damage in the sense that there is a strong aspect of random chance to it. A random number is generated every "update" and if you get an unlucky roll the part will be degraded a little bit. * Vehicles only degrade while they are being driven. Your tires don't lose pressure over time while parked or anything like that. Edit: Some notes on this; I am referring only to tires, brakes mufflers and suspensions here (which are most of the parts that actually degrade with use), your engine can still degrade over time if left running (so long as the hood is absent or at 0% condition) and you can still lose gasoline from a damaged gas tank (so long as the engine is running). I also did not test if parts degrade on a vehicle that is being towed, but I would assume yes. * Tires will sometimes lose pressure when you are driving the vehicle, though. * The speed at which you are driving and how hard you are steering are important factors that greatly impact the chances of wearing down your tires, suspension and brakes. The faster you are going and the tighter the turns you are making, the higher the chance of getting a damage 'tick' to those 3 types of part. * It is still unclear to me, however, if driving slowly will necessarily result in less wearing down of parts per distance traveled, since traveling for a longer time should result in a larger total number of 'updates' that can potentially cause damage each. * Brakes suffer wear and tear quite fast. The code does have increased chances for damage ticks when braking at higher speeds, but in practice I have experienced high damaging even while driving relatively slowly due to the effect I stated above. * Driving offroad massively increases the chances of wearing down your tires (up to 13x more). * Mufflers will suffer wear and tear under the same circumstances as your suspensions. Presumably to simulate it hitting the ground on a bumpy road. * The bumping from driving over corpses does not seem to actually deal any damage to your suspension or tires. It's purely a audiovisual effect for the time being. * As of yet, it doesn't really seem like the suspensions take more damage when they are being driven offroad, over the curb or anything like that. * All of the parts can only take integer damage (i.e. full numbers), there isn't a hidden 0.001% damage that your parts are slowly taking all of the time or anything like that. * The vehicle's battery and gas tank are somewhat an exception to this rule in that the battery charge and gas amount are each defined by a float number (Not their actual condition though, that is still an integer). * The amount of fuel consumed by an idling engine is very small, practically negligible and quite unrealistic. It would take many days to empty a full tank this way. * Despite patch notes stating that this bug has been fixed, parking a car near an active generator seems to still charge the battery. Looking at some of the code found in the 'Vehicles.lua' file, this seems very much intentional, rather than a bug. Edit: This is no longer the case as of version 41.73, I might have gotten my patch note versions mixed up, sorry about that. * The whole way power is consumed is very unrealistic. Headlights, radio, lightbars and sirens each consume the exact same amount of electricity each, whereas in the real world a set of automotive incandescent lights would consume something on the 100 watts+ range and a regular radio only 20-40 watts. Leaving your headlights active should completely drain the charge of even a modern vehicle in less than a day, but in Zomboid it takes about 5 days for headlights to achieve the same. The AC consumes more electricity than the rest, but not much more, whereas real life vehicular AC systems work on the KiloWatt range. The engine starter is the worst offender as starting your engine eats up a huge chunk out of your battery charge (2.5% total). Old car batteries from the 90s could hold 600 Watt/Hours worth of charge, whereas a car engine starter consumes 1kW, so a full battery should be able to power a starter for 36 minutes straight which is enough to start an old and stubborn-to-start engine half a dozen hundreds of times, whereas in the game you can only start the engine 40 times on a full battery charge which is more than 10 times less efficiency than what you should get even with the technology from the era and forces you to to leave your engine running constantly when you really should be worried about saving gasoline instead. I really wish the devs would change this to be more realistic. Sorry about the mini rant... * Honking doesn't seem to consume any battery charge at all. * The condition of the AC/Heater doesn't seem to affect anything, it still works fine even at 0% condition. Probably a bug or oversight that will eventually be fixed. * Having closed or open windows does affect the temperature inside your car! Closed windows will make your car be very hot during summer days and lukewarm during the winter. Open, smashed or removed windows will equalize the temperature with the exterior and prevent the AC from working effectively. This is a really neat feature! * Some vehicles have far more powerful AC/Heaters than others. The Mercia Lang 4000 seems to have the most powerful one of all. * The AC in some vehicles can reduce the temperature inside to below zero! It would be an interesting little strategy to put icecream on the passenger seat and have it not melt by having the AC always on, basically having your own mobile fridge, but this feature has not been implemented (yet, hopefully). * Damage from crashes is different from the one for wear and tear in the sense that it is less random. Only the amount of damage each part takes it's random, but it is clamped to a tight range and heavily dependent on the speed of the crash. * There is an upper bound to the amount of damage your car can take from a single crash. Your sports car won't be instantly totaled from a 125 miles/hour crash. * The crash system seems to only interpret crashes as being "from the front" or "from behind", you never take damage only from the sides. * This also means that crashes straight from the front or back will still damage your doors and side windows. * Crashes from the front will damage your headlights, engine (sometimes), hood, windshield and doors. * Crashes from the back will damage your taillights, trunk (but not on all vehicles, open bed trucks seem to be immune to this), trunk lid, muffler, rear windshield and doors. * The engine will not take damage from crashes if the hood isn't damaged itself. * The engine will take damage from overheating if the hood is in poor condition or missing. (I don't follow the logic here, but it's the way it works in the game) * Having a severely damaged trunk or trunk lid will cause stored items to drop in the road as you are driving. Forgetting to close your trunk, however, doesn't cause items to fall off. * Open bed trucks are currently immune to this due to the fact they don't have a lid and never take trunk damage, but there is some commented out code that implies those open beds were meant to drop out your items if you were driving really fast. * Some parts seem to never take any damage due to crashes (battery, gas tank, tires, brakes, suspension, seats, glove box, heater, radio and lightbars). * With the exception of tires, brakes and suspension, all of those parts I just listed don't seem to actually ever take damage from anything besides bad mechanics causing damage to them while taking them out or installing them (with the exception of lightbars, glove boxes and heaters, which can't take damage even this way). * Headlights and taillights only take damage from crashes, they don't wear out from actual use (there is a comment on the code saying this is on the ToDo list) * There is a relatively high chance that you will damage vehicle parts by 1% when you are uninstalling them from a vehicle. The lower your mechanics skills, the higher the chance. After you reach mechanics level 7, this chance is eliminated. * There is another, different and parallel check, that gives a chance to not only fail, but to also damage a vehicle part when you are either uninstalling or installing it on a vehicle. This one will damage a part by a random amount between 5% and 10%. Some Updates on Fuel Consumption: * As I have mentioned, while idle your engine will consume basically no gasoline. Most of your gasoline will be consumed while you are actually driving your car around. On the other hand, your battery does get discharged very fast by the engine starter, so currently the best strategy is to leave the engine running unless you aren't going to drive again for several in-game hours. * There are two main factors that control the consumption of gasoline, the first is the speed you are going (which simulates the effect of aerodynamic drag) and the second one is how far away you are from a gear shift (which is realistic since real world engines do have specific RPM bands where they operate at their highest efficiency). If you use cruise control to keep your car always going at that specific speed where the RPM needle stays right in the middle between a gear-swift up and gear-swift down, then that should give you the best kilometrage. * The 'quality' rating on engines does affect the rate of gasoline consumption, but this is a very slight effect; even the high end of quality ratings (around 60) will only increase efficiency by about 20%. * Having a damaged gas tank (condition lower than 70%) will cause you to lose gasoline over time when the engine is running. The more damaged it is, the faster you will lose it. No gasoline is lost when the engine is turned off, however. * Having the AC turned on does increase the consumption of gasoline slightly. This is realistic since those draw so much power that the alternator has to work extra hard, however there is no accounting for it drawing more power when the car is turned off, so having the AC turned on when the car isn't running draws the same charge from the battery as when the engine is on. * The AC will have a more powerful cooling or heating effect when the engine is turned on though.
  13. I agree with this. Not being able to see anything yourself while zombies can still see you from 20 tiles away is not fun. Currently the way I get around this issue is by adjusting the sandbox settings so that zombies are less active at night (which is not fully realistic because it also affects their hearing, but still better than being spotted in pitch blackness) and setting the FogFX to minimum (that way the fog never gets thick enough that it should impact their vision).
  14. If you left-click outside of the inventory, that will close the inventory. I do think they should add a mention of that in the tutorial though.
×
×
  • Create New...