FS17_seasons icon indicating copy to clipboard operation
FS17_seasons copied to clipboard

Soil compaction

Open reallogger opened this issue 8 years ago • 4 comments

  • [x] Fix for crawlers
  • [x] Fix the setDensityMaskedParallelogram on L155 in ssSCspec
  • [x] Need to set cultivatorDecompactionDelta in ssSC. Get the value from the active cultivator.
  • [x] Increase cultivatorDecompactionDelta when cultivating radish
  • [x] Set speed limit when driving with low tire pressure
  • [x] Currently, compaction is shown only when ground is not frozen. Keep it like this?
  • [x] When outside, near the vehicle/implement, print the compaction category for the most loaded wheel (heavy compaction, medium compaction, light compaction, no compaction)

reallogger avatar Aug 12 '17 07:08 reallogger

  • [x] Rename SC / C to their proper names all over

joskuijpers avatar Aug 12 '17 23:08 joskuijpers

I'll try to take a look and see if I can help this week

theSeb1979 avatar Aug 14 '17 17:08 theSeb1979

Hello I would like to offer my help.

UnderminedArcus avatar Dec 14 '17 19:12 UnderminedArcus

Okay: I merged it and made it work again, I think.

  • [ ] Show compaction for tractor when incab
  • [ ] Detecting all-tracked also needs to happen when updating configuration

Issues:

  • sometimes ssAtWorkshop does not recognize any machine if attached to a tipper.
  • there is no effect when getting that warning. Should there be an actual concequence? Like driving slower or losing power? (not cutting off but just that is lowers your speed)
  • i filled the default GCV tipper with wheat, but still says light compaction?

Ideas:

  • Add sounds for adding pressure and lowering pressure PSSSHHHTT
  • Do not use the workshop but a placeable like the high pressure washer: a compressor. Also gets rid of the new keybinding. Maybe using a raycast is even the most performant way to implement it, instead of checking boundaries every tick.
  • Option in the vehicle XML to enable mod tractors to have automatic incab pressure control
  • Make pressure change take time (animation?)

Steps

ssAirCompressor

  • [x] Create a new shop item: a placeable like the HPW
  • [x] Create a new Object class for this placeable, like HPW with a device you hold
  • [x] Make this placeable raycast the vehicle and add a second button
  • [x] Increase/decrease pressure if vehicle has ssTirePressure
  • [ ] Model @stijnwop
  • [ ] Sounds @stijnwop
  • [ ] Shop icon @stijnwop
  • [x] Pressure between 0.8 and 2.0(?)

ssTirePressure

  • [x] ssTirePressure saves pressure and controls visuals.
  • [x] Speed limit dependant on load (or maxLoad depends on wheel pressure?)
  • [x] ssTirePressure has incabin controls if designated by mod maker
    • [ ] Add duration of adding and remove pressure, with sounds
  • [ ] Multiplayer event for setting pressure -> move to AirCompressor?
  • [x] Make step pressure into linear between 80 and 180.

ssSoilCompaction

  • [ ] Twin wheels

ssCompactionManager

  • [x] Overwrite FS code to implement new effects of compaction
  • [x] Overwrite Overview for new display of compaction
    • [ ] Add colors for colorblind mode (Yellow based)
    • [ ] ~~~See if we can add the colors to the legend~~~

ssDeepCultivator

  • [x] Make work
  • [ ] Show in garaga and shop it can deep cultivate
    • [x] Extract determining of deepCultivator into CM
  • [ ] When SC is turned off, reset maxForce (in :updateTick?)
  • [ ] Multiplayer event for setting deep/shallow

joskuijpers avatar Jan 10 '18 23:01 joskuijpers