Reputation Activity
-
Captain14 got a reaction from Gyeongeun in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from SrLuK in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from GunsandDrums in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from OfficerBlackjack in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from PhillBellic in [Research/WIP] Custom Light Patterns through carcols.ymtActually on further testing it might be best just to stick with a uniform 32 or 64 bit length as it appears sometimes the additional bits can get cut off. I have yet to try with 64 but I will tonight. I just use the Windows calculator in programmer mode to convert from binary to decimal.
-
Captain14 got a reaction fromDeactivated Memberin [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction fromDeactivated Memberin [Research/WIP] Custom Light Patterns through carcols.ymtDelta value is what controls the rotation direction. A value of pi (3.14159300) will rotate it 180 degrees.
-
Captain14 got a reaction from Skin Works in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from Lozano71 in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from Babylon in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 got a reaction from NeulandInternet in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 reacted toDeactivated Memberin Lundy's sick ass gta v modsOh yeah. I'm not dead, just hibernating.
1949 Ford Custom Fordor - Los Angeles Police
-
Captain14 reacted to Desmond98 in [WIP] LAPD/LASD/CHP FPIU (2014)Not sure if anyone need this, but i'm released hubcap for FPI Sedan/Utility for developers.
You can download it's here:
-
Captain14 got a reaction from SoCal Thero in [Research/WIP] Custom Light Patterns through carcols.ymtHey all,
Recently the OpenIV team has made the carcols.ymt file available as an XML file which allows editing. Big thanks to them for that as this is what makes this project possible. You can find the carcols.xml here: https://www.gta5-mods.com/tools/carcols-ymt-converted-into-xml-format
Anyways on to the meat of it. The carcols is where all vehicle sirensettings are configured. Vehicle developers are probably familiar with this and most, but not all, vehicles currently released have been configured to work with sirensettings 1. Looking in the carcols we can see exactly where siren setting 1 is configured and learn about the structure of sirens. This is a shortened portion of the configuration for siren setting 1:
The full xml contains definitions for all 20 siren elements in order, but I have removed sirens 2-20 for the sake of making it easier to read. So far, here is what I have learned:
The game engine caps the maximum number of sirens at 20 per sirensetting. Custom sirensettings can be added to the file and used. Corona colors and intensity can be edited for each individual siren (format for color: AARRGGBB). They can also be removed completely. Each individual siren can have it's own individual flash pattern (and these can be user created, not just selected from a list) Headlight and taillight flashing can be configured with custom flash patterns - one user has already released a modification that enables headlight flashing. You can set the number of "beats" per minute that the lights will flash using sequencerBPM value. This value will apply to all of the sirens for that specific sirensetting. You can set individual sirens to be rotating or non-rotating and configure their speeds.
So far I have not done any work with rotating lights. For non-rotating lights, the flash pattern can be custom configured by editing the sequencer value under "flashiness" for each siren. In the snippet of code posted above, the siren uses the following configuration:
<sequencer value="1431655765"/> At first glance it looks to be just a random number. This is actually a 32-bit integer, and when you view it in binary, the flash pattern becomes clear:
01010101010101010101010101010101 So this siren uses a simple alternating flash pattern - off, on, off, on, off, on, etc. These can be configured to create new and far more complex flash patterns than are currently in the game. Along with increasing the sequencer beats per minute you can create some neat stuff.
Here is a (very quickly) thrown together demo to showcase possible patterns. This vehicle uses 6 sirens: two for all the red and blue lights, two for the traffic advisor (which is an extra), and two for the headlight strobes. The headlight strobe coronas have been modified to be white and the vehicle uses a completely custom sirensetting. The pattern for the red and blue lights has been customized for alternating speeds.
Again, this is just rough stages of research so far, but I wanted to share what I had found with the community. Hopefully this will be useful for vehicle developers in designing cars which are non-ELS but offer similar levels of functionality. I will be updating this thread with further research as I discover new things.
Thanks for reading and happy modding!
-
Captain14 reacted to 0taku in 0taku's GTA V ProjectsQuick update for you guys. Model is now mapped and I'm in the works of setting it up for GTA V
-
Captain14 got a reaction from has307 in [Research/WIP] Custom Light Patterns through carcols.ymtMy Tahoe brought a tear to my eye... that is gorgeous.
For anyone interested I have a new pack out now that uses carcols, this time for LSPD.
I haven't seen many people here employing scaleFactor with their models. You can edit the scale factor value to change how much the lights scale when turned on and this makes it easier to hide lights in the off position while still using coronas. Feel free to check out the carcols in my packs, you will see that for some lights I use scale factors as large as 100 without issue.
-
Captain14 got a reaction from rukrim in [Research/WIP] Custom Light Patterns through carcols.ymtMy Tahoe brought a tear to my eye... that is gorgeous.
For anyone interested I have a new pack out now that uses carcols, this time for LSPD.
I haven't seen many people here employing scaleFactor with their models. You can edit the scale factor value to change how much the lights scale when turned on and this makes it easier to hide lights in the off position while still using coronas. Feel free to check out the carcols in my packs, you will see that for some lights I use scale factors as large as 100 without issue.
-
Your thoughts on this ? It's a little project of mine this month. I am working on a Whelen themed carcol file for models with Whelen products installed. The video shows some of the flash patterns in action. I think I need to throw in more types of flash patterns to mix it up.
Edit : I just realized that i goofed up with video editing. Ignore the long black screen in the end.
-
Captain14 reacted to Him1250 in Him1250's New Mexico Top Secret Atomic ModsI believe it's time I post an update on the FPIS. It's currently about 96,000 triangles. I have a bit more polyfilling to do then I can begin the port to V.
-
Captain14 reacted to Flynn40 in [wip] GTA V Emergency pack Update 31/08/2015I'm Workin on the creation of a emergency pack With a Swift Coast Guard, Bison coast guard, Police 4X4 and maybe more ..
at this time,I'm working on a lifeguard helicopter in style blackhawk on the model of Valkyrie. I have deleted the turrets and I added two winch (texture is in progress)
the bison lifeguard is finished at 100% and the bison police are 100% finished
see in game
IF you are any idea for more vehicles,let me know
-
Captain14 reacted to 0taku in 0taku's GTA V ProjectsUpdates to the Marauder, Haven't had much time to work on it but with what I have I did a few things.
Added the Oil/Volts gauges and text to the Shifter
And fitted some seats using the ones off Lundy's 03 VIC (Credit to CJ24)
-
Captain14 reacted to Him1250 in Him1250's New Mexico Top Secret Atomic ModsHere's a sneak peak at a project.
-
Captain14 reacted to Him1250 in Him1250's New Mexico Top Secret Atomic ModsI believe it's time for an update on the NMSP pack. ALL the cars have been optimized for first person, they use their own ELS style patterns and are in a .oiv format. I'd like to give a HUGE thanks to @Captain14 for helping me over the last two months with the carcols and most recently .oiv formats. I'll hopefully post a video later today of the cars thus far.
-
Y'all might find this little script I put together helpful. It exposes the new features in RPH 0.47 to let you dynamically change flash pattern sequences, speeds, directions, etc. Pretty much everything exposed by the new RPH EmergencyLighting class is available on the RPH console through this script. I haven't fully confirmed that everything works yet, although I have found a few bugs in the RPH API already. It's still much better than restarting the whole game every time you want to try a new pattern!
@Captain14 @GravelRoadCop @Bxbugs123
-
Captain14 reacted to solo in Zmodeler3/GTAV Vehicle Light IDsFor all they are this not knowing you can use a Extralight 3 and 4. It work same as the Extralight 1 and 2. Here all ID´s for the Lights:
day lights (always on) = 0
left headlight (headlight_l) = 1
right headlight (headlight_r) = 2
left taillight (taillight_l) = 3
right taillight (taillight_r) = 4
front left indicator (indicator_lf) = 5
front right indicator (indicator_rf) = 6
rear left indicator (indicator_lr) = 7
rear right indicator (indicator_rr) = 8
left brakelight (brakelight_l) = 9
right brakelight (brakelight_r) = 10
midle brakelight (brakelight_m) = 11
left reverse light (reversinglight_l) = 12
right reverse light (reversinglight_r) = 13
left fog light (extralight_1) = 14
right fog light (extralight_2) = 15
left rear fog light (extralight_3) = 16
right rear fog light (extralight_4) = 17