3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 65117|回复: 78
打印 上一主题 下一主题

[MOD] 【简单修改教程】收割机工作宽度,容量,播种机类型,草捆打包速度,动物托盘的修改等等

  [复制链接]

32

主题

648

帖子

5191

积分

游戏精英

Rank: 8Rank: 8

贡献度
733
金元
21686
积分
5191
精华
9
注册时间
2010-5-16

3DM MOD站(白银)

跳转到指定楼层
主题
发表于 2019-1-24 15:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 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>



workAreaStart  workAreaWidth  workAreaHeight   这三个后面对应的数值就是工作宽度  如果改成50m的话 就是25  -25  25  记得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  找到



  <baler  fillScale="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
等等都改(不知道可以用翻译,看看是什么意思)


改完以后包装速度就很快了。



评分

1

查看全部评分

回复

使用道具 举报

32

主题

648

帖子

5191

积分

游戏精英

Rank: 8Rank: 8

贡献度
733
金元
21686
积分
5191
精华
9
注册时间
2010-5-16

3DM MOD站(白银)

来自 2#
 楼主| 发表于 2019-1-25 14:41 | 只看该作者
本帖最后由 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    第一个应该是基本的,里面就几个文件,第二个可能是第一张地图,第三个美国?第二张地图?自己试试吧。

回复 支持 反对

使用道具 举报

32

主题

648

帖子

5191

积分

游戏精英

Rank: 8Rank: 8

贡献度
733
金元
21686
积分
5191
精华
9
注册时间
2010-5-16

3DM MOD站(白银)

来自 3#
 楼主| 发表于 2019-1-27 00:46 | 只看该作者
本帖最后由 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" />
这是直接耕种的代码,修改完保存就可以了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

0

主题

56

帖子

67

积分

初级玩家

Rank: 2

贡献度
0
金元
665
积分
67
精华
0
注册时间
2020-4-27
冰凉的地板
发表于 2021-1-27 19:01 | 只看该作者
感谢这位大佬慷慨分享呀
回复 支持 反对

使用道具 举报

1

主题

59

帖子

67

积分

初级玩家

Rank: 2

贡献度
0
金元
665
积分
67
精华
0
注册时间
2019-3-27
5#
发表于 2021-3-12 22:36 来自手机 | 只看该作者
楼主,我下的有些mod没有用是为什么啊
回复 支持 反对

使用道具 举报

0

主题

161

帖子

224

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2242
积分
224
精华
0
注册时间
2015-12-19
6#
发表于 2021-10-16 04:40 | 只看该作者
插眼 模拟农场19修改

回复 支持 反对

使用道具 举报

1

主题

35

帖子

95

积分

初级玩家

Rank: 2

贡献度
0
金元
954
积分
95
精华
0
注册时间
2015-6-26
7#
发表于 2021-12-3 16:13 | 只看该作者
麻烦楼主贴一下犁的宽度的修改以及Ai的修改!我修改出来的有问题!拜谢拜谢!Ai都是间着来的
回复 支持 反对

使用道具 举报

0

主题

3

帖子

3

积分

新手玩家

Rank: 1

贡献度
0
金元
30
积分
3
精华
0
注册时间
2021-11-28
8#
发表于 2021-12-5 21:22 | 只看该作者
讲解很详细,感谢楼主的分享,期待楼主更多的更新,万分感谢!
回复 支持 反对

使用道具 举报

0

主题

10

帖子

12

积分

新手玩家

Rank: 1

贡献度
0
金元
115
积分
12
精华
0
注册时间
2019-6-22
9#
发表于 2022-2-6 04:03 来自手机 | 只看该作者
66666真是讲到心坎里了
回复 支持 反对

使用道具 举报

0

主题

10

帖子

12

积分

新手玩家

Rank: 1

贡献度
0
金元
115
积分
12
精华
0
注册时间
2019-6-22
10#
发表于 2022-2-7 05:35 来自手机 | 只看该作者
妈的,三点多改完收割机文件,上去试试哩,找不到收割机了,然后退出来显示要从新安装,安装好上去一看是一个mod里几个型号,又特么找文件夹,找到了没看到发动机配置,换了个方法把之前改的复制粘贴,搞到现在,感觉改代码越改越上瘾。
回复 支持 反对

使用道具 举报

2

主题

65

帖子

125

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1254
积分
125
精华
0
注册时间
2015-2-25
11#
发表于 2022-2-27 12:26 | 只看该作者
6666666666666666666666666666666666666
回复 支持 反对

使用道具 举报

0

主题

83

帖子

146

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1460
积分
146
精华
0
注册时间
2015-9-10
12#
发表于 2022-4-29 09:06 | 只看该作者
来学习一下  ,大佬厉害!!!!
回复 支持 反对

使用道具 举报

0

主题

83

帖子

146

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1460
积分
146
精华
0
注册时间
2015-9-10
13#
发表于 2022-4-29 12:38 | 只看该作者
收割机速度没成功,好难呀,谢谢大佬
回复 支持 反对

使用道具 举报

0

主题

83

帖子

146

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1460
积分
146
精华
0
注册时间
2015-9-10
14#
发表于 2022-4-29 15:23 | 只看该作者
非常感谢
回复 支持 反对

使用道具 举报

0

主题

83

帖子

146

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1460
积分
146
精华
0
注册时间
2015-9-10
15#
发表于 2022-10-26 21:06 | 只看该作者
谢谢
回复 支持 反对

使用道具 举报

1

主题

30

帖子

31

积分

初级玩家

Rank: 2

贡献度
0
金元
311
积分
31
精华
0
注册时间
2021-2-17
16#
发表于 2022-11-12 20:34 | 只看该作者
感谢分享 授人以鱼不如授人以渔 再次感谢
回复 支持 反对

使用道具 举报

5

主题

138

帖子

537

积分

高级玩家

Rank: 4

贡献度
43
金元
3651
积分
537
精华
0
注册时间
2015-4-20
17#
发表于 2022-11-25 02:09 | 只看该作者
chaoyaya 发表于 2019-5-9 13:43
确实辛苦了.但还是想问下粮仓一些建筑的出货速度在哪里改啊...

fillLitersPerSecond="90000000" 这个是粮仓填充到拖车的速度
回复 支持 反对

使用道具 举报

0

主题

17

帖子

21

积分

新手玩家

Rank: 1

贡献度
0
金元
207
积分
21
精华
0
注册时间
2020-11-17
18#
发表于 2022-12-6 16:17 | 只看该作者
收下谢谢!!!!!!!
回复 支持 反对

使用道具 举报

2

主题

13

帖子

24

积分

新手玩家

Rank: 1

贡献度
0
金元
240
积分
24
精华
0
注册时间
2023-12-28
19#
发表于 2023-12-28 09:56 | 只看该作者
楼主您好,我想请问一下,收割机行走不在中间,怎么修改?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

2

主题

13

帖子

24

积分

新手玩家

Rank: 1

贡献度
0
金元
240
积分
24
精华
0
注册时间
2023-12-28
20#
发表于 2024-3-7 18:14 | 只看该作者
您好,楼主,我想问一下,播种机添加碾压功能您这边了解过吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-4-29 13:52 , Processed in 0.172992 second(s), 18 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表