Messiah 2 Posted February 17, 2005 ok... i have a chasis of a vehicle from one of our former working vehicles which now when in game wont show make the brake lights or the tail lights shine at night shine at night. now... they work in the day perfectly, but dont shine at night. I've set them to shining in the properties and even put the textures in the addon pbo itself, but still no luck... i've named the selections correctly (otherwise they wouldnt work properly, which they do) its just they wont shine at night no matter what i try... Share this post Link to post Share on other sites
Student Pilot 0 Posted February 18, 2005 Do you have a proper CfgModels section in the config? Also, I thought I read somewhere that the selection needs to be set to "Always in shadow", although I could be wrong. Share this post Link to post Share on other sites
Messiah 2 Posted February 18, 2005 Do you have a proper CfgModels section in the config?Also, I thought I read somewhere that the selection needs to be set to "Always in shadow", although I could be wrong. good point about the cfgmodels... forgot to check that (lol) as for the shadow... nope, looking at BIS's open source models, they're all set to shining Share this post Link to post Share on other sites
Student Pilot 0 Posted February 19, 2005 Quote[/b] ]as for the shadow... nope, looking at BIS's open source models, they're all set to shining Well, I guess I can't argue my point then! The only suggestion I can make then is to add a CfgModels section, besides that, I have no clue. Share this post Link to post Share on other sites
wildo 0 Posted February 24, 2005 when they are set to shining the lights will show up alot brighter at night when they are on whereas always in shadow will do the exact opposit Wildo Share this post Link to post Share on other sites
Student Pilot 0 Posted February 27, 2005 Oh, ok, I understand, thanks for the clarification! Share this post Link to post Share on other sites
Guest RKSL-Rock Posted February 27, 2005 ok... i have a chasis of a vehicle from one of our former working vehicles which now when in game wont show make the brake lights or the tail lights shine at night shine at night.now... they work in the day perfectly, but dont shine at night. I've set them to shining in the properties and even put the textures in the addon pbo itself, but still no luck... i've named the selections correctly (otherwise they wouldnt work properly, which they do) its just they wont shine at night no matter what i try... Cant remeber here...dont shoot me if i'm wrong. But arent the lights done with hidden selections? If so they need to use the same class name as the model name afaik. Share this post Link to post Share on other sites
Messiah 2 Posted February 27, 2005 not hidden selections, but selections... i checked the model thing... and thought it was the problem as my cfg models was very screwed... but after changing and testing its still fooked... <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgModels { class default {}; class Vehicle: default {}; class Car: Vehicle {}; class Jeep: Car {}; class JeepMG: Jeep {}; class UKF_WMIK: JeepMG { sectionsInherit="JeepMG"; sections[]={"Number1","Number2","Number3","Number4", "Camo1", "Camo2", "Camo3", "Camo4", "Camo5", "Camo6", "reverse","zadni svetlo","brzdove svetlo"}; }; }; class CfgPatches { class UKF_WMIK { units[] = {UKF_WMIK}; weapons[] = {}; requiredVersion = 1.91; requiredAddons[]={"JAM_Magazines"}; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class LandVehicle: Land {}; class Car: LandVehicle {}; class Jeep: Car {}; class JeepMG: Jeep {}; class UKF_WMIK: JeepMG it works ingame in terms of everything besides the damn lights... anything i've missed? Share this post Link to post Share on other sites
ExtracTioN 0 Posted February 28, 2005 What is the name of the p3d model m8 Post the full config than I or someone else might help you Oh and in the cfgmodels section class CfgModels { class default {}; class Vehicle: default {}; class Car: Vehicle {}; class UKF_WMIK: Car <----Be sure that you have writed the p3d model name Share this post Link to post Share on other sites
ExtracTioN 0 Posted February 28, 2005 Try this one class CfgModels { class default {}; class Vehicle: default {}; class Car: Vehicle {}; class UKF_WMIK: Car { sectionsInherit="vehicle"; sections[]={"Number1","Number2","Number3","Number4", "Camo1", "Camo2", "Camo3", "Camo4", "Camo5", "Camo6", "reverse","zadni svetlo","brzdove svetlo"}; }; }; class CfgPatches { class UKF_WMIK { units[] = {UKF_WMIK}; weapons[] = {}; requiredVersion = 1.91; requiredAddons[]={"JAM_Magazines"}; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class LandVehicle: Land {}; class Car: LandVehicle {}; class Jeep: Car {}; class JeepMG: Jeep {}; class UKF_WMIK: JeepMG Share this post Link to post Share on other sites
Messiah 2 Posted February 28, 2005 ok, cheers fella - the p3d name is UKF_WMIK.p3d so i know its not the usual forgetting to use the same names (as the muzzle flash on the weapon works fine, which is normnally the biggest clue) Share this post Link to post Share on other sites