OFPEC Forum

Addons & Mods Depot => ArmA - Configs & Scripting => Topic started by: Acid on 12 Mar 2009, 22:48:28

Title: hud.hpp
Post by: Acid on 12 Mar 2009, 22:48:28
Where do i find this particular file or what .pbo does it reside in ?
Title: Re: hud.hpp
Post by: Planck on 12 Mar 2009, 23:23:32
As far as I can see such a file doesn't exist in any game PBO.

Where did you hear of such a file?

There is the config section 'class AirPlaneHUD', which you can find in the bin.pbo config and again in the air.pbo config.



Planck
Title: Re: hud.hpp
Post by: Acid on 13 Mar 2009, 00:21:57
reference HERE (http://www.ofpec.com/forum/index.php?topic=32226.msg221955#msg221955)

Yea, iv scanned several .pbo's i have (dont use bin.pbo) and i couldnt find it. What i was trying to do is basicly what nuxil's did in his thread brighten the ILS layout of planes in the game since i cant see them during daylight.

Would changing this in config.bin do the trick ?
Code: [Select]
class AV8B: Plane
 {
  scope = 2;
  crew = "SoldierWPilot";
  model = "\ca\air\av8b";
  picture = "\ca\air\data\ico\av8b_CA.paa";
  Icon = "\ca\air\data\map_ico\icomap_AV8B_CA.paa";
  mapSize = 10;
  nameSound = "aircraft";
  vehicleClass = "Air";
  side = 1;
  displayName = "$STR_DN_AV8B";
  accuracy = 0.3;
  typicalCargo[] = {"SoldierWPilot"};
  irScanRangeMin = 3500;
  driverAction = "AV8B_Pilot";
  laserScanner = 1;
  dammageHalf[] = {"\Ca\air\data\ah1z_monitor_glass_ca.paa","\Ca\air\data\ah1z_monitor_glass_destr_co.paass"};
  dammageFull[] = {"\Ca\air\data\ah1z_monitor_glass_ca.paa","\Ca\air\data\ah1z_monitor_glass_destr_co.paa"};
  class Damage
  {
   tex[] = {};
   mat[] = {"ca\air\data\av8b_int.rvmat","ca\air\data\av8b_int.rvmat","ca\air\data\av8b_int_destruct.rvmat","ca\air\data\av8b_ext.rvmat","ca\air\data\av8b_ext.rvmat","ca\air\data\av8b_ext_destruct.rvmat"};
  };
  dustEffect = "HeliDust";
  waterEffect = "HeliWater";
  class Reflectors
  {
   class Left
   {
    color[] = {0.8,0.8,1,1}; <----------- THIS
    ambient[] = {0.07,0.07,0.07,1}; <--- THIS
    position = "light_1_pos";
    direction = "light_1_dir";
    hitpoint = "L svetlo";
    selection = "L svetlo";
    size = 1;
    brightness = 1;
   };
  };
Thanx for the reply
Title: Re: hud.hpp
Post by: Planck on 13 Mar 2009, 13:39:00
No that section is for the exterior spotlights the aircraft might have.

What nuxil is playing with in the other topic is the 'class Draw' section of
 'class MFD'  in the AV8B part of the air.pbo config.
Basically the AirPlaneHUD section really.

hud.hpp was a file nuxil wrote to be 'included' into his config by using the line #include "hud.hpp" at the spot in his config that he wanted the contents of this file inserted.
Basically a config snippet if you like.


Planck
Title: Re: hud.hpp
Post by: Acid on 13 Mar 2009, 21:18:12
hud.hpp was a file nuxil wrote to be 'included' into his config by using the line #include "hud.hpp" at the spot in his config that he wanted the contents of this file inserted.
Basically a config snippet if you like.


Planck
So, you cant directly edit the config.bin/.cpp the way it is now to show these differnt colors ?
Title: Re: hud.hpp
Post by: Planck on 14 Mar 2009, 01:03:15
Yes, of course you can edit the file yourself, otherwise nuxil would not have been able to add the line...... #include "hud.hpp".

You can do it that way or edit the config directly, or, more appropriately, a copy of the config.


Planck