OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: swift88 on 21 Feb 2004, 13:46:36

Title: Lighting Prob
Post by: swift88 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  >:(
(http://www.trackpads.com/gallery/data/500/2795ferret_mk1_mk3.jpg)
Title: Re:Lighting Prob
Post by: Rastavovich 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.
Title: Re:Lighting Prob
Post by: swift88 on 21 Feb 2004, 19:51:15
already got that in there
Title: Re:Lighting Prob
Post by: Rastavovich 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.
Title: Re:Lighting Prob
Post by: swift88 on 21 Feb 2004, 20:22:43
ok thanks 4 ya help mate...... i tink ive fixed it now