航空機の HUD に着弾予測を表示する Arma 3 用の CCIP スクリプト

着弾位置を表示するarma3用のCCIPスクリプト
距離と照準線を新たに追加

Arma 3 の航空機の HUD (Head Up Display) へ、予測された着弾位置を表示する CCIP スクリプト が BI フォーラム上で公開されました。

このスクリプトでは地表への着弾点を計算して表示する CCIP(continously computed impact point)と呼ばれるシステムを実装し、HUD へ着弾位置を表示する照準線と距離を表示して、無誘導兵器の着弾位置が分かるようになります。

着弾位置を表示するarma3用のCCIPスクリプト
距離によって照準線の色が変わる

現在は MissileCore と BulletCore や BombCore とその副形式が設定されている武装に対応しており、その兵装を航空機内で選択を行うと照準線と距離が出現します。

またクライアント側のみに動作しており、マルチ プレイに完全対応しています。

使用方法

ミッションのフォルダ内を以下の構成どおりにします。

ミッションのフォルダ
│   mission.sqm 
│
└───jonimake_ccip
    │   getImpactPos.sqf        - BulletCore solver
    │   getImpactPosBomb.sqf    - BombCore solver
    │   getImpactPosRocket.sqf  - MissileCore solver
    │   includes.sqf            - contains pre-processor defs for debugging 
    │   jonimake_ccip.sqf       - main script file
    │
    └───ccipProviders - place additional ccipProvider.sqf files here
            B_Plane_CAS_01_F_ccipProvider.sqf
            O_Plane_CAS_02_F_ccipProvider.sqf
            I_Plane_Fighter_03_CAS_F_ccipProvider.sqf
そして適用する航空機の init 欄へ下記の構文を貼り付け。
handle = this execVM "jonimake_ccip\jonimake_ccip.sqf"

より多くの兵装へも対応させる事が可能ですが、詳細はフォーラムをご覧ください。

お試しのミッションは Steam Workshop :: ccipDemo からダウンロード出来ます。

ライセンス

MIT License (yes, anyone can use this in any project they want, including Make ArmA Not War contest):

Copyright (C) 2014 Joni Mäkelä

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

クレジット

Joni Mäkelä

CCIP script for aircrafts - BI forum

0 コメント:

コメントを投稿