Jump to content

Lawn Tractor


Zilox
 Share

Recommended Posts

This mod adds a ride on lawn tractor that can cut grass, collect grass, crops and much more.

 

Do you hate manually punching all the grass around your base? Well then the ride on lawn mower is a perfect vehicle for you. Cut all the grass around your base with ease! What started as a small Proof of concept has grown into a feature rich Mod, that should satisfy a few of your farming sim desires. We've added
a few treats here and there to make it a better overall experience.

 

Needs to be installed client and server side. And both need EAC (Easy Anti-Cheat) to be turned off! There is no server-side only version of this mod as it contains custom code. This mod needs to be installed on both client and server for multiplayer.

 

This placeable vehicle is unlocked either by finding (or buying) the schematics for the chassis and the accessories, or by unlocking Grease Monkey Level 3. In its base configuration, it can only remove grass and bushes, but doesn't collect any items. Once you equip your first Lawn Tractor, a journal entry will be added.

 

Main Features

- Grass cutting functionality
- Grass/Bush collecting
- Basic plant collecting
- Planted crop harvesting
- Player crop reseeding
- Can be dyed

 

Toggling Lawn Tractor Features

In order to enable the mowing/harvesting, you have to press F. The function will toggle alternating with the light, so to only toggle mowing/harvesting, press it twice.

Grass Collector

This is the simplest modifier that you should be able to get quite early. It will only collect items from grass and bushes, and the yield will be
significantly lower than when harvesting by hand/tool. You can get a fully functional grass collector from harvesting pristine lawn mowers. Otherwise you can find or buy the schematics, or unlock Living Off the Land Level 1.

 

Plant Collector

With this modifier you will also harvest and collect items from various other small plants, like cotton, coffee or mushrooms. Yield is also significantly lower than when harvested by hand/tool. You can get a fully functional plant collector from harvesting pristine lawn mowers. Otherwise you can find or buy the schematics, or unlock Living Off the Land Level 2.

Crop Harvester

Upgrade for the plant collector, that gives much better yield, a bit less when harvested by hand/tool though. It should be able to collect every growing crop and also gives seeds back. You can get a fully functional plant collector from harvesting pristine lawn mowers. Otherwise you can find or buy the schematics, or unlock Living Off the Land Level 3.

 

Crop Protector

Basic mod that protects all player plants, so you don't have to worry about accidentally mowing down your own plants when tidying up the surroundings. You can get a fully functional plant collector from harvesting pristine lawn mowers. Otherwise you can find or buy the schematics, or unlock Advanced Engineering Level 2.

 

Crop Reseeder

Upgrade for the crop protector, that will automatically reseed player plants when harvesting. Seeds must be filled into the vehicle inventory, as you will not get enough seeds back from harvesting mostly. Speed for harvesting and reseeding has been limited to make it a bit more realistic and to make it not too overpowered.

 

Harvestable Prefabs

There are 3 different damage level variations of the Lawn Tractor, which all come in 7 different colours, so 21 new randomly placed vehicles in the world. They can all be harvested for parts and give the same resources as regular cars, plus a few additional items. Pristine Lawn Tractors have a good chance to drop either a fully functional modifier part or one of the other rare resources you need to build the recipes. A damaged Lawn Tractor sill has a small chance to give you a rare resource for the recipes, while a wrecked vehicle will only give the usual scrap that cars would give you.

 

Final Notes

- Coding done by ocbMaurice
- Vehicle rigging by Zilox
- Working for A20.5/A20.6

 

DOWNLOAD

 

1345315403_LawnMower.thumb.jpeg.4b4679249f6a67e480378257378b8f1c.jpeg711191562_CuttingGrassFrontView.thumb.jpeg.b9cef9b698ad4b30d34e009bbbeee682.jpegStats.thumb.png.04da26e75e787b82b54bc934b987bbaa.pngStorage.thumb.png.7c5a27cf600009fc5c78d95db9d6acba.pngBlocksMulticolor.thumb.jpeg.ec0aa765cae533e4569943cc8afa0ed2.jpegJournal.thumb.jpeg.44509837b061c1d2d711ca958fd95d68.jpegSideViewNoBox.thumb.jpeg.2e42c280124245f84e63f4d5973cc23f.jpegSideviewWithBox.thumb.jpeg.57feec86a105cc81a36347549521a59d.jpegCropProtectorRecipe.png.31db81e4604526f79ad272972bf62676.pngRessederRecipe.png.b6b579a3a5b8c134eb035bfd4a73bfe4.pngGrassCollectorRecipe.png.0ffa4331758b85e7b37e03abb73e629b.pngLawnTractorRecipe.png.5a5e04339b20878a73d137c0cab49c83.pngPlantCollectorRecipe.png.61c03ea5ee8d5b6aa690b02d3b23d9a7.pngLawnTractorAccessoriesRecipe.png.6fda2bf4fa55ae6c2084b86f835cb240.pngLawnTractorChassisRecipe.png.81403e43da46e0f3336862f9b6362180.pngCropHarvesterRecipe.png.18ce11d6e9aa0dfc1ece860f6003f66f.png

 

 

