Custom Sell Points PROBLEM

Your forum for all discussions around Modding.
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Custom Sell Points PROBLEM

Post by gamerdesigns »

Anyone else having a problem getting a custom sell point in a map?

This isn't my first time making a FS map.

I have copied the correct files needed into my map folder, corrected all the file paths, updated the i3d and also put the correct xyz and rotation into the placeable.xml, make sure its in the storeItems.xml. Once i load the game i get this error

Warning: PlaceableUtil.loadPlaceable can only load existing store items, no store item for xml filename 'I:/FS22Mods/FS22_DL_BlankMap/maps/mapUS/sellpoint/sellingStationWood.xml'

The sell point does not load into game. Only way to get it to load into game is to change the filepaths back to the in-game sell points and than it loads the in-game sell point. Which puts a limit on the amount of wood that can be sold and also makes it to where you can't change the size of the sell point either. Anyone found a way around this to have a custom sell point?
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Custom Sell Points PROBLEM

Post by strauts6 »

Is your default mod folder located in drive: I?
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

Yes i changed the location to it. And No, I do not want to use a default in-game placeable. I have changed the woodSellStation so that it does not limit the amount of wood being sold. The file path goes directly to the xml for my placeable. The only want to fix it is to change the filepath to the in-game sell point which in turn only allows me to use the in-game sell point without any customization to it. Make sense? I am trying to use the wood sell i3d and xml that i have put inside my map folder rather than the one that is in the in-game files.
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Custom Sell Points PROBLEM

Post by strauts6 »

I was getting this error only when file path was wrong in storeitems.xml
Made custom water fill triggers for my map and it works with no errors.
In placeables.xml

Code: Select all

    <placeable mapBoundId="waterFillTriggers" filename="$moddir$ModMap/maps/placeables/mapUS/waterFillTriggers/waterFillTriggers.xml" 											  position="0 0 0" rotation="0 0 0" />
In storeitems.xml

Code: Select all

    <storeItem xmlFilename="maps/placeables/mapUS/waterFillTriggers/waterFillTriggers.xml"  />
And in waterFillTriggers.xml

Code: Select all

        <filename>maps/placeables/mapUS/waterFillTriggers/waterFillTriggers.i3d</filename>
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

interesting i see that your placeables are in a different spot than i have mine. wonder if that could solve my problem.
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

strauts6 wrote: Sun Nov 28, 2021 1:17 am I was getting this error only when file path was wrong in storeitems.xml
Made custom water fill triggers for my map and it works with no errors.
In placeables.xml
Ijust did the same as your except with updated file names now im getting a ton of errors so now to go in and customize stuff! At least its a change so i have to be getting close!

Code: Select all

 2021-11-27 21:27   Warning (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Missing trigger marker node for 'placeable.triggerMarkers.triggerMarker(0)'
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|6|1
2021-11-27 21:27   Warning (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Missing trigger marker node for 'placeable.triggerMarkers.triggerMarker(1)'
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|4|0|0
2021-11-27 21:27   Warning (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Missing trigger marker node for 'placeable.triggerMarkers.triggerMarker(2)'
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|3|1|0
2021-11-27 21:27   Warning (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Missing trigger marker node for 'placeable.triggerMarkers.triggerMarker(3)'
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|5|1
2021-11-27 21:27   Warning (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Missing trigger marker node for 'placeable.triggerMarkers.triggerMarker(4)'
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|4|0|0
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|4|1
2021-11-27 21:27   Error (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): No valid productions defined
2021-11-27 21:27   Error (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): No loading station or pallet spawner for production point
2021-11-27 21:27   Error: Invalid compound index: 5>0|3|0
2021-11-27 21:27   Error (D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml): Placeable loading failed!
2021-11-27 21:27   Warning: Corrupt savegame, placeable 'D:/fs22mods/FS22_DL_BlankMap/maps/placeables/sellingStationWood.xml' could not be loaded
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Custom Sell Points PROBLEM

Post by strauts6 »

Now what you did was, move Transform groups in GE or did not properly index them in xml file. That why you are getting errors about missing triggers.
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

Well i redid the nodes in the xml that i copied from ingame to my map folder.. well thats when i got all them errors. I went back and did it back to factory and it worked fine. Only problem im having now is it not showing up in the xyz i am putting it in. Its showing up half way across the map. Ive checked and doubled check the xyz in placeables and it isnt going to them.
User avatar
strauts6
Posts: 297
Joined: Mon Nov 03, 2014 12:00 am

Re: Custom Sell Points PROBLEM

Post by strauts6 »

Atleast its now spawning. But i have no clue why it would spawn in different place, except for a typo in xyz in placeables.xml.
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

I even used shift+C to copy and paste the xyz so not sure.. Ill keep messing with it
User avatar
Criti
Posts: 90
Joined: Sat Sep 02, 2017 9:56 pm

Re: Custom Sell Points PROBLEM

Post by Criti »

gamerdesigns wrote: Tue Nov 30, 2021 12:29 am I even used shift+C to copy and paste the xyz so not sure.. Ill keep messing with it
If you give a location in xyz in placeables.xml, the object in the i3d must be 0 0 0.
And conversely, if the object has a location in the .i3d file, in placeables.xml it should go to 0 0 0
User avatar
gamerdesigns
Posts: 20
Joined: Sat Nov 06, 2021 7:03 pm
Contact:

Re: Custom Sell Points PROBLEM

Post by gamerdesigns »

Thanks ill double check that! Sometimes i just get in too big of a hurry and mess myself up.
Post Reply