View Full Version : Svetlopp & svetlopl
TakanoFukada
Jan 7 2003, 10:39
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 !
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
TakanoFukada
Jan 7 2003, 11:40
but when I look at the BMP model, the svetloPP & svetloPL are inside... so what's the difference?
GeneralMortars
Jan 11 2003, 16:02
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.