Home   Help Search Login Register  

Author Topic: hud.hpp  (Read 2264 times)

0 Members and 1 Guest are viewing this topic.

Offline Acid

  • Members
  • *
hud.hpp
« on: 12 Mar 2009, 22:48:28 »
Where do i find this particular file or what .pbo does it reside in ?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: hud.hpp
« Reply #1 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
I know a little about a lot, and a lot about a little.

Offline Acid

  • Members
  • *
Re: hud.hpp
« Reply #2 on: 13 Mar 2009, 00:21:57 »
reference HERE

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

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: hud.hpp
« Reply #3 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
I know a little about a lot, and a lot about a little.

Offline Acid

  • Members
  • *
Re: hud.hpp
« Reply #4 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 ?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: hud.hpp
« Reply #5 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
I know a little about a lot, and a lot about a little.