Not receiving registration email


If you are not receiving registration email to confirm your account please send us a email with your username. Make sure you send the email from the email you used when signed up so we can manually verify your account. Send the email to webmaster@pvmods.com - Alternative is to send your username and email to FloydN on discord. Our discord server can be found at the bottom of the page. Sorry for the trouble.

Looking also for a way to rebuild factories without doing it manually

GO TO ADMIN PANEL > ADD-ONS AND INSTALL VERTIFORO SIDEBAR TO SEE FORUMS AND SIDEBAR

Mindbender

Well-known member
Joined
Jan 20, 2020
Messages
454
Points
18
Age
64
Location
Canada
Long story short I had to reload an older saved game because a mod conflict damaged my most recent saved game and the last one I had saved left out several of the factories that I had built the hard way; I would like to catch up to what I had before without all the work. Does anyone know how to finish building factories I had already placed without going through the long hard way of building with construction materials, I ask because I seen someone being told how to finish the bridges by amending some xml files in the saved game
 

Viper278

Well-known member
Joined
Oct 28, 2019
Messages
943
Points
28
Age
60
Location
Florida
it is done the same way as the bridges.
change the output production of the build process section of the xml.
most of them should be 100000.000000. The factories will be either in the OnCreate xml or the Items xml.
Type in the search box the factory you want to change.
click on find or next to get to the one you want. Scroll to the desired code line and edit the production level.

be careful about how you edit the xml as if you change the wrong line or move the indents it will mess up your map.
 

Mindbender

Well-known member
Joined
Jan 20, 2020
Messages
454
Points
18
Age
64
Location
Canada
It is in the Items.xml file but having trouble finding the "production level" line Thanks Viper you are a great help Is it one of these "
<productLine lineId="1" state="false" userStopped="false"/>
<productLine lineId="2" state="false" userStopped="false"/>
<productLine lineId="3" state="false" userStopped="false"/>
<productLine lineId="4" state="false" userStopped="false"/>
<productLine lineId="5" state="false" userStopped="false"/>

If so where do u place the numerical value of 100000.000000 ? Rebuilding Heartland Bread so I put a certain amount in one while in the game then went out and checked the items list for that number and rechecked the "input products" line and searched for that number and when I found it changed it to your 100000.000000 and it filled to 200 % and for Heartland Bread there are 9 other items that I would have to make a partial drop off while in the game in order to change it to a full amount to start construction: I gather it is ok to go over the required amount example I added 1095 pavers to the construction site while in the game then went out of the game and changed the input product line for pavers to 100000.000000 which brought it up to 200%

EXAMPLE;
<inputProduct/>
<inputProduct/>
<inputProduct/>
<inputProduct/>
<inputProduct name="IP_PAVERS" fillLevel="50000.000000"/>
</inputProducts> So I changed back to 50 K to keep it at 100% Doing it this way means I would have to drop off a small amount of each product , 9 of them for Heartland Bread, in order to fill the required amount of products to start construction; looks like it is the long way of doing it

Is there a SHORTER way of doing this. EXample placing the 100000.000000 in the top line <inputProduct/>
 
Last edited:

Wacko71

Member
Joined
Feb 6, 2021
Messages
7
Points
1
Age
49
Location
Australia
Hi @Mindbender,

There is an easier way..... I lost my save after having built the Wolfies Pizza place and most of the bridges down that way.

What I did was find Wolfies Pizza for instance in the items.xml and edited the code as such....

<item className="FS19_GlobalCompany.GC_ProductionFactoryPlaceable" id="7" modName="FS19_PleasantValleyCounty" filename="$moddir$FS19_PleasantValleyCounty/models/FS19_pizzaFactory/pizzaFactory.xml" position="393.0755 104.7000 2853.8015" rotation="0.0000 0.0000 0.0000" age="0" price="1499000.000000" farmId="15" mapBoundId="pizzaFactory" boughtWithFarmland="true" seasonsYears="0.000000">
<animatedObjects>
<animatedObject time="0.000000" direction="0"/>
</animatedObjects>
<productionFactory index="1" saveId="pizzaBuild" indexName="PIZZABUILD">
<productLines>
<productLine lineId="1" state="false" userStopped="false"/>
</productLines>
</productionFactory>
<productionFactory index="2" saveId="wolfies" indexName="WOLFIES">
<productLines>
<productLine lineId="1" state="false" userStopped="false"/>
<productLine lineId="2" state="false" userStopped="false"/>
<productLine lineId="3" state="false" userStopped="false"/>
<productLine lineId="4" state="false" userStopped="false"/>
</productLines>
</productionFactory>
<productionFactory index="3" saveId="wolfiesSales" indexName="WOLFIESSALES">
<productLines>
<productLine lineId="1" state="false" userStopped="false"/>
<productLine lineId="2" state="false" userStopped="false"/>
<productLine lineId="3" state="false" userStopped="false"/>
<productLine lineId="4" state="false" userStopped="false"/>
<productLine lineId="5" state="false" userStopped="false"/>
<productLine lineId="6" state="false" userStopped="false"/>
</productLines>
</productionFactory>
</item>

Under this line
<productionFactory index="1" saveId="pizzaBuild" indexName="PIZZABUILD">
Put in this
<inputProducts>
<inputProduct name="IP_BOARDS" fillLevel="25000.000000"/>
<inputProduct name="IP_STEEL" fillLevel="50000.000000"/>
<inputProduct name="IP_DRYWALL" fillLevel="25000.000000"/>
<inputProduct name="IP_CONCRETE" fillLevel="100000.000000"/>
<inputProduct name="IP_BLOCK" fillLevel="100000.000000"/>
<inputProduct name="IP_PAVERS" fillLevel="100000.000000"/>
</inputProducts>

This now fills all the requirements for Wolfies Pizza and then it will start to build.

So the same principal for Heartland Bread... find
<productionFactory index="1" saveId="Heartland" indexName="HEARTLAND">
And add this code straight underneath it
<inputProducts>
<inputProduct name="IP_PLANK" fillLevel="100000.000000"/>
<inputProduct name="IP_CONCRETE" fillLevel="200000.000000"/>
<inputProduct name="IP_BOARDS" fillLevel="200000.000000"/>
<inputProduct name="IP_REBAR" fillLevel="100000.000000"/>
<inputProduct name="IP_PAVERS" fillLevel="50000.000000"/>
<inputProduct name="IP_PIPE" fillLevel="50000.000000"/>
<inputProduct name="IP_NAILS" fillLevel="150000.000000"/>
<inputProduct name="IP_STEEL" fillLevel="150000.000000"/>
<inputProduct name="IP_DRYWALL" fillLevel="100000.000000"/>
<inputProduct name="IP_CHIPBOARD" fillLevel="100000.000000"/>
</inputProducts>
Reload the game and check the building and you should see that it has started to build, fast forward time and the building will construct.
 
Last edited:

Viper278

Well-known member
Joined
Oct 28, 2019
Messages
943
Points
28
Age
60
Location
Florida
not all factories or storage buildings have the same amount as those.
in the items xml or the onCreate xml look for your build there.
to start the build, just add 1 item to the marker to get the building registered in the xml.
then you open the xml and find that build and look for the output production line for the build phase. Change that production level to 100000.000000 for most of the builds and your building will be instantly built.

just put 1 item to start the build process to make it easier to find and replace the production #.
 
Top