Community Forum

animalFood.xml

Forum Overview >> Scripting

CategoryScripting
Created25.11.2021 10:05


Jürgen Aichinger (binder97) 25.11.2021 10:05
Hallo,

Kann mir wer sagen wo ich im LS22 diese xml - Dateien finde? (vor allem die animalFood.xml)
wo ist der Ordner dataS/character abgelegt?

<animals filename="$dataS/character/animals.xml">
<names filename="$dataS/character/animalNames.xml" />
<food filename="$dataS/character/animalFood.xml" />
</animals>

Danke im Voraus!

Jürgen Aichinger (binder97) 25.11.2021 10:05


Tino Claassen (dtmaster79) 25.11.2021 10:58
findest du nirgendwo.. $data ist der normale data ordner.. $dataS ist die verschlüsselte Datei im hauptverzeichniss..

also da kommst du so nicht heran..

Jürgen Aichinger (binder97) 25.11.2021 11:41
Ok Danke!

Das heißt es gibt keine Möglichkeit für mich die Fütterung (was gefüttert werden soll so wie im LS19) der Tiere anzupassen.....?

<animalFoodGroups type="COW" consumptionType="PARALLEL">
<!-- <foodGroup title="$l10n_fillTypeGroup_forage" productionWeight="1.0" fillTypes="FORAGE" /> -->
<foodGroup title="$l10n_fillTypeGroup_bulk" productionWeight="0.65" eatWeight="0.65" fillTypes="SILAGE"/>
<foodGroup title="$l10n_fillTypeGroup_grass" productionWeight="0.25" eatWeight="0.25" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW" />
<foodGroup title="$l10n_fillTypeGroup_grain" productionWeight="0.10" eatWeight="0.10" fillTypes="WHEAT BARLEY MAIZE SOYBEAN" />
</animalFoodGroups>

Florian Lalala (schulle334) 26.11.2021 00:44

<!-- animalFood.xml -->

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<animalFood xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../shared/xml/schema/animalFood.xsd">
<animals>
<animal animalType="COW" consumptionType="SERIAL">
<foodGroup title="$l10n_fillTypeGroup_forage" productionWeight="1.00" fillTypes="FORAGE" />
<foodGroup title="$l10n_fillTypeGroup_hay" productionWeight="0.80" fillTypes="DRYGRASS_WINDROW"/>
<foodGroup title="$l10n_fillTypeGroup_grass" productionWeight="0.40" fillTypes="GRASS_WINDROW" />
</animal>
<animal animalType="SHEEP" consumptionType="SERIAL">
<foodGroup title="$l10n_fillTypeGroup_grass" productionWeight="1.00" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW" />
</animal>
<animal animalType="PIG" consumptionType="PARALLEL">
<foodGroup title="$l10n_fillTypeGroup_base" productionWeight="0.50" eatWeight="0.50" fillTypes="MAIZE SORGHUM" />
<foodGroup title="$l10n_fillTypeGroup_grain" productionWeight="0.25" eatWeight="0.25" fillTypes="WHEAT BARLEY" />
<foodGroup title="$l10n_fillTypeGroup_protein" productionWeight="0.20" eatWeight="0.20" fillTypes="SOYBEAN CANOLA SUNFLOWER" />
<foodGroup title="$l10n_fillTypeGroup_earth" productionWeight="0.05" eatWeight="0.05" fillTypes="POTATO SUGARBEET" />
</animal>
<animal animalType="HORSE" consumptionType="PARALLEL">
<foodGroup title="$l10n_fillTypeGroup_bulk" productionWeight="0.60" eatWeight="0.25" fillTypes="OAT SORGHUM"/>
<foodGroup title="$l10n_fillTypeGroup_hay" productionWeight="0.40" eatWeight="0.75" fillTypes="DRYGRASS_WINDROW" />
</animal>
<animal animalType="CHICKEN" consumptionType="SERIAL">
<foodGroup title="$l10n_fillTypeGroup_grain" productionWeight="1.00" fillTypes="WHEAT BARLEY SORGHUM" />
</animal>
</animals>
<mixtures>
<mixture animalType="PIG" fillType="PIGFOOD" >
<ingredient fillTypes="MAIZE SORGHUM" weight="0.5" />
<ingredient fillTypes="WHEAT BARLEY" weight="0.25" />
<ingredient fillTypes="SOYBEAN CANOLA SUNFLOWER" weight="0.2" />
<ingredient fillTypes="POTATO SUGARBEET" weight="0.05" />
</mixture>
</mixtures>
<recipes>
<recipe fillType="FORAGE" >
<ingredient name="dryGrass" title="$l10n_fillType_dryGrass" fillTypes="DRYGRASS_WINDROW" minPercentage="20" maxPercentage="75" />
<ingredient name="silage" title="$l10n_fillType_silage" fillTypes="SILAGE" minPercentage="20" maxPercentage="75" />
<ingredient name="straw" title="$l10n_fillType_straw" fillTypes="STRAW" minPercentage="0" maxPercentage="30" />
<ingredient name="mineralFeed" title="$l10n_fillType_mineralFeed" fillTypes="MINERAL_FEED" minPercentage="0" maxPercentage="7" />
</recipe>
</recipes>
</animalFood>

