1498 {
1500 {
1501 static const string textureName = "#(argb,8,8,3)color(0.5,0.5,0.5,0.75,ca)";
1502
1503 int hidden_selection = 0;
1504 string selection_to_refresh;
1505 string config_material =
string.Format(
"CfgVehicles %1 hologramMaterial",
m_Projection.GetType());
1507 string config_model =
string.
Format(
"CfgVehicles %1 hologramMaterialPath",
m_Projection.GetType());
1509
1511 {
1514 m_Projection.SetObjectTexture(hidden_selection, textureName);
1515 m_Projection.SetObjectMaterial(hidden_selection, hologram_material_path);
1516 }
1517 }
1518 }
string ConfigGetTextOut(string path)
Get string value from config on path.
string CorrectMaterialPathName()
ref set< string > m_SelectionsToRefresh
int GetHiddenSelection(string selection)
proto native CGame GetGame()
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.