Jump to content
Sign in to follow this  
odyseus

Collision lights issue.

Recommended Posts

Hello guys,

I am ruining into a little problem. Right at the start of my project my collision lights were working fine. Then after an update it just got funny. The collision lights are there but very weak. I almost ca not see it. I try everything already to try to make it work as it was again, but i failed. Did any of you guys ever ran into this? Does anyone would know where the problems is!? thank you!

Share this post


Link to post
Share on other sites

hey guys here is an sample 2048x546.resizedimage what you guys think. this is driving me crazy

Share this post


Link to post
Share on other sites

Odysseus it's kind a tricky to guess where exactly the problem is without seeing config file. I can share you some of Saul's and mine config for marker lights used on F/A-18's and SU-35.

this code is part of CfgVehicles config in main config.cpp

class MarkerLights

{

class Cockpit_light_1

{

//this is a week emitting light source used to lit up cabin

//name of actual memory point in models memory LOD

name = "cockpit_light_pos";

//ambient light intensity, how much of object/model will be lit around the light source

ambient[] = {.01,.01,.01,0.8};

//self explanatory, first three numbers will define color, last will define transparency for it

color[] = {0.03,1,0.11,1};

//overall brightness of light source

brightness = 0.025;

//variable true/false

blinking = false;

//additional effects

class Attenuation

{

start = 1;

constant = 0;

linear = 0;

quadratic = 4;

};

};

class Red_Still_R

{

name = "wingtip_marker_light_red";

color[] = {1000, 0, 0, 1};

ambient[] = {1, 0, 0, 1};

brightness = 0.05;

blinking = false;

};

class Green_Still_L

{

name = "wingtip_marker_light_green";

color[] = {0.03, 0.3, 0.03, 1};

ambient[] = {0.003, 0.03, 0.003, 1};

brightness = 0.05;

blinking = false;

};

class White_Still_L

{

name = "marker_light_white_L";

color[] = {0.0388, 0.0388, 0.0388, 1};

ambient[] = {0.03, 0.023, 0.0056, 1};

brightness = 0.05;

blinking = false;

};

class White_Still_R

{

name = "marker_light_white_R";

color[] = {0.0388, 0.0388, 0.0388, 1};

ambient[] = {0.03, 0.023, 0.0056, 1};

brightness = 0.05;

blinking = false;

};

class Red_blinking_L

{

name = "marker_light_red_L";

color[] = {1000, 0, 0, 1};

ambient[] = {1, 0, 0, 1};

brightness = 0.03;

blinking = true;

};

class Red_blinking_R

{

name = "marker_light_red_R";

color[] = {1000, 0, 0, 1};

ambient[] = {1, 0, 0, 1};

brightness = 0.03;

blinking = true;

};

};

hope this helps mate

John

  • Like 1

Share this post


Link to post
Share on other sites

Great mate, I will give a try later on today. Just one question. the line "name = "marker_light_red_L";" actually refears to the name of the vertices in memory LOD right? Thank you.

Share this post


Link to post
Share on other sites

Thank you guys, it worked great. Special thx to you John_Spartan, for going out of your way. Thank brow!

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  

×