【简单修改教程】收割机工作宽度,容量,播种机类型,草捆打包速度,动物托盘的修改等等
本帖最后由 lying120 于 2019-1-29 03:00 编辑从修改容量开始吧,
最好下载一个notepad++软件,好看一点,自带的文本编辑 打开I3D文件排版很差
打开商店,找到想要修改的机器名字,比如tx32(收割机)
然后在游戏目录 搜索tx32(也可以一个个文件夹点,D:\Games\Farming Simulator 19\data\vehicles\newHolland\TX32,vehicles是车辆,newHolland品牌,TX32机器名)
找到对应名字的xml文件,打开
容量
搜索capacity
<fillUnit unit="$l10n_unit_literShort" fillTypeCategories="combine" capacity="128000" >
这个是收割作物的的容量
<fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="350" />
这个是油箱的容量
速度修改
搜索motorConfigurations
<motorConfigurations>
<motorConfiguration name="TX 32" hp="160" price="0">
<motor torqueScale="0.678" minRpm="850" maxRpm="3200" minSpeed="0.01" maxForwardSpeed="35" maxBackwardSpeed="15" brakeForce="5" lowBrakeForceScale="0.22" >
<torque normRpm="0.45" torque="0.9"/>
<torque normRpm="0.5" torque="0.97"/>
<torque normRpm="0.59" torque="1"/>
<torque normRpm="0.72" torque="1"/>
<torque normRpm="0.86" torque="0.88"/>
<torque normRpm="1" torque="0.72"/>
</motor>
<transmission minForwardGearRatio="33" maxForwardGearRatio="200" minBackwardGearRatio="55" maxBackwardGearRatio="200" />
</motorConfiguration>
</motorConfigurations>
minRpm="850" 最小转速
maxRpm="3200"最大转速(影响提速)
maxForwardSpeed="35"最大前进速度
maxBackwardSpeed="15"最大后退速度
brakeForce="5"刹车系数(车越重就得越大,要不然刹不下来)
<torque normRpm="0.45" torque="0.9"/> 档位(应该是)torque normRpm="0.45"这个应该是按比例来的,都改成1的每个档位就是最高转速了
工作宽度:收割刀tx32header
搜索tx32header,找到xml和i3D两个对应的文件
速度
打开xml搜索speedLimit value
<speedLimit value="35"/>最大工作速度
工作宽度
打开I3D文件
搜索workAreas找到
<TransformGroup name="workAreas" translation="-0.195216 -0.48674 0.16994" nodeId="64">
<TransformGroup name="workAreaStart" translation="2.13018 0 0.590096" nodeId="65"/>
<TransformGroup name="workAreaWidth" translation="-2.13 0 0.590096" nodeId="66"/>
<TransformGroup name="workAreaHeight" translation="2.13018 0 0.0795244" nodeId="67"/>
</TransformGroup>
<TransformGroup name="ai" translation="-0.195216 -0.48674 0.16994" nodeId="68">
<TransformGroup name="aiMarker" nodeId="69">
<TransformGroup name="aiMarkerLeft" translation="2 0 1.09162" nodeId="70"/>
<TransformGroup name="aiMarkerRight" translation="-2 0 1.09162" nodeId="71"/>
<TransformGroup name="aiMarkerBack" translation="0 0 -0.700959" nodeId="72"/>
</TransformGroup>
workAreaStartworkAreaWidthworkAreaHeight 这三个后面对应的数值就是工作宽度如果改成50m的话 就是25-2525记得width后面对应的是负数 Height后面的数值去平均值
改这三个还不够,ai也得改,要不然就收一行就罢工了
aiMarkerLeft aiMarkerRight 改成25 -25,如下
<TransformGroup name="aiMarkerLeft" translation="25 0 1.09162" nodeId="70"/>
<TransformGroup name="aiMarkerRight" translation="-25 0 1.09162" nodeId="71"/>
<TransformGroup name="aiMarkerBack" translation="0 0 -0.700959" nodeId="72"/>
这样就ok了
改完记得退出游戏再保存
改完记得退出游戏再保存
播种机修改:速度,容量和工作宽度同上,不同的是可以添加一下种子的类型,比如棉花什么的。
以condor15001为例,搜索找到对应的xml文件打开
搜索sowingMachine
<sowingMachine fillUnitIndex="1">
<seedFruitTypeCategories>sowingMachine</seedFruitTypeCategories>
<needsActivation value="true"/>
<useDirectPlanting value="true" />
<sounds>
<work template="DEFAULT_SOWING_WORK" linkNode="condor15001_main_component1" />
<airBlower template="DEFAULT_SOWING_AIR_BLOWER" linkNode="condor15001_main_component1" />
</sounds>
</sowingMachine>
<seedFruitTypeCategories>sowingMachine</seedFruitTypeCategories> 这一行里面加上 planter如下(planter是种植机的类型,同理土豆甜菜什么的应该也可以,没试过,想试的可以试一试搜索对应的种植机seedFruitType看看后面是什么类型)
<seedFruitTypeCategories>sowingMachine planter</seedFruitTypeCategories>
这样就可以种棉花了
草捆机的修改:包装机的包装速度真的很慢,必须改
1.容量(同上)ps:每一个草捆的容量
2.工作速度(同上)
3.宽度(同上)
4.装填速度
5.卸载草捆的速度
6.包装的速度(机器 fbp3135,自带包装机,做青贮饲料)
搜索kuhnfbp3135 kuhn是品牌的名字找到xml文件打开
装填速度:
搜索
maxPickupLitersPerSecond找到
<balerfillScale="5" maxPickupLitersPerSecond="12000">
fillScale="5"这个是我加上的,大概是5倍装填的意思吧
maxPickupLitersPerSecond="12000" 每秒的装填速度,改大就可以了,
想要满草坪都是草捆,就把这两个的数值都往死了改
卸载草捆和包装成青贮饲料的速度:
搜索moveBaleToWrapper找到
<animation name="moveBaleToWrapper">
<part node="0>1|2|0" startTime="0.0" endTime="0.02"endTrans="0 0 0" />
</animation>
<animation name="wrapBale">
<part node="baleWrap_tape" startTime="0" endTime="0.1" shaderParameter="offsetUV" shaderStartValues="0 0 0 0" shaderEndValues="0 0 0 0" />
<part node="baleWrap_tape" startTime="0.1" endTime="0.2" shaderParameter="offsetUV" shaderStartValues="0 0 0 0" shaderEndValues="0 10 0 0" />
<part node="baleWrap_tape" startTime="0.2" endTime="0.3" shaderParameter="offsetUV" shaderStartValues="0 10 0 0" shaderEndValues="0 20 0 0" />
<part node="baleWrap_tape" startTime="0.3" endTime="0.5" shaderParameter="offsetUV" shaderStartValues="0 20 0 0" shaderEndValues="0 20.0001 0 0" />
<part node="j_root" startTime="0" endTime="0.5" animationClip="bale_wrapSource" clipStartTime="0" clipEndTime="10066"/>
</animation>
animation 是动作的代码
moveBaleToWrapper 将草捆移动到包装机的动作
startTime="0.0" 开始时间
endTime="0.02"结束时间(我改成了0.02,秒装啊)
wrapBale 这个就是包装的速度了
后面跟着几个startTime和endTime,改小就好了注意一下:前一个的结束时间是等于后一个开始时间,要不然乱套了
j_root这个应该是总共花了多少时间吧
后面还有一些动作
dropBaleFromWrapper
resetWrapperAfterBaleDrop
等等都改(不知道可以用翻译,看看是什么意思)
改完以后包装速度就很快了。
本帖最后由 lying120 于 2019-1-25 14:44 编辑
出售点出售所有物品的修改:
以官方第三张地图mod为例:
找到你放第三张地图的文件夹(我是放在了F:\Document\My Games\FarmingSimulator2019\mods这个位置)
打开mod,
出售点在这个文件夹下
/placeables/sellingStations,这里面有很多的出售点,我选其中一个sellingStationHarbor.xml,这个是港口的,导出,然后打开
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<storeData>
<name>$l10n_station_harbor</name>
<image>placeables/sellingStations/store_sellingStationHarbor.png</image>
<price>1</price>
<canBeSold>false</canBeSold>
<showInStore>false</showInStore>
<lifetime>1000</lifetime>
<rotation>0</rotation>
<brand>LIZARD</brand>
<species>placeable</species>
<category>placeableMisc</category>
<vertexBufferMemoryUsage>86776</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>9624</indexBufferMemoryUsage>
<textureMemoryUsage>128</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>
<placeableType>sellingStation</placeableType>
<filename>placeables/sellingStations/sellingStationGeneric.i3d</filename>
<placement testSizeX="15" testSizeZ="8" sizeX="4" sizeZ="3" useRandomYRotation="false" useManualYRotation="true" />
<sellingStation stationName="$l10n_station_harbor" appearsOnPDA="true" storageRadius="0" litersForFullPriceDrop="100000" fullPriceRecoverHours="48">
<unloadTrigger exactFillRootNode="0|0|0" baleTriggerNode="0|0|1" />
<fillType name="wheat" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="barley" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="canola" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sunflower" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="soybean" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="maize" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="potato" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sugarBeet" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sugarCane" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="oat" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="egg" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="milk" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
</sellingStation>
</placeable>
这个是原数据,
fillType name="wheat"这个是种类(小麦)
priceScale="1" 价格系数(1倍,改成2就是两倍)
supportsGreatDemand="true" 是否大量需求
disablePriceDrop="false"是否禁止价格下降(改成true的话价格就不会下跌)
接着就是添加其他的种类:
<fillType name="wheat" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="barley" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="canola" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sunflower" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="soybean" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="maize" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="potato" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sugarBeet" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="sugarCane" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="oat" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="egg" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="milk" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="seeds" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="straw" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="grass_windrow" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="dryGrass_windrow" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="silage" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="fertilizer" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="liquidFertilizer" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="herbicide" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="lime" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="manure" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="liquidmanure" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="chaff" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="digestate" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="pigfood" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="forage" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="forage_mixing" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="wool" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="cotton" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="woodchips" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="diesel" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
<fillType name="water" priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
直接替换成我发的,或者一个个加上,不要重复就可以。
改完保存,然后替换原来的文件,直接拖拽到压缩包对应的文件夹里就可以了。
注意一下修改时间。
同理,其他的另外两个地图也差不多,位置在Farming Simulator 19\data\placeables下,有三个,mapBase mapDE mapUS 第一个应该是基本的,里面就几个文件,第二个可能是第一张地图,第三个美国?第二张地图?自己试试吧。
本帖最后由 lying120 于 2019-1-27 01:03 编辑
让游戏中的深耕犁也可以创建田地:
游戏自带的犁太不好用了,创建的田地斜的。看不下去,所以必须修改。
将第一个深耕犁修改了一下,效果如图
修改方法:
打开你想要修改的深耕犁的xml文件(doblettMulticultivator.xml,商店第一个深耕犁)
修改三处地方:
<vehicle type="fertilizingCultivator">改成<vehicle type="plow">
<typeDesc>$l10n_typeDesc_cultivator</typeDesc>改成<typeDesc>$l10n_typeDesc_plow</typeDesc>
<workArea type="cultivator" functionName="processCultivatorArea" needsSetIsTurnedOn="false">改成
<workArea type="plow" functionName="processPlowArea" needsSetIsTurnedOn="false">
保存,搞定
所有播种机都可以直接播种的修改(无需中耕):
以第一个播种机D8 30为例:
打开D8_30.XML,搜索 seedFruitTypeCategories,找到
<sowingMachine fillUnitIndex="1">
<seedFruitTypeCategories>sowingMachine</seedFruitTypeCategories>
<needsActivation value="true"/>
<useDirectPlanting value="true" /> 添加这一行代码
<sounds>
<work template="DEFAULT_SOWING_WORK" linkNode="d83000_main_component1" />
</sounds>
</sowingMachine>
<useDirectPlanting value="true" /> 这是直接耕种的代码,修改完保存就可以了。
本帖最后由 lying120 于 2019-1-24 16:16 编辑
动物托盘的修改:
养鸡最简单,只需要小麦或者大麦就可以了,价格也高,快2000的售价,但是鸡蛋盒只有150的容量,一下就摆满了出货口,一盒有时候100块都卖不到,浪费时间。
我找了两个解决的方法:
1.下载个鸡蛋托盘,然后从商店拉回去,放置在出货口,这样就会自动装进货盘(得显出一个鸡蛋盒,然后把鸡蛋盒放进托盘,然后再把托盘放在出货口,避免遇到bug,货盘消失)这样也有个麻烦,需要从商店买货盘拉回来。
2.直接修改鸡蛋和的容量。
方法
游戏目录搜索egg 或者D:\Games\Farming Simulator 19\data\objects\pallets\eggBox ps:pallets文件夹下面是各种托盘的文件羊毛也在
打开eggbox.xml文件搜索capacity
<fillUnit>
<fillUnitConfigurations>
<fillUnitConfiguration>
<fillUnits removeVehicleIfEmpty="true">
<fillUnit unit="$l10n_unit_literShort" fillTypes="egg" capacity="50000" />我改成了50000一个
</fillUnits>
</fillUnitConfiguration>
</fillUnitConfigurations>
</fillUnit>
将容量成你想要的,
注意一点
emptySpeed="99999" 这个是卸载的速度,最好一并修改,当你的容量比这个大时,鸡蛋盒不会一下消失,会出现卖两次的现象,所以最好的是改成比容量大
改完以后养鸡就非常赚钱了,还省事
同理,羊毛,各种饲料托盘都可以修改
如此好贴,天下农民同受益!
十分全面,各种修改得心应手。 老铁真是花大心血 值得表扬肯定 实在没空写这些T-T
不介意的话 我空了再以此整理一下
教程贴好处多啊{:3_111:} liuzhenyu811 发表于 2019-1-24 19:56
老铁真是花大心血 值得表扬肯定 实在没空写这些T-T
不介意的话 我空了再以此整理一下
教程贴好处多啊{:3_ ...
不介意哈,一起研究
liuzhenyu811 发表于 2019-1-24 19:56
老铁真是花大心血 值得表扬肯定 实在没空写这些T-T
不介意的话 我空了再以此整理一下
教程贴好处多啊{:3_ ...
多研究研究呀,造福于广大农民。
科学种田,技术第一 都很实用 大兴研究之风,搞好农业生产。 改过之后车辆根本不动 没有油 hengli007 发表于 2019-1-29 20:22
改过之后车辆根本不动 没有油
你改了邮箱买新车啊 lying120 发表于 2019-1-29 21:49
你改了邮箱买新车啊
我把油箱和容量都改了 车子不动 我又把速度改了这下上车完全没动静了是不是我那改错了
我更改的 油箱10000 容量99999999
之后速度要怎么改还请楼主大人多多指导一下 谢谢
hengli007 发表于 2019-1-29 23:16
我把油箱和容量都改了 车子不动 我又把速度改了这下上车完全没动静了是不是我那改错了
可以的话发一下xml文件看看呗,顺便问一下,你下载了修改作物重量的MOD了吗?
这是我改的数据你看看 lying120 发表于 2019-1-29 23:35
可以的话发一下xml文件看看呗,顺便问一下,你下载了修改作物重量的MOD了吗?
...
我只下载了双倍产量的MOD 商店里的车容量太小了最大的才17100升没收多少就满了
所以我想改收割机的容量
hengli007 发表于 2019-1-29 23:55
我只下载了双倍产量的MOD 商店里的车容量太小了最大的才17100升没收多少就满了
所以我想改收割机的容 ...
你最大转速比最小转速还低,当然开不动了maxrpm=320后面加个0,改了容量以后最好下载一个修改作物重量的MOD,不然的话太重了,拉不动 lying120 发表于 2019-1-30 00:54
你最大转速比最小转速还低,当然开不动了maxrpm=320后面加个0,改了容量以后最好下载一个修改作物重量 ...
哦原来如此啊 谢谢楼主指导:handshake
修改作物重量的MOD不好找啊我找了好多MOD都不能用 模板里有现在已安装 但是到商店怎么都找不到 hengli007 发表于 2019-1-30 02:49
修改作物重量的MOD不好找啊我找了好多MOD都不能用 模板里有现在已安装 但是到商店怎么都找不到 ...
https://mod.3dmgame.com/mod/62404 mod站有
lying120 发表于 2019-1-30 07:37
https://mod.3dmgame.com/mod/62404 mod站有
万分感谢楼主:handshake
哎头都是大的还是不行楼主改一个让看看吧 已CR1090这台机器为例改一下让小弟学习一下 容量20万油箱1万 hengli007 发表于 2019-1-30 21:22
哎头都是大的还是不行楼主改一个让看看吧 已CR1090这台机器为例改一下让小弟学习一下 容量20万 ...
修改内容:
容量:272500
油箱:13000
车速:65(速度太开拐弯会翻车)
卸货速度:14250
添加了机身颜色
这个是之前修改的,安装了修改重量的MOD
太感谢楼主大人了:handshake 相信这个帖子许多人都需要 解决了大问题 感谢楼主的辛苦研究和分享,顶你上去! 向楼主致敬,顺便问一下,怎么修改传送带的吸收范围。传送带的吸收范围。