Probleme mit Standart Kuhstall

Eure Foren für alle Diskussionen rund ums Thema Modding.
User avatar
Papa42
Posts: 591
Joined: Fri Mar 01, 2019 7:06 pm

Probleme mit Standart Kuhstall

Post by Papa42 »

Hallo zusammen
Habe Probleme mit den Standard Kuhstall wenn ich ihn in meine Map über die Pleaceable Eintrage, das ich dann keine Kühe kaufen kann.
Eintrag in der placeable.xml
<placeable filename="data/placeables/rudolfHormann/cowBarnBig/cowBarnBigVector.xml" id="63" position="512.83074951172 209.70100402832 -1098.9709472656" rotation="0 201.98945753235 0" age="0.000000" price="722500.000000" farmId="0">
<animatedObjects>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
<animatedObject time="0.000000" direction="0"/>
</animatedObjects>
<colorable>
<color>1</color>
</colorable>
<husbandry globalProductionFactor="0.000000">
<storage farmId="0"/>
</husbandry>
<husbandryFeedingRobot>
<unloadingSpot index="1" fillLevel="0"/>
<unloadingSpot index="2" fillLevel="0"/>
<unloadingSpot index="3" fillLevel="0"/>
<unloadingSpot index="4" fillLevel="0"/>
</husbandryFeedingRobot>
</placeable>

Eintrag in der storeitem.xml
<storeItem xmlFilename="$data/placeables/rudolfHormann/cowBarnBig/cowBarnBigVector.xml"/>

Es wird einfach nicht die FarmId eingetragen.
kann mir da einer Helfer.
Danke und Gruss
Bei Interesse hier melden.
Discord: https://discord.gg/8dYaMKzCPz
Steam: Dr_Ranzigesau
goodN8JohnBoy
Posts: 1454
Joined: Wed Dec 01, 2021 6:51 pm

Re: Probleme mit Standart Kuhstall

Post by goodN8JohnBoy »

Ist das Farmland mit dem Stall in deinem Besitz?

Und wenn du farmId="0" angibst, bleibt es auch erstmal dabei.
User avatar
Papa42
Posts: 591
Joined: Fri Mar 01, 2019 7:06 pm

Re: Probleme mit Standart Kuhstall

Post by Papa42 »

Ja Farmland ist gekauft.
Wenn ich ja da die 1 eintrage ist ja nur für den Hof 1 oder sehe ich da was falsch ?
Bei Interesse hier melden.
Discord: https://discord.gg/8dYaMKzCPz
Steam: Dr_Ranzigesau
goodN8JohnBoy
Posts: 1454
Joined: Wed Dec 01, 2021 6:51 pm

Re: Probleme mit Standart Kuhstall

Post by goodN8JohnBoy »

Ja richtig. Wie soll sonst der Besitzer zugewiesen werden?
Mit farmId="0" gibt es keinen Besitzer. Das ist nur sinnvoll für Gebäude ohne besondere Verwaltungsfunktionen, wie zB. gemeinschaftliche Silos.
Ansonsten muss man aus diesen Standardgebäuden Mods machen und sie dahingehend erweitern, dass sie einzeln oder zusammen mit dem Farmland gekauft werden können.
User avatar
Papa42
Posts: 591
Joined: Fri Mar 01, 2019 7:06 pm

Re: Probleme mit Standart Kuhstall

Post by Papa42 »

Ok
Wechselt dann auch so die farmid wenn es von Hof 2 (id2) oder Hof 3(id3) gekauft wird ?
Was ist den wenn ich in der pleaceble keine farmid abgebe? Hat das den gleichen Effekt ?
Bei Interesse hier melden.
Discord: https://discord.gg/8dYaMKzCPz
Steam: Dr_Ranzigesau
goodN8JohnBoy
Posts: 1454
Joined: Wed Dec 01, 2021 6:51 pm

Re: Probleme mit Standart Kuhstall

Post by goodN8JohnBoy »

Ja natürlich. Wenn das Objekt gekauft wird, bekommt es die farmId des Käufers.

Wenn in der "placeables.xml" keine farmId angegeben ist, zählt das als farmId="0".
User avatar
Papa42
Posts: 591
Joined: Fri Mar 01, 2019 7:06 pm

Re: Probleme mit Standart Kuhstall

Post by Papa42 »

Ich teste das heute Abend mal auf dem Server dann schreibe ich wieder.
Bei Interesse hier melden.
Discord: https://discord.gg/8dYaMKzCPz
Steam: Dr_Ranzigesau
Post Reply