San Andreas / Mod / Mod CLEO
Plateback Extender (Add and use more than just 3 License Plates)
- Delorean12DMC | caricato da Delorean12DMC
- 07/21/2024
- 2662 Download
Valutazioni:
Per favore, prima accedi.
Preferiti:
Scarica
4.07Mb
4.07Mb
Descrizione
Plate Extender
This plugin adds a theoretical maximum number of 377 platebacks to choose from by changing the logic of how the game handles the decision of platebacks to use on vehicles.
In the unmodified version of the game, the plateback is defined by weather zones, and the original code allows a maximum of 3 possible platebacks.
This plugin already brings 11 platebacks with it, that get used in game.
Containing: San Andreas, Los Santos, Flint County, San Fierro, Bone County, Las Venturas, Bridgeside, Whetstone, Lakeside, Red County and Tierra Robada
The plugin is fully customizeable and expandable, with integrated debug options if you want to create and use more platebacks.
Please read the readme.txt file, inside the archive!
This plugin adds a theoretical maximum number of 377 platebacks to choose from by changing the logic of how the game handles the decision of platebacks to use on vehicles.
In the unmodified version of the game, the plateback is defined by weather zones, and the original code allows a maximum of 3 possible platebacks.
This plugin already brings 11 platebacks with it, that get used in game.
Containing: San Andreas, Los Santos, Flint County, San Fierro, Bone County, Las Venturas, Bridgeside, Whetstone, Lakeside, Red County and Tierra Robada
The plugin is fully customizeable and expandable, with integrated debug options if you want to create and use more platebacks.
Please read the readme.txt file, inside the archive!
Commenti
Sono già stati pubblicati 14 commenti.
07/29/2024 03:36
Heya, I think there may be a bug with this mod. Whenever I try to use RZL Trainer's Teleport to Waypoint function with this mod on, the game crashes. I can teleport just fine between Interiors, but when doing it in the game world itself crashes the game. Hopefully you can look into this, thanks!
Cita | Rispondi
Heya, I think there may be a bug with this mod. Whenever I try to use RZL Trainer's Teleport to Waypoint function with this mod on, the game crashes. I can teleport just fine between Interiors, but when doing it in the game world itself crashes the game. Hopefully you can look into this, thanks!
Cita | Rispondi
07/24/2024 10:41
@Davidstrs The game points to an index in an array defined by an memory address that get's modified by FLA to get the texture. So that means that it creates an array out of the texturename: platebackX, where X is the number in the array minus one. So plateback1 is array index 0, plateback2 is array index 1 and so on...
That's why there exists an debug option where you see on screen, which zone name you are at/in, what index from the zone mapping it is and in what platebackX it results.
You can always add comments in the txt for an better overview at the bottom where i defined the plateback mappings, so you dont get confused. Just start the line with ; and then write your own comment there.
I've added a link to a zone short list that is used in game from top to bottom it goes in the plugin from 0 to 376. Write an exact mapping or a range mapping into the file and set that to the index from the plateback array. The confusion might occur because of the "off by one" mistake. It's a common error that can occur when working with arrays, because they always start at zero, but a normal person counting would start at one.
I can in the next days look for a better approach that isn't so confusing. But even if confusing, it's way better than in the original game because in the past i always wanted to add more plates. Now it's finally possible!
Edit:
Maybe i'll just add a function that takes an additional argument from the txt file to show in game what the plateback says.
Cita | Rispondi
@Davidstrs The game points to an index in an array defined by an memory address that get's modified by FLA to get the texture. So that means that it creates an array out of the texturename: platebackX, where X is the number in the array minus one. So plateback1 is array index 0, plateback2 is array index 1 and so on...
That's why there exists an debug option where you see on screen, which zone name you are at/in, what index from the zone mapping it is and in what platebackX it results.
You can always add comments in the txt for an better overview at the bottom where i defined the plateback mappings, so you dont get confused. Just start the line with ; and then write your own comment there.
I've added a link to a zone short list that is used in game from top to bottom it goes in the plugin from 0 to 376. Write an exact mapping or a range mapping into the file and set that to the index from the plateback array. The confusion might occur because of the "off by one" mistake. It's a common error that can occur when working with arrays, because they always start at zero, but a normal person counting would start at one.
I can in the next days look for a better approach that isn't so confusing. But even if confusing, it's way better than in the original game because in the past i always wanted to add more plates. Now it's finally possible!
Edit:
Maybe i'll just add a function that takes an additional argument from the txt file to show in game what the plateback says.
Cita | Rispondi
07/23/2024 14:46
to edit its bit misunderstanding here
64-146=1
147-161=2
162-209=3
210-231=4
232-240=5
241-330=6
331-339=7
340-356=8
357-363=9
364-376=10
confuse to remember how it works why not plate name then zone name
//plateLS is texture name
plateLS = los santos
plateLV = las ventura
plateSF = san fiaro
plateWS = Whetstone
which means according to zone it will use that texture. it will be easy to understand just saying hope you doo something and its geat mod i like it very much
Cita | Rispondi
to edit its bit misunderstanding here
64-146=1
147-161=2
162-209=3
210-231=4
232-240=5
241-330=6
331-339=7
340-356=8
357-363=9
364-376=10
confuse to remember how it works why not plate name then zone name
//plateLS is texture name
plateLS = los santos
plateLV = las ventura
plateSF = san fiaro
plateWS = Whetstone
which means according to zone it will use that texture. it will be easy to understand just saying hope you doo something and its geat mod i like it very much
Cita | Rispondi
07/22/2024 05:09
@sauin8s9h0ine21 Yes, but only on cars, that use the original license plate system, because there are some cars that have never changing license plates. These don't have a object on the car model that the game can handle as a license plate. For example: The Car on your profile picture is an addon car, that uses the games license plate system, so in this case it just works.
Cita | Rispondi
@sauin8s9h0ine21 Yes, but only on cars, that use the original license plate system, because there are some cars that have never changing license plates. These don't have a object on the car model that the game can handle as a license plate. For example: The Car on your profile picture is an addon car, that uses the games license plate system, so in this case it just works.
Cita | Rispondi



