Jump to content
Sign in to follow this  
eagledude4

Question regarding backup and brake lights

Recommended Posts

selectionBrakeLights="brzdove svetlo";
selectionBackLights="zadni svetlo";

How are these effects actually applied, and what's required in the model.cfg?

Edited by eagledude4

Share this post


Link to post
Share on other sites

put them just in cfg sections (the place where you set "camo01" to have camo, the place you put "zbytek" or "telo" to have damage effect)

nothing more, selection in visual lod, puting them into sections , no need in skeleton, no need in cfganimations,

i released in my topic some MLODs, take a look inside at model.cfg for cars

Share this post


Link to post
Share on other sites

Just to clarify your thread title, it's not a backup/reverse light, there are rear red lights for when the headlights are on, and rear red lights that are used to indicate braking.

Share this post


Link to post
Share on other sites

@Vilas: Thanks vilas, but I already have an mlod reference I'm using.

@Messiah: How do I do reverse lights then, is it possible (without using a keydown script )

Edited by eagledude4

Share this post


Link to post
Share on other sites

probably it would require some complicated scripting connceted with car movement backwards or back arrow in keyboard,

there is no rear gear light in Arma engine like it was not present in OFP,

rear gear light, turn left or turn right lights are in VBS, in OFP, Arma1, Arma2 you have lights (indicating position, reflectors) and breaking rear light , nothing more

Share this post


Link to post
Share on other sites
probably it would require some complicated scripting connceted with car movement backwards or back arrow in keyboard,

there is no rear gear light in Arma engine like it was not present in OFP,

rear gear light, turn left or turn right lights are in VBS, in OFP, Arma1, Arma2 you have lights (indicating position, reflectors) and breaking rear light , nothing more

You can script it and use the hide animation to turn a reverse light on and off when the vehicle in question has a negative speed, although the script has to loop to continually check the vehicle's speed, so it's not resource friendlly.

Share this post


Link to post
Share on other sites

use the source you use for registering spped animation in the model.cfg as a source for a hide animation.

you may get away with Hide and mirror source for a light or bright white texture to show/ hide when vehicle is at negative speed , this wouldnt require a script.

Share this post


Link to post
Share on other sites

@Vilas: Damn, I was hoping there was a function in the engine that could be used in the config.

@Thromp: Something like this?

code:

class ReverseLights {
type ="hide";
source="speed";
selection="zadni svetlo";
hideValue = 1;
};

What other values are required?

Edited by eagledude4

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  

×