Edited by Zilox
Major mod update (V2.0.0) (see edit history)
  • Like 6
Link to comment
Share on other sites

5 hours ago, ErrorNull said:

great idea and nice design! can you pop a wheelie like with the motorcycle? you know... so that you can run over a downed zombie and see it's limbs get torn off............ 🙃

No wheelies, its the same as a 4x4, but that would be pretty funny.

Link to comment
Share on other sites

  • 2 weeks later...
15 minutes ago, Quiet1001 said:

I keep getting a red line "null reference" error when I try to place the mower.

EAC is off

 

Any suggestions is greatly appreciated

Can you send your log file. Thanks.

Link to comment
Share on other sites

45 minutes ago, Quiet1001 said:

Sorry but I'm not sure where to find the log file

Don't see how to attach the entire file. Here is what I am getting on the mower...

 

2022-06-26T12:34:48 62.337 INF   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Vehicle.CreateParts () [0x0006b] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
Exception: No vehicle part class 'VPMower, LawnMowing' found!
  at Vehicle.CreateParts () [0x000ca] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at Vehicle..ctor (System.String _vehicleName, EntityVehicle _entity) [0x00177] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.Init (System.Int32 _entityClass) [0x00018] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityDriveable.Init (System.Int32 _entityClass) [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityFactory.CreateEntity (EntityCreationData _ecd) [0x004c2] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at NetPackageEntitySpawn.ProcessPackage (World _world, GameManager _callbacks) [0x0006b] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at ConnectionManager.Update () [0x000f6] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.Update () [0x00570] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

 

I can craft the mower but cannot place it.

 

Sorry for my ignorance in this matter and Thank You for your patience.

 

Edited by Quiet1001 (see edit history)
Link to comment
Share on other sites

1 hour ago, Quiet1001 said:

Don't see how to attach the entire file. Here is what I am getting on the mower...

 

2022-06-26T12:34:48 62.337 INF   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Vehicle.CreateParts () [0x0006b] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
Exception: No vehicle part class 'VPMower, LawnMowing' found!
  at Vehicle.CreateParts () [0x000ca] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at Vehicle..ctor (System.String _vehicleName, EntityVehicle _entity) [0x00177] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.Init (System.Int32 _entityClass) [0x00018] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityDriveable.Init (System.Int32 _entityClass) [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityFactory.CreateEntity (EntityCreationData _ecd) [0x004c2] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at NetPackageEntitySpawn.ProcessPackage (World _world, GameManager _callbacks) [0x0006b] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at ConnectionManager.Update () [0x000f6] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.Update () [0x00570] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

NullReferenceException: Object reference not set to an instance of an object
  at EntityVehicle.PhysicsFixedUpdate () [0x00035] in <6a01347f98174dbdb41cb4a4eedf5af7>:0
  at EntityVehicle.FixedUpdate () [0x00000] in <6a01347f98174dbdb41cb4a4eedf5af7>:0

 

I can craft the mower but cannot place it.

 

Sorry for my ignorance in this matter and Thank You for your patience.

 

It's likely that EAC is on in either your client, or on the server you are on, if you are on a server, I would double check that.

Link to comment
Share on other sites

  • Zilox changed the title to Lawn Tractor
On 6/28/2022 at 5:50 PM, BFT2020 said:

Nice work, though why do I keep looking at the model and wonder - what awesome scrap can I get from it if I take my wrench to it?  😁

Now you can with version 2.0.0 :) wrench able variants have been added to the world, along with many more features.

Link to comment
Share on other sites

I'm ZombieExterminator from nexus mods. this mod is fun to use makes it much easier to clear grass around your base when placing traps the harvesting mechanics only made everything all the more fun awesome work. Zilox I'm sure you remember the custom vehicles mod with that beast vehicle that can harvest everything it breaks. I never got to experience that mod before it died out and a mining vehicle has been something I always wanted to try out in this game, hopefully you can make one soon. To add to the interest myself and three friends are working on plans for a cinematic gameplay series of 7Days and the lawn mower and the APC mods would add more creative freedom for our series. so do we have your permission to use these two mods?

Link to comment
Share on other sites

4 hours ago, AndrewT said:

I'm ZombieExterminator from nexus mods. this mod is fun to use makes it much easier to clear grass around your base when placing traps the harvesting mechanics only made everything all the more fun awesome work. Zilox I'm sure you remember the custom vehicles mod with that beast vehicle that can harvest everything it breaks. I never got to experience that mod before it died out and a mining vehicle has been something I always wanted to try out in this game, hopefully you can make one soon. To add to the interest myself and three friends are working on plans for a cinematic gameplay series of 7Days and the lawn mower and the APC mods would add more creative freedom for our series. so do we have your permission to use these two mods?

Sure you can use them in your series.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...