Hello again, each day, each test, new problem to resolve . So now it's on the lights (hlglo, blglo ...). Context: I have 2 cars in my mod, and each with their own lights When I test with only one car in the mod folder (in dev mod) all working well. When I put the two cars, the second car have the lights of the first car Seems the game loading the hlglo/blglo once and use them for all cars in the mod. Only the limiter lights in rear working well (specific on each car). I tried with this kind of folder structure : ModDev\Vehicles\MyMod\Car1 ModDev\Vehicles\MyMod\Car2 And I tried to put the cars in two several separated folder, no change when the two cars are on the track. ModDev\Vehicles\MyModCar1 ModDev\Vehicles\MyModCar2 No change. I tried to rename .GMT files on each car to avoid same GMT name, and when I do that, the lights don't work at all on any car of the mod (the GMT name is mandatory to be hlglo_DS.gmt for example and not hlglo_DS_Car1.gmt ) An extract of my .gen files, if you have an idea ?? Car 1 Code: Instance=HlightDS //Headlights -Driver Side { Moveable=True MeshFile=hlglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=HlightPS //Headlights -Passenger Side { Moveable=True MeshFile=hlglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=BLIGHTDS //Brakelights -Driver Side { Moveable=True MeshFile=blglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=BLIGHTPS //Brakelights -Passenger Side { Moveable=True MeshFile=blglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=REVERSELIGHT { Moveable=True MeshFile=rlglo.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=RAINLIGHT { Moveable=True MeshFile=TLIGHT_CAR1.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) } Car 2 Code: Instance=HlightDS //Headlights -Driver Side { Moveable=True MeshFile=hlglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=HlightPS //Headlights -Passenger Side { Moveable=True MeshFile=hlglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=BLIGHTDS //Brakelights -Driver Side { Moveable=True MeshFile=blglo_DS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=BLIGHTPS //Brakelights -Passenger Side { Moveable=True MeshFile=blglo_PS.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=REVERSELIGHT { Moveable=True MeshFile=rlglo.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) } Instance=RAINLIGHT { Moveable=True MeshFile=TLIGHT_CAR2.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) } Build 134 used.
I resolved this issue. The reason was that the SeachPath in the .gen files was too large and point on all the .mas for each car. So the .gmt used was the first found by the game and never search another .gmt for the other cars. I reduced the SearchPath to the only directory of the car (for each car) and now the light used are the right for each car. Subject can be tagged at Solved.
What exactly did you do with your mod layout and paths in the gen files to get them working? We are having the same issue with a mod that we are working on with two cars in it. Any insight would be greatly appreciated. Thanks
In the .gen of the first Car : SearchPath=<VEHDIR> SearchPath=<VEHDIR>MYFIRSTCAR SearchPath=<VEHDIR>MYFIRSTCAR\TEAMS SearchPath=<VEHDIR>MYFIRSTCAR\MAS In the .gen of the second Car : SearchPath=<VEHDIR> SearchPath=<VEHDIR>MYSECONDCAR SearchPath=<VEHDIR>MYECONDCAR\TEAMS SearchPath=<VEHDIR>MYSECONDCAR\MAS
Hey thanks for the reply man but it still didnt work :/ This is what I have.. SearchPath=<VEHDIR> SearchPath=<VEHDIR>hakosuka SearchPath=<VEHDIR>hakosuka\teams SearchPath=<VEHDIR>hakosuka\mas MASFile=hakosuka\hakosuka.mas SearchPath=<VEHDIR> SearchPath=<VEHDIR>240z SearchPath=<VEHDIR>240z\teams SearchPath=<VEHDIR>240z\mas MASFile=240z\240z.mas cheers
I had this problem too. For some reason, it fixed itself. Your best bet is to test it in game, or remove one of the cars temporarily.