_usmc_v5吧 关注:849贴子:40,899
  • 4回复贴,共1

请教战地2给直升机加地面目标识别的命令,出现了问题............

只看楼主收藏回复

下面3段分别是眼镜蛇\直10\浩劫的,在Menu_server.zip\HUD\HudSetup\Vehicles\各自的Pilot.con文件的最后加上.
可是加好后ah1没问题,识别距离很远(我改过雾距),后面两种识别距离都很近很近,我试着都换成ah1的句子借用F15的命令也不行,怎么弄都是很近很近,请高手解惑。
还有虎式直升机在哪里改呢,还有复仇女神里的,我想给全部供直升机加上目标识别,不然太废物了。
rem ------ GroundTargetsMarker ------
hudBuilder.createObjectMarkerNode Ah1zPilotHud Ah1zGroundTargetMarker 200 96 400 408
hudBuilder.setObjectMarkerNodeTexture 0 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\HeatSeeking\lockBoxFriendly.tga
hudBuilder.setObjectMarkerNodeTexture 1 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\HeatSeeking\lockBox.tga
hudBuilder.setObjectMarkerNodeTexture 2 Ingame\Vehicles\Icons\Hud\Air\Attack\F15\HeatSeeking\lockBoxLocked.tga
hudBuilder.setObjectMarkerNodeTextureSize 0 32 32
hudBuilder.setObjectMarkerNodeTextureSize 1 32 32
hudBuilder.setObjectMarkerNodeTextureSize 2 64 64
hudBuilder.setObjectMarkerNodeLockOnType 1
hudBuilder.setObjectMarkerNodeObjects 4
hudBuilder.setNodeColor 0 0.8 0 0.9
rem ------ GroundTargetsMarker ------
hudBuilder.createObjectMarkerNode Z10PilotHud Z10GroundTargetMarker 224 106 350 388
hudBuilder.setObjectMarkerNodeTexture 0 Ingame\Vehicles\Icons\Hud\Air\Attack\Su30\HeatSeeking\lockBoxFriendly.tga
hudBuilder.setObjectMarkerNodeTexture 1 Ingame\Vehicles\Icons\Hud\Air\Attack\Su30\HeatSeeking\lockBox.tga
hudBuilder.setObjectMarkerNodeTexture 2 Ingame\Vehicles\Icons\Hud\Air\Attack\Su30\HeatSeeking\lockBoxLocked.tga
hudBuilder.setObjectMarkerNodeTextureSize 0 56 56
hudBuilder.setObjectMarkerNodeTextureSize 1 56 56
hudBuilder.setObjectMarkerNodeTextureSize 2 56 56
hudBuilder.setObjectMarkerNodeLockOnType 1
hudBuilder.setObjectMarkerNodeObjects 4
hudBuilder.setNodeColor 0.486 0.773 0.463 1
rem ------ GroundTargetsMarker ------
hudBuilder.createObjectMarkerNode HavocPilotHud HavocGroundTargetMarker 232 110 336 378
hudBuilder.setObjectMarkerNodeTexture 0 Ingame\Vehicles\Icons\Hud\Air\Attack\Su34\HeatSeeking\lockBoxFriendly.tga
hudBuilder.setObjectMarkerNodeTexture 1 Ingame\Vehicles\Icons\Hud\Air\Attack\Su34\HeatSeeking\lockBox.tga
hudBuilder.setObjectMarkerNodeTexture 2 Ingame\Vehicles\Icons\Hud\Air\Attack\Su34\HeatSeeking\lockBoxLocked.tga
hudBuilder.setObjectMarkerNodeTextureSize 0 32 32
hudBuilder.setObjectMarkerNodeTextureSize 1 32 32
hudBuilder.setObjectMarkerNodeTextureSize 2 64 64
hudBuilder.setObjectMarkerNodeLockOnType 1
hudBuilder.setObjectMarkerNodeObjects 4
hudBuilder.setNodeColor 0.925 0.424 0.267 1


1楼2014-06-16 11:40回复
    我记得好像有句话是决定那个距离的。。。半年没动hud了,等放假后我给你找找


    IP属地:上海来自iPhone客户端2楼2014-06-19 22:11
    收起回复
      飞机有一句话决定距离
      飞机和hud共同控制target的标识(观感方面) 抛射物控制具体的锁定(真实)
      至于怎么弄还是自己加油吧毕竟我都离开这圈子一年多 手头也没有战爹2
      ——专业砖头机 来自NOKIA Lumia 920


      IP属地:湖北来自WindowsPhone客户端3楼2014-06-19 23:20
      回复
        麻烦发一下成品代码,以及代码添加在哪里,谢谢谢谢


        IP属地:广东4楼2018-05-27 20:57
        回复