1547 {
1549 {
1550 static const string textureName = "#(argb,8,8,3)color(0.5,0.5,0.5,0.75,ca)";
1551
1552 int hidden_selection = 0;
1553 string selection_to_refresh;
1554 string config_material =
string.Format(
"CfgVehicles %1 hologramMaterial",
m_Projection.GetType());
1555 string hologram_material =
g_Game.ConfigGetTextOut(config_material);
1556 string config_model =
string.Format(
"CfgVehicles %1 hologramMaterialPath",
m_Projection.GetType());
1557 string hologram_material_path =
string.Format(
"%1\\%2%3",
g_Game.ConfigGetTextOut(config_model), hologram_material,
CorrectMaterialPathName());
1558
1560 {
1563 m_Projection.SetObjectTexture(hidden_selection, textureName);
1564 m_Projection.SetObjectMaterial(hidden_selection, hologram_material_path);
1565 }
1566 }
1567 }
string CorrectMaterialPathName()
ref set< string > m_SelectionsToRefresh
int GetHiddenSelection(string selection)