Where's it Hiding ? ? ?

Your forum for all discussions around Modding.
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Where's it Hiding ? ? ?

Post by HC1Gunner »

I just started the Riverside 22 map (v1.4.5.0), the main cow farm up in the N.E corner of the map has a concrete silo bunker placed at the end of the long grain hall. I don't use ground bunkers to ferment and use vertical silos or production facilities.
It can't be demolished via the build menu, all you can do is highlight it blue, and get info on it.
In GE its not shown at all, so it can't be removed that way. I figured it was hiding in the id3 file, so I opened it with notepad ++
I only found (2) TransformGroup's that are as bunker, I removed both of them, but that did not remove it. I did a search for "silo", but none of them panned out. The author appears to be using the base games Bunker silo medium 12m 28m, has that id3 model bunker (bunkerSiloBGA in GE) added to the maps folder in the placeables subfolder.
https://www.farming-simulator.com/mod.p ... tle=fs2022

In the placeables folder there is the id3 bunker file, xml files bunkerSilo, bunkerSilo1, bunkerSilo2, bunkerSilo3, and bunkerSilo4. I deleted all of these, but it still remained in-game.

If it's not listed in a line in the id3 file, and its none of the bunkerSilo files listed above, I trying to understand where he put it. I'm not sure why map builders do this if it's a base-game placeable, then why not just put it in the map, and allow it to be demolished in the game editor menu. If it's held out for optimization reasons, I can't believe much would be gained with one single ground bunker.

In the maps folder I searched the placeable xml and found the below lines. Seeming the position of the last line was in different location than all the bga silos, I figure that might be it, I deleted and saved, but the bunker still remains. For the life of me I can't figure out what file its located in, does anyone have any ideas?

<placeable mapBoundId="bga" filename="$mapdir$/maps/placeables/bga.xml" position="287.844 60 967.439" rotation="0 0 0" />
<placeable mapBoundId="bgaSiloBGA1" filename="$mapdir$/maps/placeables/bunkerSilo1.xml" position="269 60.1 996.523" rotation="0 90 0" />
<placeable mapBoundId="bgaSiloBGA2" filename="$mapdir$/maps/placeables/bunkerSilo2.xml" position="269 60 975.731" rotation="0 90 0" />
<placeable mapBoundId="bgaSiloBGA3" filename="$mapdir$/maps/placeables/bunkerSilo3.xml" position="269 60.1 954.913" rotation="0 90 0" />
<placeable mapBoundId="bgaSiloBGA4" filename="$mapdir$/maps/placeables/bunkerSilo4.xml" position="269 60 934.092" rotation="0 90 0" />
<placeable mapBoundId="bgaWeighingStation" filename="data/placeables/lizard/weighingStation/weighingStationSmall/weighingStationSmall.xml" position="303.443 59.9 888.349" rotation="0 180 0" />
<placeable mapBoundId="bgaWeighingStation" filename="data/placeables/lizard/weighingStation/weighingStationSmall/weighingStationSmall.xml" position="320.309 59.9 890.546" rotation="0 0 0" />
<placeable mapBoundId="bgaSiloMain" filename="$mapdir$/maps/placeables/bunkerSilo.xml" position="781.6 59.99 -661.848" rotation="0 -90 0" />

Image
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
Eische
Posts: 3806
Joined: Thu Oct 18, 2018 5:17 pm

Re: Where's it Hiding ? ? ?

Post by Eische »

Since FS19 you don't put functional buildings into the i3d of the map.
Instead you link them in the placeables.xml of the map.

As you already found out, most likely it is the last line referring to bunkerSilo.xml that is representing your problematic bunker silo.
There is a good reason to copy a base game placeable into the map folders. This way you can change the <canBeSold> parameter in the xml of the placeable to false to stop the player from selling it.

Now you have two options to remove the bunker silo in question:
1. change the <canBeSold> parameter in the xml of the placeable to false, reload your savegame and sell silo via landscaping tool
2. remove the line in the placeables.xml of the map for future savegames AND in the placeables.xml in your savegame folder.

Change to the placeable.xml of the map will only take place for a new savegame.
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Re: Where's it Hiding ? ? ?

Post by HC1Gunner »

1. It's not the silo in the last line, I removed than line and the silo remained.

2. I had already gone through the placeables xml and changed every one of the silo bunkers parameters as you described in #1, changing them all to true, and it can't be sold in-game

Darn, I didn't think about starting a new game, and that was the issue, it probably is the silo listed in the last line.

Can I start a new game and copy over the vehicles and my own placeables from my old savegame to the new savegame?
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
Eische
Posts: 3806
Joined: Thu Oct 18, 2018 5:17 pm

Re: Where's it Hiding ? ? ?

Post by Eische »

It is the one in the last line. I just tested it by deleting the line from the placeables.xml of the map and starting a new savegame. That bunker silo was not there.
Not sure why the selling does not work after the canBeSold change.

If you already have a savegame and don't want to start over, you need to go into the placeables.xml of your savegame folder and delete the respective line there. Just like I already described in my earlier post.
After reloading your savegame, bunker silo should be gone.
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Re: Where's it Hiding ? ? ?

Post by HC1Gunner »

Hmm, the game did not like my edit, I removed the line listed below from the placeables in the savegame folder, it has the same position, so it should be the correct bunker. The map stops loading and hangs @ 85%. I guess I will just have to start a new game.

<placeable modName="FS22_riverside22" filename="$moddir$FS22_riverside22/maps/placeables/bunkerSilo.xml" id="13" position="781.59997558594 59.990001678467 -661.84802246094" rotation="0 -90.000002504478 0" age="0.000000" price="1.000000" farmId="0" mapBoundId="bgaSiloMain">
<bunkerSilo state="0" fillLevel="0.000000" compactedFillLevel="0.000000" fermentingTime="0.000000" openedAtFront="false" openedAtBack="false"/>
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
Post Reply