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: Lighting Prob  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

swift88

  • Guest
Lighting Prob
« on: 21 Feb 2004, 13:46:36 »
didnt know where to plonk this so i put it in the addon editing...... i was just wondering how i could get rid of the vehicle lights during the day time but allow em to come on during night (know what i mean) i know this pics in O2 but the lights are on during OFP too, making it an annoyance because ive tried most things and nothings worked  >:(

Rastavovich

  • Guest
Re:Lighting Prob
« Reply #1 on: 21 Feb 2004, 19:50:00 »
Make sure you have a working CfgModels section in your config.
 should be something like:
Code: [Select]
class CfgModels
{
   class Default{};
   class Vehicle: Default{};
   class Car: Vehicle {};
   class modelname: Car {};
};

modelname is the name of your model, without .p3d extension.

swift88

  • Guest
Re:Lighting Prob
« Reply #2 on: 21 Feb 2004, 19:51:15 »
already got that in there
« Last Edit: 21 Feb 2004, 19:51:59 by swift88 »

Rastavovich

  • Guest
Re:Lighting Prob
« Reply #3 on: 21 Feb 2004, 20:19:51 »
Have you binarized your models?
Cause if you binarize them without a config present (which has a cfgmodels section) it will show that problem aswell.

swift88

  • Guest
Re:Lighting Prob
« Reply #4 on: 21 Feb 2004, 20:22:43 »
ok thanks 4 ya help mate...... i tink ive fixed it now