[SA] How to Adapt cars to Sirens & Lights
Enviado: 01 Out 2022, 18:36
TURORIAL DE CONVERSÃO EM PORTUGUÊS
Hello, here is finally a tutorial on how to convert cars to my new "Sirens & Lights" mod

First, let's go to the requirements:
Sirens & Lights (OBVIOUSLY)
Zmodeler 2
Have experience about: UV editing, materials and their properties and dummies. Above all, knowing how to edit cars using Zmodeler2
first, we will learn to convert cars, and then motorcycles.
CARS:
so choose your car, i will be using the police car from Las venturas

And the first of all will be to give the lights their proper materials, the blue light being the right headlight

and the red one, the left headlight

Then, edit the UV of the lights to adjust the textures correctly, since when you change the material, it may have a wrong UV.
So try to get to a point you want (in my case, the classic blue and red).

You may also want to change the material of the rear lights, so they flash like the front lights. (NOTE: no need to edit the UV in this case)

And finally, position the dummy, to have the light effect seen in photos. You must position the dummy "PED_ARM" where the right light will be (the left light must be in the same X position as the right, because the PED_ARM will be mirrored on the other side)
REMEMBER! the "ped_arm" should always be on the right side, or the in-game effects may be ugly

MOTORBIKES:
without much mystery, the only thing we have to do is position the dummy "TAILLIGHTS2" (not the "ped_arm") in the position where the right light will be, and that's it.

.INI (ADD-ON VEHICLES):
this section is exclusive to the cars you add in the ini (not necessarily without replacing).
In case you have added another emergency car (or motorcycle) that does not replace the original emergency cars, here is the section for them.
FIRST, it MUST have a working siren (I recommend Siren Extender), so it can work in my mod.
Setting the car ID:
To get started, find inside the INI, this spoiler section below
In the line "CAR1 = 0", change the "0" by the ID of your car. I will be using the tow truck, in which its ID is 525, so it will look like this:
Setting the STYLE of the lights.
And now, find inside the INI, this spoiler section below
And change the number "0" from "CAR1=0" to 1,2 or 3 as per your need.
1 = police style (primary light is on, the other (secondary light) is off and vice versa.)
2 = ambulance/fire truck (2 lights turn on TOGETHER, turn off together, turn on again and so on)
3 = small (similar to police style but smaller, and does not affect front/rear lights, useful for motorcycles)
finally, how to edit the COLORS of the lights:
Find inside the INI, this spoiler section below
and configure the colors (I recommend using COLOR PICKER), the first 3 RGBs are the primary color (the light on the right), and the last 3, are the secondary color. Now finish the configuration, and you can test it in-game
And this is how my tow truck was converted to Sirens & Lights:

Hello, here is finally a tutorial on how to convert cars to my new "Sirens & Lights" mod

First, let's go to the requirements:
Sirens & Lights (OBVIOUSLY)
Zmodeler 2
Have experience about: UV editing, materials and their properties and dummies. Above all, knowing how to edit cars using Zmodeler2
first, we will learn to convert cars, and then motorcycles.
CARS:
so choose your car, i will be using the police car from Las venturas

And the first of all will be to give the lights their proper materials, the blue light being the right headlight

and the red one, the left headlight

Then, edit the UV of the lights to adjust the textures correctly, since when you change the material, it may have a wrong UV.
So try to get to a point you want (in my case, the classic blue and red).

You may also want to change the material of the rear lights, so they flash like the front lights. (NOTE: no need to edit the UV in this case)

And finally, position the dummy, to have the light effect seen in photos. You must position the dummy "PED_ARM" where the right light will be (the left light must be in the same X position as the right, because the PED_ARM will be mirrored on the other side)
REMEMBER! the "ped_arm" should always be on the right side, or the in-game effects may be ugly

MOTORBIKES:
without much mystery, the only thing we have to do is position the dummy "TAILLIGHTS2" (not the "ped_arm") in the position where the right light will be, and that's it.

.INI (ADD-ON VEHICLES):
this section is exclusive to the cars you add in the ini (not necessarily without replacing).
In case you have added another emergency car (or motorcycle) that does not replace the original emergency cars, here is the section for them.
FIRST, it MUST have a working siren (I recommend Siren Extender), so it can work in my mod.
Setting the car ID:
To get started, find inside the INI, this spoiler section below
SpoilerAbrir
[ADDON]
#ID OF CAR (leave 0 to not read)
CAR1 = 0
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
#ID OF CAR (leave 0 to not read)
CAR1 = 0
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
SpoilerAbrir
[ADDON]
#ID OF CAR (leave 0 to not read)
CAR1 = 525
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
#ID OF CAR (leave 0 to not read)
CAR1 = 525
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
Setting the STYLE of the lights.
And now, find inside the INI, this spoiler section below
SpoilerAbrir
[MODE]
CAR1 = 0
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
CAR1 = 0
CAR2 = 0
CAR3 = 0
CAR4 = 0
CAR5 = 0
CAR6 = 0
CAR7 = 0
CAR8 = 0
CAR9 = 0
CAR10 = 0
1 = police style (primary light is on, the other (secondary light) is off and vice versa.)
2 = ambulance/fire truck (2 lights turn on TOGETHER, turn off together, turn on again and so on)
3 = small (similar to police style but smaller, and does not affect front/rear lights, useful for motorcycles)
finally, how to edit the COLORS of the lights:
Find inside the INI, this spoiler section below
SpoilerAbrir
[CAR1]
#primary color
R = 0
G = 0
B = 0
#secondary color
R2 = 0
G2 = 0
B2 = 0
#primary color
R = 0
G = 0
B = 0
#secondary color
R2 = 0
G2 = 0
B2 = 0
And this is how my tow truck was converted to Sirens & Lights:
