Jump to content
fourseven

Lighting showing behind vehicle

Recommended Posts

Another day, another newbie question.

 

Can anyone tell me how to fix the following issues? The lighting from the front lights is appearing behind the model, but the lighting from the rear lights is working as expected. In the screenshots below I've removed the rear lights to test that it is infact the front lights flashing at the rear. My take downs are also showing behind as well. The only thing showing correctly are the headlight flashes, however I had nothing to do with that obviously!

 

I've messed around with different axis and made some adjustments to my ELS config file X/Y/Z settings but no luck. 

 

 

2.jpg

1.jpg

Edited by fourseven
Updated title

Share this post


Link to post
Share on other sites
8 minutes ago, Caffeinated said:

Post the ELS Config for us to look at.

 

<?xml version="1.0" encoding="utf-8"?>
<!-- ELS VEHICLE CONFIGURATION FILE -->
<vcfroot Description="FBI" Author="fourseven" >
    <!-- INTERFACE -->
    <INTERFACE>
        <LstgActivationType>auto</LstgActivationType>
        <DefaultSirenMode>standby</DefaultSirenMode>
        <InfoPanelHeaderColor>grey</InfoPanelHeaderColor>
        <InfoPanelButtonLightColor>orange</InfoPanelButtonLightColor>
    </INTERFACE>
    <!-- EXTRAS OVERRIDE AND ENV LIGHTING-->
    <EOVERRIDE>    
        <Extra01 IsElsControlled="true" AllowEnvLight="true" Color="red" OffsetX="-0.70" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra02 IsElsControlled="false" AllowEnvLight="true" Color="red" OffsetX="-0.25" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra03 IsElsControlled="false" AllowEnvLight="true" Color="blue" OffsetX="0.25" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra04 IsElsControlled="true" AllowEnvLight="true" Color="blue" OffsetX="0.70" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra05 IsElsControlled="false" AllowEnvLight="true" Color="red" OffsetX="-0.70" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra06 IsElsControlled="false" AllowEnvLight="true" Color="blue" OffsetX="0.70" OffsetY="-0.20" OffsetZ="0.50" />
        <Extra07 IsElsControlled="false" AllowEnvLight="true" Color="red" OffsetX="-0.40" OffsetY="-0.80" OffsetZ="0.40" />
        <Extra08 IsElsControlled="false" AllowEnvLight="true" Color="amber" OffsetX="0.00" OffsetY="-0.80" OffsetZ="0.40" />
        <Extra09 IsElsControlled="false" AllowEnvLight="true" Color="blue" OffsetX="0.40" OffsetY="-0.80" OffsetZ="0.40" />
        <Extra10 IsElsControlled="false" />
        <Extra11 IsElsControlled="true" />
        <Extra12 IsElsControlled="false" />
    </EOVERRIDE>
    <!-- MISC -->
    <MISC>
        <VehicleIsSlicktop>true</VehicleIsSlicktop>
        <ArrowboardType>off</ArrowboardType>
        <UseSteadyBurnLights>false</UseSteadyBurnLights>
        <DfltSirenLtsActivateAtLstg>3</DfltSirenLtsActivateAtLstg>
        <Takedowns AllowUse="true" Mirrored="true" />
        <SceneLights AllowUse="false" IlluminateSidesOnly="true" />    
    </MISC>
    <!-- CRUISE -->
    <CRUISE>
        <DisableAtLstg3>true</DisableAtLstg3>
        <UseExtras Extra1="true" Extra2="false" Extra3="false" Extra4="true" />
    </CRUISE>
    <!-- AUX CORONAS -->
    <ACORONAS>
        <Headlights DfltPattern="1" ColorL="white" ColorR="white" />
        <TailLights DfltPattern="0" ColorL="red" ColorR="red" />
        <IndicatorsF DfltPattern="0" ColorL="white" ColorR="white" />
        <IndicatorsB DfltPattern="0" ColorL="red" ColorR="red" />
        <ReverseLights DfltPattern="0" ColorL="white" ColorR="white" />
    </ACORONAS>
    <!-- SOUNDS -->
    <SOUNDS>
        <MainHorn InterruptsSiren="true" AudioString="SIRENS_AIRHORN" />
        <ManTone1 AllowUse="true" AudioString="VEHICLES_HORNS_SIREN_1" />
        <ManTone2 AllowUse="true" AudioString="VEHICLES_HORNS_SIREN_2" />
        <SrnTone1 AllowUse="true" AudioString="VEHICLES_HORNS_SIREN_1" />
        <SrnTone2 AllowUse="true" AudioString="VEHICLES_HORNS_SIREN_2" />
        <SrnTone3 AllowUse="true" AudioString="VEHICLES_HORNS_POLICE_WARNING" />
        <SrnTone4 AllowUse="true" AudioString="VEHICLES_HORNS_AMBULANCE_WARNING" />
        <AuxSiren AllowUse="true" AudioString="VEHICLES_HORNS_SIREN_1" />
        <PanicMde AllowUse="true" AudioString="VEHICLES_HORNS_POLICE_WARNING" />
    </SOUNDS>
    <!-- WRNL -->
    <WRNL LightingFormat="leds" >
        <PresetPatterns>
            <Lstg3 Enabled="true" Pattern="24" />
        </PresetPatterns>
        <ForcedPatterns>
            <MainHorn Enabled="false" Pattern="0" />
            <SrnTone1 Enabled="false" Pattern="0" />
            <SrnTone2 Enabled="false" Pattern="0" />
            <SrnTone3 Enabled="false" Pattern="0" />
            <SrnTone4 Enabled="false" Pattern="0" />
            <PanicMde Enabled="false" Pattern="0" />
            <OutOfVeh Enabled="false" Pattern="0" />
        </ForcedPatterns>
        <ScanPatternCustomPool Enabled="false" Sequential="true" >
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
        </ScanPatternCustomPool>
    </WRNL>
    <!-- PRML -->
    <PRML LightingFormat="leds" ExtrasActiveAtLstg2="1and4" >
        <PresetPatterns>
            <Lstg2 Enabled="false" Pattern="0" />
            <Lstg3 Enabled="true" Pattern="44" />
        </PresetPatterns>
        <ForcedPatterns>
            <MainHorn Enabled="false" Pattern="0" />
            <SrnTone1 Enabled="false" Pattern="0" />
            <SrnTone2 Enabled="false" Pattern="0" />
            <SrnTone3 Enabled="false" Pattern="0" />
            <SrnTone4 Enabled="false" Pattern="0" />
            <PanicMde Enabled="false" Pattern="0" />
            <OutOfVeh Enabled="false" Pattern="0" />
        </ForcedPatterns>
        <ScanPatternCustomPool Enabled="false" Sequential="true">
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
        </ScanPatternCustomPool>
    </PRML>
    <!-- SECL -->
    <SECL LightingFormat="leds" DisableAtLstg3="false" >
        <PresetPatterns>
            <Lstg1 Enabled="false" Pattern="0" />
            <Lstg2 Enabled="false" Pattern="0" />
            <Lstg3 Enabled="true" Pattern="80" />
        </PresetPatterns>
        <ForcedPatterns>
            <MainHorn Enabled="false" Pattern="0" />
            <SrnTone1 Enabled="false" Pattern="0" />
            <SrnTone2 Enabled="false" Pattern="0" />
            <SrnTone3 Enabled="false" Pattern="0" />
            <SrnTone4 Enabled="false" Pattern="0" />
            <PanicMde Enabled="false" Pattern="0" />
            <OutOfVeh Enabled="false" Pattern="0" />
        </ForcedPatterns>
        <ScanPatternCustomPool Enabled="false" Sequential="true" >
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
            <Pattern>0</Pattern>
        </ScanPatternCustomPool>
    </SECL>
</vcfroot>

I've adjusted the coordinates a few times with no luck. This is my current config used for the screenshots above.

Share this post


Link to post
Share on other sites

I missed completely that you also said your take-downs are backward.  You need to relocate and resize your dummies for the front facing lights.  Is that a sound off front-bar ? 

Share this post


Link to post
Share on other sites
7 minutes ago, Caffeinated said:

I missed completely that you also said your take-downs are backward.  You need to relocate and resize your dummies for the front facing lights.  Is that a sound off front-bar ? 

 

I did adjust dummies but not to that extent. Can you provide any advice on where I'm relocating them and how/to what I'm resizing them?

 

The bar is from Bueno's generic LED light package: http://www.gta-mod-center.com/forum/index.php?/files/file/864-dev-generic-led-light-package/

 

Appreciate your help!

Share this post


Link to post
Share on other sites
8 minutes ago, Caffeinated said:

So run me through what you did exactly. You merged the z3d save for those parts and then what?

 

Opened the pack/z3d file, stripped out the other light bars and textures except for the one I wanted, merged it into the project, moved it into place and scaled it to suit. Created two dummies for extra_1 and extra_4, compounded etc. As far as I'm aware I hadn't rotated anything at all, but since they haven't worked in game I've reset the axis in every way I thought possible.

 

I created new dummies, relocated and rotated several times to test then copied the axis from the newly located/rotated dummies to the existing dummies used for the bar but I still can't get them lighting forward. The only change I saw during this testing was the takedown, which was then facing downward. I used another set of lights from a different pack, this time merging them straight in and placing them and they don't light forwards either.

 

Do you think it's worth me remerging the original pack with no edits to see if the problem still exists?

 

Edited by fourseven

Share this post


Link to post
Share on other sites

Don't know if you have already solved this issue, however to fix it when I had this problem, I had to manually rotate the dummies for the lights that were backwards. I tried doing one dummy at a time to ensure it worked and that ended up fixing it for me.

 

Again not sure if you managed to fix this already with Caffeinated's help.

Share this post


Link to post
Share on other sites

Cheers mate. I rotated the dummies a few times without success, but there's a good chance I still didn't do it correctly. Caffeinated had a look at my z3d file and has resolved it, just waiting for him to run me through how he fixed it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×