Crop destruction with helpers

Your forum for all discussions around Modding.
Gizmo2000
Posts: 4
Joined: Fri Sep 15, 2017 6:26 pm

Crop destruction with helpers

Post by Gizmo2000 »

I'm using the "4Real Module 01 - Crop Destruction" mod, but i would like to activate crop destruction for helpers and for the first growth state.
If anyone can point me in the right direction or help me with a bit of code, it would be awesome :)
ErwinR55
Posts: 979
Joined: Thu Jan 05, 2017 1:26 pm

Re: Crop destruction with helpers

Post by ErwinR55 »

Yeah, awesome that your workers destroy your headland crops cause of bad turning they do.... :P
PS4 player
User avatar
redglasses
Posts: 5909
Joined: Fri Jan 27, 2017 7:01 pm
Location: Farming land, Canada

Re: Crop destruction with helpers

Post by redglasses »

I really wish they destroyed crops with helpers, it would make getting care wheels essential
Playing Lincoln Creek on PC
Upload your screenshots here: IMG server
My Discord
Remember there is no need to spread your manure around the forums :wink3:
Jack of all trades, master of the skid steer
User avatar
don_apple
Moderator
Posts: 8064
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Earth

Re: Crop destruction with helpers

Post by don_apple »

As you can see in the changelog on http://www.farming-simulator.com/mod.ph ... tle=fs2017 in versions of the mod before 1.0.2.1 the helpers also destroyed crops. So if you would like to get that back you'll need to try to find an older version of the mod.
Gruß/Regards,
don_apple

Apple iMac 27" (2017), Quad-Core i7 4.2 GHz, 48GB, AMD Radeon R580 8GB
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
FS22 Bugtracker
log.txt Image Server Forenregeln Board rules
Gizmo2000
Posts: 4
Joined: Fri Sep 15, 2017 6:26 pm

Re: Crop destruction with helpers

Post by Gizmo2000 »

don_apple >>> That is awesome, i did not think of that. Thank you for your help, now it's time to destroy some crops ;-)
Gizmo2000
Posts: 4
Joined: Fri Sep 15, 2017 6:26 pm

Re: Crop destruction with helpers

Post by Gizmo2000 »

If you want to activate crop destruction for helpers, with the "4Real Module 01 - Crop Destruction" mod, version 1.0.4.1.

Open CropDestruction.lua
Find the line "function CropDestruction:update(dt)"
Remove these lines
local rootAttacherVehicle = self:getRootAttacherVehicle();
if rootAttacherVehicle.aiIsStarted then
return;
end

If you want to activate crop destruction for the first growth state, go to the bottom of CropDestruction.lua
Find these 3 lines and change the number "2" to "1"
setDensityMaskParams(entry.preparingOutputId, "between", 2, desc.maxPreparingGrowthState+1);
setDensityCompareParams(entry.id, "between", 2, desc.maxPreparingGrowthState+1);
setDensityCompareParams(entry.id, "greater", 2);

If you want narrow wheels to do crop destruction to, go to the top of CropDestruction.lua
Find function CropDestruction:load(savegame)
Change "true" to "false" in these two lines
local foundCareWheels = true;
foundCareWheels = true;

Save your work and hire some helpers to destroy your crops :-)
User avatar
redglasses
Posts: 5909
Joined: Fri Jan 27, 2017 7:01 pm
Location: Farming land, Canada

Re: Crop destruction with helpers

Post by redglasses »

if only we had an option for consoles
Playing Lincoln Creek on PC
Upload your screenshots here: IMG server
My Discord
Remember there is no need to spread your manure around the forums :wink3:
Jack of all trades, master of the skid steer
User avatar
Beastbubba
Posts: 1176
Joined: Fri Jul 03, 2015 5:09 pm

Re: Crop destruction with helpers

Post by Beastbubba »

I understand wanting it on. But the reason it is off for hired help is because they are terrible drivers. You will lose a lot of crops from them driving thru them for no reason.
PC gamer.
User avatar
redglasses
Posts: 5909
Joined: Fri Jan 27, 2017 7:01 pm
Location: Farming land, Canada

Re: Crop destruction with helpers

Post by redglasses »

^^ya I understand that side of the argument
Playing Lincoln Creek on PC
Upload your screenshots here: IMG server
My Discord
Remember there is no need to spread your manure around the forums :wink3:
Jack of all trades, master of the skid steer
Post Reply