武装突袭3

武装突袭3

评价数不足
3D Icons
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod, Server
文件大小
发表于
更新日期
35.392 KB
2022 年 7 月 19 日 上午 7:50
8 月 1 日 上午 3:59
26 项改动说明 ( 查看 )

订阅以下载
3D Icons

描述
General Explanation:
This add-on shows icons above each unit's head. The icon size decreases with distance. The unit name is not shown when the icon is very small. If a unit is not visible (behind another object), then the icon is not shown. This can be turned off optionally. It also shows icons for unit-controlled UAVs.

Source Code:
The source code is available on GitHub (view[github.com]).

Optionally Enable Globally:
This add-on can be used as a server-side mod or as a client-side mod. If you want to enable it globally - that is, for every single-player mission and locally hosted multi-player mission - you can use my add-on 3D Icons Global Enabler.



Easy usage:
This add-on comes with an Eden Editor Module. There you can change the configuration.


Usage as a stand-alone script:
This mod can also be used stand-alone, i.e, without a mod. For this, you have to execute the .sqf files in the "scripts/" folder on the respective machines. "fnc_client.sqf" has to be executed on each client, and "fnc_server.sqf" has to be executed on the server. Note that the server can also be a client.

Advanced usage:
If you do not want to use the Eden Editor Module, You can start the script globally by calling:
remoteExecCall ["TDI_fnc_startTdIconsServer", 2];
To disable the script globally, call:
remoteExecCall ["TDI_fnc_stopTdIconsServer", 2];
To disable the script for a specific player, call:
remoteExecCall ["TDI_fnc_stopTdIconsClient", _player];
To re-enable the script for a specific player, call:
remoteExec ["TDI_fnc_startTdIconsClient", _player];

Configuration Variables:
  • TDI_var_ShowAllSides = false : toggles, whether units of any side should get an icon
  • TDI_var_ShowAllSidesOnSpectator = false: toggles, whether units of any side should get an icon when the player is in spectator-mode
  • TDI_var_ShoWUnitNames= true : toggles whether the names of units are shown below the icons
  • TDI_var_HideInvisible = true : toggles, whether icons of units behind objects should be hidden