American Eagles Modding Forums


Hi! You are currently viewing forum as a guest. For more features please login or register!

Member Login



Lost your password?

Forum Stats

Latest Member


Not a member yet? Sign Up!



*



January 29, 2023, 02:28:57 AM

Author Topic: adding fruits in grain storage  (Read 2084 times)

0 Members and 1 Guest are viewing this topic.

Offline phoenix (OP)

adding fruits in grain storage
« on: August 01, 2020, 04:26:33 PM »
hello to all:

 i have a few grain storages on the map. the grain storage contains just  the basic fruits. but i like to add fruits like cotton, triticale, spelt,  rye and so on. can i just go into the xml files and add them with the other grains and they will show up or is there any other steps that i need to take for  them show up and  function. by the way. why have a discharge chute  if nothing will come out when i drive a grain truck over the trigger point. i thought the one reason i have grain storage  is to move grain from one storage unit to another. dumping one unit and fill another one.

phoenix
 

Offline jb3pc4sale

  • Global Moderator
  • ScreaminEagle
  • *
  • Posts: 1126
  • Thanked: 115 times
  • Another day another dollar
Re: adding fruits in grain storage
« Reply #1 on: August 01, 2020, 04:43:26 PM »
Yes, the xml file for the storage. There are 2 places in the xml file that needs to be added to.
<specs>
            <capacity>750000</capacity>
            <fillTypes>wheat barley canola maize oat sunflower soybean blackbean tobacco peanut sorghum corn2 sudangrass hemp</fillTypes>
        </specs>

<storages>
        <storage node="0|2" fillTypes="wheat barley oat maize canola sunflower soybean sorghum blackbean corn2 sudangrass tobacco peanut hemp" capacityPerFillType="1750000"/>
    </storages>







 

Offline phoenix (OP)

Re: adding fruits in grain storage
« Reply #2 on: August 02, 2020, 01:43:43 PM »
hello jb3pc4sale,

thanks for the response let me try that.  is this for the fs17?  do not recognize the line.
 the top line i do but not the bottom line ,but then again, i was not looking for these 2 lines in the past until now.

phoenix
 

Offline jb3pc4sale

  • Global Moderator
  • ScreaminEagle
  • *
  • Posts: 1126
  • Thanked: 115 times
  • Another day another dollar
Re: adding fruits in grain storage
« Reply #3 on: August 02, 2020, 03:48:16 PM »
No, you have to open the map02.xml. In that file you have all the triggers listed and add the crops you want to the end.

<tipTrigger index="FARM_SILO_5" stationName="FarmSilo5" appearsOnPDA="false" isAreaTrigger="true" isSellingPoint="false" triggerWidth="3" supportsExtension="true" storageRadius="100" >

<fillType name="rye"     priceScale="0" supportsGreatDemand="false" disablePriceDrop="true" />

</tipTrigger>
 Copy the last line and insert just above the</tipTrigger> and change the fillType name to the one you want to add.

You have to go into map with GE and add the crop to fill trigger. I open the map with notepad ++ and go to bottom of page and scroll up until you find storage. onCreate and add the crop with the others.
« Last Edit: August 02, 2020, 04:06:32 PM by jb3pc4sale »







 

Offline phoenix (OP)

Re: adding fruits in grain storage
« Reply #4 on: August 07, 2020, 08:51:44 AM »
jb3pc4sale, here is the xml file from the silo as u can see i have added the fruits that i want:
u might need to guide me through to get to the map 02.xml, i have no name listed as map02 listed in the silo xml. i'v been around a while but one of few times i deal xml file the one u see below. so if u have the time, pass alone the step by step how to  if i hit a snag ill post here or paste it here  just a thought

<placeable>
    <storeData>
        <name>$l10n_shopItem_Silo</name>
        <functions>
        </functions>
        <specs>
            <capacity>305000000</capacity>
            <fillTypes>wheat barley rape maize sunflower soybean corn sugarBeet pigFood potato sugarcane canola oat spelt rye onion carrot cotton sorghum oilseedradish hops corn2 millet triticale malt milo blackbean sudangrass peanut alfalfa cabbage <?xml version="1.0" encoding="utf-8" standalone="no" ?>
