Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Laser Designator cpp  (Read 2751 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Laser Designator cpp
« on: 16 Jun 2007, 22:58:44 »
Could someone in the know please post the cpp for the LaserDesignator?
urp!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Laser Designator cpp
« Reply #1 on: 17 Jun 2007, 02:56:36 »
Code: [Select]
class Laserdesignator: Binocular
 {
  model = "\ca\weapons\soflam";
  modelOptics = "\ca\weapons\optika_SOFLAM";
  displayName = "$STR_DN_LASER_DESIGNATOR";
  picture = "\Ca\weapons\Data\Equip\W_SOFLAM_CA.paa";
  magazines[] = {"Laserbatteries"};
  cursorAim = "\ca\Weapons\Data\cursor_target_locked_ca.paa";
  showSwitchAction = 1;
  forceOptics = 2;
 };


Planck
I know a little about a lot, and a lot about a little.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Laser Designator cpp
« Reply #2 on: 17 Jun 2007, 04:35:55 »
Ack, for some foolish reason I thought the config would hold more secrets than that!  :shhh:
urp!