Community Forum

Making grass fields in G.E

Forum Overview >> Editor

CategoryEditor
Created05.06.2017 10:39


Rasmus O (JamesWayne) 05.06.2017 10:39
Hello, i have small problem with my latest map, when I create a grass field in G.E and then try to mow it in the game the mower just keeps going without any grass showing and I cant control it, to get control again I need to turn the mower off.
A picture to demonstrate what it looks like.

[img width=750 height=421]https://s14.postimg.org/3yzz45m9d/fs_Screen_2017_06_05_10_23_13.png[/img]

I have no idea why this happens and it isn't the first map, am I doing something wrong when I create the fields in GE?
The log doesn't say anything about this.

This is the log, the map is the only thing I have in the games mods folder.
So i've tried to fix that AnimalHusbandry.lua problem and it seems it didn't work, the error with the strawPlane field I've no idea why it says so, I've checked it and it looks the same as always and the rest I don't know why it says so, I searched and found out it could be if you have to many abjects or transform groups in the same as the animals but I've cleared it so it's not that.

C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/map01.i3d (5846.66) ms
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (157) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Warning (physics): Add trigger callback failed, object strawPlanes is not a physics trigger.
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (248) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (249) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (250) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (248) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (249) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: getChildAt index out of range.
LUA call stack:
 dataS/scripts/animals/AnimalHusbandry.lua (250) : getChildAt
 dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'double_gate1' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'double_gate2' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'double_gate3' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'double_gate4' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'single_lh_gate2' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'single_rh_gate1' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'single_rh_gate2' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'toolshedDoor1' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'graveyardGate1' not found in AnimatedObject xml 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: 'Station' not defined in config file 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/map01.xml'
Error: 'Station' not defined in config file 'C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/map01.xml'
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'sheepStableGate1' not found in AnimatedObject xml 'C:/Users/********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Error: C:/Users/*********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml. animatedObjects. .
Error: index 'sheepCattleGate2' not found in AnimatedObject xml 'C:/Users/********/Documents/My Games/FarmingSimulator2017/mods/DevenportFarm/maps/animatedObjects.xml'!
Error: Running LUA method 'AnimatedObject.onCreate'.
dataS/scripts/objects/AnimatedObject.lua(280) : attempt to index field 'controls' (a nil value)
Disabled withering
data/vehicles/steerable/lizard/lizardPickupRodeo.i3d (88.63) ms
dataS2/character/player/player01.i3d (259.11) ms
data/vehicles/steerable/fendt/fendt700.i3d (148.45) ms
C:/Users/********/Documents/My Games/FarmingSimulator2017/pdlc/kuhnPack/vehicles/tools/kuhn/kuhnGMD4411.i3d (139.86) ms
data/vehicles/tools/newHolland/newHollandDiscbine313.i3d (42.87) ms
Warning (Script): Unknown entity id 0 in method 'getWorldTranslation'.
LUA call stack:
 dataS/scripts/utils/TipUtil.lua (536) : getWorldTranslation
 dataS/scripts/vehicles/specializations/Mower.lua (603) : tipToGroundAroundLine
 dataS/scripts/vehicles/specializations/Mower.lua (278) : processMowerAreas
 dataS/scripts/vehicles/Vehicle.lua (2708) : updateTick
 dataS/scripts/network/Server.lua (68) : updateTick
 dataS/scripts/BaseMission.lua (1508) : update
 dataS/scripts/FSBaseMission.lua (2171) : update
 dataS/scripts/missions/mission00.lua (333) : update
 dataS/scripts/main.lua (1876) : update
Error: Running LUA method 'update'.
dataS/scripts/utils/TipUtil.lua(537) : attempt to perform arithmetic on local 'x3' (a nil value)
Warning (Script): Unknown entity id 0 in method 'getWorldTranslation'.

Any help is greatly appriciated.

// James Wayne

Emil Drefers (Unknown) 06.06.2017 07:22
Hi,

it seems there are plenty of misconfigurations.

First of all the hierarchy (or the user attributes) for an animal husbandry are wrong.
Try to fix that first.
As a rule of thumb I would suggest: stick to the default layout/hierarchy, don't put any object(s) in the hierarchy of a husbandry and don't change it.
So, try to copy the husbandries from a default map and replace the ones you currently have in your map.

Then you have some problems with animated objects:
Error: index 'double_gate1' not found in AnimatedObject xml

So, I would suggest to start with a state of the map where evrything works fine.
after changing one thing, like adding an anmated object, test it!
Don't change too much at once.
Test your changes frequently to be able to see where you made a misake.

Cheers,
Emil


Bo Arder (Unknown) 18.08.2017 13:42
Hi,

Currently I am having the same problem. How did you solve it?


Note: Log in to post. Create a new account here.