武装突袭3吧 关注:45,929贴子:313,426
  • 12回复贴,共1
求助

请问一下?在编辑器内将车队设计好路径点之后车队不按照路径行进,

只看楼主收藏回复

如何解决这种问题?
还有想再问一下,什么办法可以实现在编辑器内让AI士兵自行空降到指定地点嗎


IP属地:山东来自Android客户端1楼2022-12-03 09:27回复
    有时候设置好路径点之后就会像这样载具上的士兵,会先下车。载具不动或者不按照预设的路径点行进


    IP属地:山东来自Android客户端2楼2022-12-03 11:09
    回复
      武装突袭3在某次更新了驾驶员AI后路径点就出bug了,时灵时不灵,还一直没修复。
      我觉得无解,可以搜索一下有没有修复的模组。


      IP属地:浙江来自Android客户端3楼2022-12-08 01:05
      收起回复
        AA3的AI车辆驾驶能力太傻了。没有模组的情况下,必须在一段道路上逐个放置车辆,然后用Ctrl按顺序编入小队。最后在小队上设置队形为列队,然后再安置路径点


        IP属地:内蒙古来自Android客户端4楼2022-12-08 08:40
        回复
          那个更好的车队模组的作者还给出了脚本代码的解决方案,但我不知道怎么使用脚本。
          代码如下
          If the mission maker prefers to use the script directly, then the following example is instructive.
          // create the logic (alternative to placing a synchronized module named Convoy_01)
          logicCenter_01 = createCenter sideLogic;
          logicGroup_01 = createGroup logicCenter_01;
          Convoy_01 = logicGroup_01 createUnit ["Logic", [0,0,0], [], 0, "NONE"];
          Convoy_01 setVariable ["maxSpeed", 40];
          Convoy_01 setVariable ["convSeparation", 35];
          Convoy_01 setVariable ["stiffnessCoeff", 0.2];
          Convoy_01 setVariable ["dampingCoeff", 0.6];
          Convoy_01 setVariable ["curvatureCoeff", 0.3];
          Convoy_01 setVariable ["stiffnessLinkCoeff", 0.1];
          Convoy_01 setVariable ["pathFrequecy", 0.05];
          Convoy_01 setVariable ["speedFrequecy", 0.2];
          Convoy_01 setVariable ["speedModeConv", "NORMAL"];
          Convoy_01 setVariable ["behaviourConv", "pushThroughContact"];
          Convoy_01 setVariable ["debug", false];
          // create the convoy
          call{ 0 = [Convoy_01,[vehicleLead,vehicle2,vehicle3]] execVM "\nagas_Convoy\functions\fn_initConvoy.sqf" };
          // stop the convoy without erasing its waypoints
          Convoy_01 setVariable ["maxSpeed", 0];
          sleep 5; // wait for all vehicles to stop
          // disband the convoy
          vehicleLead setVariable ["convoy_terminate", true];
          sleep .5; // wait for script to finish
          // create a new convoy with only the first two vehicles
          call{ 0 = [Convoy_01,[vehicleLead,vehicle2]] execVM "\nagas_Convoy\functions\fn_initConvoy.sqf" };
          // resume
          Convoy_01 setVariable ["maxSpeed", 40];


          IP属地:山东来自Android客户端6楼2022-12-09 20:50
          回复
            如图


            IP属地:山东来自Android客户端8楼2022-12-09 20:55
            回复
              成了,这一次这个模组成功挂载上了,车辆可以正常行驶(只不过车队在遭遇袭击的时候不会停下来)


              IP属地:山东来自Android客户端10楼2022-12-11 14:02
              回复