| Category | Farming Simulator 25 |
| Created | 30.07.2025 17:07 |
| illgib81 | 30.07.2025 17:07 |
|---|---|
| Hi, i need help for what probably need a script. I have an harvester, and is set so it can manually unload a crate with the ingame Dump option with default key I, what i would like is that function to cast automatically once the bunker reach an x amount of crop, like a little over halfway, so it can unload crates whitout mine intervention, like if i hired ai to work on a field and i don't have to always go after them every time. Is it possible, or there's some specific code that can be added to the vehicle xml like when it stop when it's full? That's my vehicle fillType section <fillUnit> <fillUnitConfigurations> <fillUnitConfiguration> <fillUnits> <unloading width="2" offset="0 0 -4"/> <fillUnit unitTextOverride="$l10n_unit_kw" showOnHud="false" showInShop="false" fillTypes="electricCharge" capacity="121" > <dashboard displayType="ROT" valueType="fillLevel" node="needleFuel_decal" minRot="0" maxRot="-39" rotAxis="2" doInterpolation="true" interpolationSpeed="0.3" groups="MOTOR_ACTIVE"/> <exactFillRootNode node="exactFillRootNodeFuel" /> </fillUnit> <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="potato" capacity="4000" showOnInfoHud="true" ignoreFillLimit="true"> <exactFillRootNode node="exactFillRootNode"/> <alarmTriggers> <alarmTrigger minFillLevel="1" maxFillLevel="1" turnOffInTrigger="true"/> </alarmTriggers> </fillUnit> </fillUnits> </fillUnitConfiguration> </fillUnitConfigurations> </fillUnit> There are the <unloading width="2" offset="0 0 -4"/> that tell where the crate will spawn, and <alarmTrigger minFillLevel="1" maxFillLevel="1" turnOffInTrigger="true"/> so it stop once is full. Can those be useful? Thanks. |
|
Note: Log in to post. Create a new account here.