Kevin Schwien (FuNnZeL) 27.11.2021 13:54
Hallo

könnten sie mir vielleicht auch die animal.xml geben?

das wäre sehr nett.


Florian Lalala (schulle334) 27.11.2021 14:34
https://www.modhoster.de/mods/leere-standart-karte-mit-alle-notigen-xmls

Florian Wyss (Florian_Wyss) 28.12.2022 18:21
Hallo ich hätte da eine frage wie kann man dann die Geschwinigkeit wie schnell die Tiere (Kühe) fressen einstellen

Florian Wyss (Florian_Wyss) 28.12.2022 18:21
Hallo ich hätte da eine frage wie kann man dann die Geschwinigkeit wie schnell die Tiere (Kühe) fressen einstellen

Torsten T (Barong) 29.12.2022 08:39
HI das ist aus der Hof Bergmann das sollte so gehen ich habs mal versucht und der Bedarf hat sich angepasst
<animal type="COW" statsBreeding="breedCowsCount" clusterClass="AnimalCluster">
<configFilename>character/animals/domesticated/cow/husbandryAnimalsCow.xml</configFilename>
<subType subType="COW_HOLSTEIN" fillTypeName="COW_HOLSTEIN" >
<visuals>
<visual minAge="0" visualAnimalIndex="1" name="$l10n_shopItem_animalCowHolsteinGrowthStage0" image="character/animals/domesticated/cow/store_calfHolstein.png" canBeBought="true" >
<description>$l10n_animal_descriptionCowMilk</description>
<description>$l10n_animal_descriptionCowFeed</description>
<description>$l10n_animal_descriptionWater</description>
<description>$l10n_animal_cowHolsteinGrowthStage0</description>
</visual>
<visual minAge="12" visualAnimalIndex="2" name="$l10n_shopItem_animalCowHolsteinGrowthStage1" image="character/animals/domesticated/cow/store_heiferHolstein.png" canBeBought="true" >
<description>$l10n_animal_descriptionCowMilk</description>
<description>$l10n_animal_descriptionCowFeed</description>
<description>$l10n_animal_descriptionWater</description>
<description>$l10n_animal_cowHolsteinGrowthStage1</description>
</visual>
<visual minAge="18" visualAnimalIndex="3" name="$l10n_shopItem_animalCowHolsteinGrowthStage2" image="$dataS/character/animals/domesticated/cow/store_cowHolstein.png" canBeBought="true" >
<description>$l10n_animal_descriptionCowMilk</description>
<description>$l10n_animal_descriptionCowFeed</description>
<description>$l10n_animal_descriptionWater</description>
<description>$l10n_animal_cowHolsteinGrowthStage2</description>
</visual>
</visuals>
<reproduction minAgeMonth="18" durationMonth="10" minHealthFactor="0.75" />
<buyPrice>
<key ageMonth="0" value="200" />
<key ageMonth="24" value="2000" />
<key ageMonth="36" value="2000" />
<key ageMonth="60" value="1500" />
</buyPrice>
<sellPrice>
<key ageMonth="0" value="150" />
<key ageMonth="24" value="1500" />
<key ageMonth="36" value="1500" />
<key ageMonth="60" value="1000" />
</sellPrice>
<transportPrice>
<key ageMonth="0" value="50" />
<key ageMonth="12" value="80" />
<key ageMonth="18" value="100" />
</transportPrice>
<input>
<straw><!-- liters per day based on age -->
<key ageMonth="0" value="10" />
<key ageMonth="18" value="95" />
</straw>
<water><!-- liters per day based on age -->
<key ageMonth="0" value="10" />
<key ageMonth="18" value="80" />
</water>
<food><!-- liters per day based on age -->
<key ageMonth="0" value="40" />
<key ageMonth="18" value="350" />
</food>
</input>

Gruß Barong

Chugaev Vyacheslav Valerevich (SlavaRus) 05.01.2023 20:02
https://github.com/Slava102Rus1993/FS_22_Scripts


Note: Log in to post. Create a new account here.