redcabbage tobacco hemp flax lentils peas grape</fillTypes>
        </specs>
        <image>store_Silo.png</image>
        <price>38590</price>
        <dailyUpkeep>25</dailyUpkeep>
        <lifetime>25</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>placeables</category>
        <vertexBufferMemoryUsage>229104</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>37848</indexBufferMemoryUsage>
        <textureMemoryUsage>8738288</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>hayLoft</placeableType>
    <filename>Silo.i3d</filename>
    <placement testSizeX="9" testSizeZ="9" sizeX="3" sizeZ="3" useRandomYRotation="false" useManualYRotation="true" />

    <hayLoft tipTrigger="0>0" siloTrigger="0>1|1|0"/>
    <tipOcclusionUpdateArea sizeX="10" sizeZ="10" />
    <clearAreas>
       <clearArea startIndex="0>4|0" widthIndex="0>4|1" heightIndex="0>4|2"/>
    </clearAreas>
   
</placeable>
 

JimmytheGeek

  • Guest
Re: adding fruits in grain storage
« Reply #5 on: August 07, 2020, 04:01:23 PM »
jb3pc4sale, here is the xml file from the silo as u can see i have added the fruits that i want:
u might need to guide me through to get to the map 02.xml, i have no name listed as map02 listed in the silo xml. i'v been around a while but one of few times i deal xml file the one u see below. so if u have the time, pass alone the step by step how to  if i hit a snag ill post here or paste it here  just a thought

<placeable>
    <storeData>
        <name>$l10n_shopItem_Silo</name>
        <functions>
        </functions>
        <specs>
            <capacity>305000000</capacity>
            <fillTypes>wheat barley rape maize sunflower soybean corn sugarBeet pigFood potato sugarcane canola oat spelt rye onion carrot cotton sorghum oilseedradish hops corn2 millet triticale malt milo blackbean sudangrass peanut alfalfa cabbage <?xml version="1.0" encoding="utf-8" standalone="no" ?>
redcabbage tobacco hemp flax lentils peas grape</fillTypes>
        </specs>
        <image>store_Silo.png</image>
        <price>38590</price>
        <dailyUpkeep>25</dailyUpkeep>
        <lifetime>25</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>placeables</category>
        <vertexBufferMemoryUsage>229104</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>37848</indexBufferMemoryUsage>
        <textureMemoryUsage>8738288</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>hayLoft</placeableType>
    <filename>Silo.i3d</filename>
    <placement testSizeX="9" testSizeZ="9" sizeX="3" sizeZ="3" useRandomYRotation="false" useManualYRotation="true" />

    <hayLoft tipTrigger="0>0" siloTrigger="0>1|1|0"/>
    <tipOcclusionUpdateArea sizeX="10" sizeZ="10" />
    <clearAreas>
       <clearArea startIndex="0>4|0" widthIndex="0>4|1" heightIndex="0>4|2"/>
    </clearAreas>
   
</placeable>

You might want to remove/relocate the part in red as it is the header for an xml file....
 

Offline phoenix (OP)

Re: adding fruits in grain storage
« Reply #6 on: August 07, 2020, 04:53:15 PM »
hey jimmythegeek:

remove is no problem,  but where do i relocate the red high lighted line.?

 let me remove and see what happens.

hoe do i get into map from ge i am new to this terminology  ge.

phoenix

 

Post Merge: August 07, 2020, 05:31:59 PM
so i would dl the ge from gdn.giants-software web site  and dl ge v7.05 or theres another place the home screen says i can" install ge"  i believe.
« Last Edit: August 07, 2020, 05:31:59 PM by phoenix »
 

JimmytheGeek

  • Guest
Re: adding fruits in grain storage
« Reply #7 on: August 11, 2020, 01:52:37 PM »
The red highlighted part would normally be the very first line in any XML file. It tells the computer (and other software) what type of file it is, what alpha-numeric standard it uses, and whether or not it can run on its own.
 

Offline phoenix (OP)

Re: adding fruits in grain storage
« Reply #8 on: August 12, 2020, 05:52:09 PM »
hello jimmythegeek:

so i looked at other xml files and that red line that u high lighted is in the beginning  of the file like u said, so if i move the red highlighted line from where it is now and paste it in the beginning of the xml then it should work.

phoenix
 

JimmytheGeek

  • Guest
Re: adding fruits in grain storage
« Reply #9 on: August 18, 2020, 08:49:35 AM »
In theory, anyway...
 

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2518 Views
Last post May 14, 2013, 09:27:06 PM
by slopoke7166
3 Replies
2680 Views
Last post December 18, 2014, 11:01:31 AM
by catburton22
0 Replies
1216 Views
Last post January 13, 2016, 10:40:50 AM
by slickerman
4 Replies
3286 Views
Last post January 16, 2017, 10:46:20 AM
by jeff.fransoo
0 Replies
2431 Views
Last post January 15, 2017, 11:50:32 AM
by red farmer 976


Powered by EzPortal