European Endurance Center
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Facebook
EEC Friends
RacingCircuits

New topics
» introduce
Any way to turn of ai headlights I_icon_minitime25/4/2024, 01:18 by VitinKratos

» SuperGT GT300 2018-2019 3d Models
Any way to turn of ai headlights I_icon_minitime22/4/2024, 16:42 by vadhil

» Itaipava GT Brasil 2010 V1.3
Any way to turn of ai headlights I_icon_minitime4/4/2024, 11:59 by Orteva

» South East
Any way to turn of ai headlights I_icon_minitime28/3/2024, 22:53 by sandersk

» Looking for NASCAR skins?
Any way to turn of ai headlights I_icon_minitime28/3/2024, 17:03 by why_not_simracer

» Help needed FRM TOURING CARS
Any way to turn of ai headlights I_icon_minitime24/3/2024, 15:42 by fjs

» La Dehesa Conversion from rFactor for GTR2
Any way to turn of ai headlights I_icon_minitime24/3/2024, 04:11 by hundo

» introduce
Any way to turn of ai headlights I_icon_minitime22/3/2024, 12:04 by teufteuf72

» Hello from Japan
Any way to turn of ai headlights I_icon_minitime21/3/2024, 09:12 by GRtoyotafan2


Any way to turn of ai headlights

4 posters

Go down

Any way to turn of ai headlights Empty Any way to turn of ai headlights

Post  Samsonov 1/11/2020, 18:28

I get a massive performance drop when ai headlights are switched on. I can race many tracks in the dark fine with them switched off, and I guess the ai only have them for aesthetic reasons, so is there any way I can stop the ai turning them on?

______________________________________________________________________________________________________________________
Sam Fellowes

Samsonov

Posts : 8
Join date : 2020-10-12

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  kk08 2/11/2020, 23:24

You could get some help if you say which is your game.

______________________________________________________________________________________________________________________
Giovanni Carbonaro, Italy

kk08

Posts : 897
Join date : 2013-01-03

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  Samsonov 3/11/2020, 23:55

Ah, sorry, I should have mentioned it is GTR2. I sometimes run it on my netbook and it can get a good framerate with nearly full graphics (except shadows which I turn off) but usually not enough for night races even with headlights on low.

______________________________________________________________________________________________________________________
Sam Fellowes

Samsonov

Posts : 8
Join date : 2020-10-12

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  kk08 4/11/2020, 00:03

Well, it's a strange request. I cannot imagine a workaround to delete AI lights. You can try to comment in cas file all the entries like this
Projector=SOMETHING_AI
{
Moveable=True .......
}

in this way

Projector=SOMETHING_AI
{
//Moveable=True .......
}

I think it will end in two possible ways: what you want or your game will crash.

Try and good luck....

______________________________________________________________________________________________________________________
Giovanni Carbonaro, Italy

kk08

Posts : 897
Join date : 2013-01-03

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  harvestmouse 4/11/2020, 06:46

I think he means mods that have the headlights perma on. The SGT Mod for example.

This question came up recently.............is it in the .Cas file?

______________________________________________________________________________________________________________________
[You must be registered and logged in to see this image.]

Lee Day
harvestmouse
harvestmouse

Posts : 1217
Join date : 2013-10-08
Age : 46
Location : Surrey UK

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  Jempy 4/11/2020, 15:03

What's surely consuming for a PC with car lights are not the car lights themselves ( it's only a different texture when lights are on ) but the real problem is surely more the projected lights on the track.
Those ones are well in the .cas file .... but not allowing them for AI won't allow one's own lights either.

So the question is: is it what's the OP wishes ? ... drive in his own dark in the night ? Surprised

In this case, just open the .cas files for the cars you're driving and all other models if there are different car models in race and put // before the  lines concerning those lights as here in this example:

//------------------------------------Headlights and Tail Lights------------------------------------------------//

//Projector=HL_2_PLR
//{
//Moveable=True Active=False Pos=(0.0, 0.10, -77.2) Dir=(0.0, -0.5, -1.0) Radius=(28.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_2_PLR.DDS
//}

//Projector=HL_1_PLR
//{
//Moveable=True Active=False Pos=(-0.482, 0.10, -77.2) Dir=(0.0, -0.5, -1.0) Radius=(28.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_1_PLR.DDS
//}

//Projector=HL_2_AI
//{
//Moveable=True Active=False Pos=(0.0, 0.10, -14.0) Dir=(0.0, -1.0, 0.0) Radius=(10.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_2_AI.DDS
//}

//Projector=HL_1_AI
//{
//Moveable=True Active=False Pos=(-0.482, 0.10, -14.0) Dir=(0.0, -1.0, 0.0) Radius=(10.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_1_AI.DDS
//}

AI without lights seen on track and same for your own car ... only the light texture is present on the cars but no beams on the track.

NB before .... save the original cas files .... so it will be easier later to get them back in their original state.

EDIT: it was tested and it's working without any game crash cheers

______________________________________________________________________________________________________________________
Jean-Pierre Blanchy
Jempy
Jempy

Posts : 77
Join date : 2016-08-09
Age : 72
Location : Belgique - Verviers ( near Spa )

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  Jempy 4/11/2020, 15:52

And the final perfect way is as this previous example but corrected that way:

------------------------------------Headlights and Tail Lights------------------------------------------------//

Projector=HL_2_PLR
{
Moveable=True Active=False Pos=(0.0, 0.10, -77.2) Dir=(0.0, -0.5, -1.0) Radius=(28.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_2_PLR.DDS
}

Projector=HL_1_PLR
{
Moveable=True Active=False Pos=(-0.482, 0.10, -77.2) Dir=(0.0, -0.5, -1.0) Radius=(28.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_1_PLR.DDS
}

//Projector=HL_2_AI
//{
//Moveable=True Active=False Pos=(0.0, 0.10, -14.0) Dir=(0.0, -1.0, 0.0) Radius=(10.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_2_AI.DDS
//}

//Projector=HL_1_AI
//{
//Moveable=True Active=False Pos=(-0.482, 0.10, -14.0) Dir=(0.0, -1.0, 0.0) Radius=(10.0) LODOut=(400.0) Blend=(InvDstColor, One) Dyn=True Texmap=HL_1_AI.DDS
//}

Else said: only all lines concerning the _AI .... need to begin with //.

Doing this with all car models in the race ( or even in your whole install ) will allow not to show any AI beam on track while yours will work.
Tested and working ......  [You must be registered and logged in to see this link.] solution was correct if using the // for each lines for AI .... else the game crashed. cheers

______________________________________________________________________________________________________________________
Jean-Pierre Blanchy
Jempy
Jempy

Posts : 77
Join date : 2016-08-09
Age : 72
Location : Belgique - Verviers ( near Spa )

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  Samsonov 4/11/2020, 18:42

Thanks for the help, the Jempy solution worked great. With the ai not turning on their headlights at night I now get sufficient fps to make night races playable on my netbook. It also helps increase fps in very heavy rain (since ai used to turn on headlight at about 50% rainfall but no longer do after modifying the cas file.). Thanks once again, it is appreciated.

______________________________________________________________________________________________________________________
Sam Fellowes

Samsonov

Posts : 8
Join date : 2020-10-12

Back to top Go down

Any way to turn of ai headlights Empty Re: Any way to turn of ai headlights

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum