地狱之门吧 关注:16,880贴子:165,271
  • 12回复贴,共1

大佬们单机战役的存档咋修改

只看楼主收藏回复

手残打硬核战役费时费力,一步一保存,频繁读档游戏又会崩溃闪退
虽然用编辑器和mod会打的很爽,但又没成就,于是就想从战役存档里直接修改作弊,改个几辆虎王或者杠2一路平推
征服的存档是可以直接进status里修改支援兵力和科技点数的,但是战役存档又完全不一样。
看不太懂计算机语言,希望大佬能指点一下如何在战役存档里添加载具或者其他什么


IP属地:北京来自Android客户端1楼2023-06-15 23:27回复
    请用百度翻译


    IP属地:广西来自iPhone客户端2楼2023-06-16 11:00
    收起回复
      直接用地图编辑器改,成就等级没啥用


      IP属地:辽宁来自Android客户端3楼2023-06-16 13:18
      回复
        你想改什么?如果是只想改钱直接搜scorefinal,如果想改别的就得用编辑器


        IP属地:黑龙江来自Android客户端4楼2023-06-16 14:40
        回复
          你需要对游戏里的单位名称有比较好的了解
          如果你不会编程你要认识存档里常用的单词意思
          你要能看懂entity,human,inventory这些命令行的意思,并且知道不能有编程语法错误
          如果你要额外加单位,你还要知道怎办加16进制的ID
          比如
          {Entity "kv2_40" 0xa000
          {Position 3015.98 2010.21}
          {xform zl 65.01}
          {Skeleton
          {BoneSave "basis body"
          {Orientation
          0.999 -0.029 -0.013
          0.029 0.999 -0.024
          0.014 0.024 0.999
          }
          {Position -3.58711 0.0337663 6.27315}
          }
          {BoneSave "basis body detail1"
          {Visible 0}
          {Enabled 0}
          }
          {BoneSave "basis body detail2"
          {Visible 0}
          }
          {BoneSave "basis body radioantenna"
          {Orientation
          0.993 0.001 -0.117
          -0.001 0.999 -0.002
          0.117 0.002 0.993
          }
          }
          {BoneSave "basis body engine hatchengineleft"
          {Orientation
          0.156 0.985 0.068
          -0.594 0.038 0.803
          0.788 -0.166 0.591
          }
          }
          {BoneSave "basis body engine hatchengineright"
          {Orientation
          0.241 0.952 -0.185
          -0.813 0.303 0.495
          0.528 0.03 0.848
          }
          }
          {BoneSave "basis body turret"
          {Orientation
          0.998 0.018 -0.043
          -0.02 0.998 -0.052
          0.042 0.052 0.997
          }
          }
          {BoneSave "basis body turret gun_rot mantlet gun"
          {Position 19.1033 -0.00771332 -0.000370026}
          }
          {BoneSave "basis body turret enumerator1"
          {Enabled}
          }
          {BoneSave "basis body_virt wheelsl trackl"
          {LastMeshAnimator "break" 40}
          }
          {BoneSave "basis body_virt wheelsr trackr"
          {LastMeshAnimator "break" 40}
          }
          {BoneSave "basis body_virt wheelsr suspension_r2"
          {Value -1.90735e-06}
          }
          {BoneSave "basis body_virt wheelsr suspension_r3"
          {Value -1.90735e-06}
          }
          {BoneSave "basis body_virt wheelsr suspension_r5"
          {Value -1.90735e-06}
          }
          {BoneSave "basis body_virt wheelsr suspension_r6"
          {Value -1.90735e-06}
          }
          }
          {Impregnability harmless}
          {Extender "enumerator"
          {number 465}
          {digit_folder "ru3"}
          }
          {Extender "detail"
          {random}
          }
          {Examined 1}
          {Interaction
          {Flags "turret"}
          }
          {Player 3}
          {MID 15}
          {Able "-select"}
          {Weaponry
          {State "gun"
          {AccuracyByMotion
          {value 0.25}
          {prevposition 3049.15 2079.67 71.6969}
          {prevdirection 0.41029 0.908658 -0.056363}
          }
          }
          {State "mgun1"
          {AccuracyByMotion
          {value 0.5}
          {prevposition 3029.4 2046 78.955}
          {prevdirection 0.41029 0.908658 -0.056363}
          }
          }
          {State "mgun2"
          {AccuracyByMotion
          {value 0.622456}
          {prevposition 3046.25 2055.83 52.07}
          {prevdirection 0.395753 0.917727 -0.013}
          }
          }
          {State "mgun3"
          {AccuracyByMotion
          {value 0.5}
          {prevposition 3015.54 1979.3 79.8458}
          {prevdirection -0.41029 -0.908658 0.056363}
          }
          }
          }
          {Chassis
          {Broken}
          {MovementSpeed 0.144444}
          {FuelBag
          {Remain 50}
          }
          }
          {Component "body"
          {State broken}
          {Health 0}
          }
          {Component "engine"
          {State broken}
          {Health 0}
          }
          {Component "trackleft"
          {State broken}
          {Health 0}
          }
          {Component "trackright"
          {State broken}
          {Health 0}
          }
          {Component "turret"
          {State broken}
          {Health 0}
          }
          {Component "gun"
          {State broken}
          {Health 0}
          }
          }
          教程第二关给的bt坦克,我改成KV2了,你要知道这几行大致什么意思,什么有用什么对你无关紧要
          {Human "single/ger/1941_summer/tankman" 0xc0a6
          {Position 3073.34 1924.72}
          {xform zl -122.06}
          {Volume "ram"
          {able {visible 0}{bullet 0}{throwing 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}{blockcamera 0}}
          {disabled}
          }
          {Extender "vitality"
          {Health
          {max 150}
          {current 150}
          }
          {Veterancy 2}
          }
          {Examined 1}
          {Player 0}
          {Operatable}
          {MID 6}
          {Chassis
          {MovementSpeed 0.0722222}
          }
          {Score 5}
          {NameId 120 58}
          {FsmState "stand_noaim"}
          }
          如果只是一个物件,
          {Entity "kv2_40" 0xa000
          {Position 3015.98 2010.21}
          }
          有正确的语句,指定正确的物件,给出差不多的位置就够了
          同一关卡的坦克兵,要添加坦克兵需要的语句得完整一些,vitality和veterancy可以没有,score可以没有,其它的最好都留着
          {Inventory 0xa012
          {box
          {clear}
          {item 0xa013 {cell 0 0}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 6 0}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 7 0}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 6 1}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 7 1}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 0 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 1 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 2 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 3 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 4 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 5 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 6 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 7 2}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 0 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 1 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 2 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 3 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 4 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 5 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 6 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 7 3}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 0 4}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 1 4}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 2 4}}
          {item "rifle_ger" "clip" "ammo" 5 {cell 3 4}}
          {item "bandage_ger" 4 {cell 4 4}}
          {item "bandage_ger" 4 {cell 6 4}}
          {item "ger_m40_helmet_goggles" {cell 0 5}{user "head"}}
          }
          }
          这是随便找了个士兵的物品栏,a013是他的枪,搜索a013能找到上边entity命令行,可以改成别的,cell是在物品栏的位置不重要
          下边的是步枪弹,德国绷带和脑袋上的头盔
          会这些你就可以去map.pak找到你想改的关卡改动了,我把苏军第一关的45炮全改成了85高,其它几关也都调了不少东西
          进而去gamelogic改了士兵初始携带的弹药数量,道具等,一些知名部队的技能也调高了。步枪射程,精度等更贴近现实一点(比如莫辛纳甘比k98准一点,ptrd比ptrs准),is2的续航里程和燃油携带,kv2的M-10t高达24的仰角还原为能打320的榴弹炮,另外不少火炮穿深都和现实有差距,我基本都查资料改过
          我不会编程,但我英语水平过关


          IP属地:辽宁5楼2023-06-16 21:21
          回复


            IP属地:辽宁6楼2023-06-16 22:18
            回复
              既然文本是敏感词,我改成图片


              IP属地:辽宁7楼2023-06-16 22:19
              收起回复
                上边的图片凑合看吧,那么长的回复没什么敏感信息说没就没了,一如既往有一种脑子被猪拱碎的美
                我申请了恢复,爱恢不恢吧


                IP属地:辽宁8楼2023-06-16 22:25
                收起回复
                  ばいでうにますら


                  IP属地:辽宁9楼2023-06-16 22:40
                  回复