战争之人突击小队修改文件问题

2025-01-02 06:08:47
推荐回答(1个)
回答1:

  你改的是存档吧 应该是没加冒号
  比方说is3没加冒号的读取的时候会错误加了冒号的就不会
  没加冒号的
  {Entity is3 0x9d00
  {Position -3021.93 -2206.11 0.1}
  {xform zl 175.24 y 0.97 zw -161.84}
  {SpawnedInFog}
  {Skeleton
  {BoneSave basis body turret mgun_ring
  {Orientation
  0.999 -0.043 0
  0.043 0.999 0
  0 0 1
  }
  }
  {BoneSave basis body turret mgun_ring turret_mgun
  {Orientation
  -0.999 -0.042 0
  0.042 -0.999 0
  0 0 1
  }
  }
  {BoneSave basis body turret cover02
  {Orientation
  1 0 0
  0 -0.97 -0.242
  0 0.242 -0.97
  }
  }
  }
  {Volume ram
  {able {visible 0}{bullet 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}}
  }
  {Extender enumerator
  {group lcvp}
  {number 253}
  }
  {Extender detail
  {random 0}
  }
  {Interaction
  {Calls
  {start_check_sinking 3342 -337.34}
  }
  }
  {Player 1}
  {Operatable}
  {MID 1170}
  {Able emit_crew_on_injure}
  {Chassis
  {MovementSpeed 0.1005}
  }
  }

  加了冒号的
  {Entity "is3" 0x9999
  {Position -3021.93 -2206.11 0.1}
  {xform zl 175.24 y 0.97 zw -161.84}
  {SpawnedInFog}
  {Skeleton
  {BoneSave "basis body turret mgun_ring"
  {Orientation
  0.999 -0.043 0
  0.043 0.999 0
  0 0 1
  }
  }
  {BoneSave "basis body turret mgun_ring turret_mgun"
  {Orientation
  -0.999 -0.042 0
  0.042 -0.999 0
  0 0 1
  }
  }
  {BoneSave "basis body turret cover02"
  {Orientation
  1 0 0
  0 -0.97 -0.242
  0 0.242 -0.97
  }
  }
  }
  {Volume "ram"
  {able {visible 0}{bullet 0}{obstacle 0}{contact 0}{contact_ground 0}{blast 0}{select 0}{touch 0}}
  }
  {Weaponry
  {place "mgun2"
  {type "mgun_coaxial"}
  {weapon "dshk" filled}
  {foresight "foresight5"}
  }
  {place "mgun"
  {type "mgun_aa"}
  {weapon "dshk" filled}
  {gunner "gunner2"}
  {charger "gunner2"}
  {LinkBone "mgun_rot"}
  {LinkAnimation "off"}
  {basic}
  }
  }
  {Extender "enumerator"
  {group lcvp}
  {number 253}
  }
  {Extender "detail"
  {random 0}
  }
  {Interaction
  {Calls
  {"start_check_sinking" 3342 -337.34}
  }
  }
  {Player 1}
  {Operatable}
  {MID 9999}
  {Able "emit_crew_on_injure"}
  {Chassis
  {MovementSpeed 0.1005}
  }
  }

  武器的弹药也是一样 最后的“148”之类的数字是弹药的数量别加冒号不然会出错的
  {Inventory 0x9999
  {box
  {clear}
  {item "bullet122 ap ammo" 148 {cell 0 0}}
  {item "bullet122 fg ammo" 148 {cell 0 2}}
  {item "can" {cell 4 0}}
  {item "repair_kit" 2 {cell 2 1}}
  {item "ds" {cell 0 5}}
  {item "hmgun ammo" 400000 {cell 6 0}}
  }
  }

  另外读取错误时弹出来的提示框不要关 中间靠前的数字是提示你第几行出错
  还有你好歹也给点分吧 - -