Jump to content
Sign in to follow this  
TakanoFukada

Svetlopp & svetlopl

Recommended Posts

I need some help on vehicle front lights... specifically on the textures commonly used in BIS models for the flares in front of vehicle lights.

I copied 2 of the textures for the front light flares from a BMP model in O2 and pasted them into my own model. I'm sure I have named them properly, "svetlo PP & svetlo PL"... BUT here comes the problem. These "light flares" which are actually simply texture maps show up in daytime!!! Can anyone kindly show me the trick ?

Thanks a lot !

Share this post


Link to post
Share on other sites

I have front, back and brake lights on one of my cars, but I dont have any selection named "svetlo PP" like that. See the demo Jeep p3d file for more info. There there is only one seleciton name for the brake light plane, and both rear and front light are under a single selection "zadni svetlo". Its strange, but it works perfect.

So open up the Jeep.p3d from the demo and have a look

brsseb

Share this post


Link to post
Share on other sites

but when I look at the BMP model, the svetloPP & svetloPL are inside... so what's the difference?

Share this post


Link to post
Share on other sites

Hi! I had the same problem on my tank.

Just create a selection in O2 containing both "Svetlo PP" and "Svetlo PL". Call the selection "zadni svetlo", and change over to your config.cpp

Insert the following lines to your config.cpp -->

class CfgModels

{

class Default

{

  sections[] = {};

sectionsInherit="";

};

class Vehicle: Default {};

class Tank: Vehicle

{

  sectionsInherit="Vehicle";

  sections[]=

  {

  "zadni svetlo"

  };

};

class NameOfYourTank: Tank {};

};

With NameOfYourTank refer to the exact Name of vehicle you created a class for in cfgvehicles!

Remember to create "zadni svetlo" selection for every Detail-LOD you made. Otherwise it only works in the the LOD's with selection made.

Ok, that should do the trick! At least on my own project it does.

Regards

GM

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×