|Category||Farming Simulator 19|
|Tommy Aleksandersen (WolfBoy)||29.03.2021 04:15|
|Hello. I am trying to figure out something about some objects. I want in my map. A house and a table, Non of these are static in the map but they should rather show up in the game. The problem is the table, it should show up in the house in game but it does not. I can`t figure out why.
I importet both the objects, first the house and then the table inside the house. copyed the attributes and added them to the text lines in the default items.xml and modex.xml. I have checked the text lines and compare them to the borrowed map and they are a match.
The house shows up in the game but not the table. No matter what I do I can`t get the table to show up in the game.
I have also looket at some scripts in the map but nothing is related to this table.
This is also happend to cuple of triggers that I have added to my map. some objects show up and others don`t.
Can anyone tell me whats going on here. any ideas?
|Bilbo Beutlin (BBeutlin)||29.03.2021 10:02|
|With the defaultItems.xml you cannot place overlapping objects.
It can only place objects which you would also place like store items.
|Tommy Aleksandersen (WolfBoy)||30.03.2021 02:31|
|But that is what make me confuced. This work on the guest map but not on mine. Non of these are placed in the map itself, only as getting the attributes. The guest map has 3 files that these object are in. The default item.xml, modex.xml and the l10n_en.xml file.
this is making me frustrated becaous i can`t find out why it does not work on my map. I have compared the files and lnes over and over again several times but they are the same, except from the name and the attributes
<item mapBoundId="table" className="FS19_mymap.ObjectStorage" modName="FS19_mymap" filename="$mapdir$/placeables/objectStorages/table.xml" position="-155.33299255 71.79129791 110.22758484" rotation="0 90 0" defaultFarmProperty="false" farmId="1"/>
<item mapBoundId="table" className="FS19_guestmap.ObjectStorage" modName="FS19_guestmap" filename="$mapdir$/placeables/objectStorages/table.xml" position="-155.33299255 71.79129791 110.22758484" rotation="0 90 0" defaultFarmProperty="false" farmId="1"/>
These are the lines in the default.xml
At this point I am stuck.
|Bilbo Beutlin (BBeutlin)||30.03.2021 07:57|
|WTH is "modex.xml" ?? It is non-standard, never seen elsewhere.
If something works on a specific map, but not on others, what do you think is the reason? Right, the map uses very probably custom scripts.
Here perhaps a script disables collision detection when placing objects.
btw: did you ever look into game log?
|Tommy Aleksandersen (WolfBoy)||31.03.2021 00:27|
|Yes I have thinking about that too. but non of those script relate to what I`m trying to do, strange. I have also added all the cripts to my map and there was no different. Even then I did get a error free game log. but custom neans also that the script that maby causes this is custom build for that map.
But shouldn`t i get a error in the log then ?
Yes, the game logs are error free, not one error what so ever.
Note: Log in to post. Create a new account here.