Ich habe mal wieder ein Problem mit Lightpoints ich selbst finde keinen Fehler aber trotzdem sind die Lightpoints an der falschen stelle und das licht leuchtet auch nicht
Ich hab drinnen
- ShadowVolumen
- Geometry
- Memory
- RoadWay
- Hit-points
- Fire Geometry
Code: model.cfg
class CfgSkeletons
{
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
};
class CfgModels
{
class Default
{
sectionsInherit="";
sections[] = {};
skeletonName = "";
};
class tanke : Default
{
sections[] = {"Light_1_hide","Light_2_hide","Light_3_hide","Light_4_hide"};
};
};
Alles anzeigen
Code: config.cpp
class Land_FuelStation_01_roof_F;
class dar_tanke : Land_FuelStation_01_roof_F
{
scope = 2;
scopeCurator = 2;
displayName = "Tankstelle";
model = "\darkster_mv\model\tanke.p3d";
aggregateReflectors[] =
{
{"Light_1", "Light_2","Light_3","Light_4"}
};
class Reflectors
{
class Light_1
{
color[]={1300,1300,2200};
ambient[]={10,10,12};
intensity=50;
size=1;
innerAngle = 50;
outerAngle = 160;
coneFadeCoef=6;
position="Light_1_pos";
direction="Light_1_dir";
hitpoint="Light_1_hitpoint";
selection="Light_1_hide";
useFlare=1;
flareSize=0.89999998; //0.89999998
flareMaxDistance=350;
class Attenuation
{
start = 0;
constant = 0;
linear = 0;
quadratic = 0.3;
hardLimitStart = 30;
hardLimitEnd = 65;
};
};
class Light_2: Light_1
{
position = "Light_2_pos";
direction = "Light_2_dir";
hitpoint = "Light_2_hitpoint";
selection = "Light_2_hide";
};
class Light_3: Light_1
{
position = "Light_3_pos";
direction = "Light_3_dir";
hitpoint = "Light_3_hitpoint";
selection = "Light_3_hide";
};
class Light_4: Light_1
{
position = "Light_4_pos";
direction = "Light_4_dir";
hitpoint = "Light_4_hitpoint";
selection = "Light_4_hide";
};
};
};
Alles anzeigen