SA2VC Car Converter 0.2 by aleks926820
A script that simplifies the envelope of cars from GTA SA to GTA VC.
Use at your own risk.
Perhaps there will be some further changes.
Attention! This version is unstable, there may be errors in the process! If an error occurs, restart the script and try again!
Attention! The script does not work with standard materials!
Make sure all auto materials use GTA_Material before using the script!
Changes in version 1.0 beta (05/27/2023):
- Added function to create damage;
- Added the function of adding the texture of broken glass (when creating a damaged model);
Use this feature at your own risk. You can enter your own texture name (required with extension);
- In the script, you can specify the texture of the optics, according to which the script will reset the color of the material (required WITHOUT extension);
This is useful if the author used a texture with a non-standard name (eg vehiclelights instead of vehiclelights128);
To call it during the conversion process, you need to check the Removed isolated and unused verticles checkbox.
- At the request of the workers, a button was made for manually creating damage, a button for assigning ambient, diffuse and specular.
- Improved work with materials.
Possibilities:
- Initial setting of the car for Weiss by one click of the Convert button (auto components are renamed, the wheels are scaled to the correct size,
the wheel size and the size of the car are displayed (for default.ide and handling.cfg, respectively)), the color of the vehiclelights128);
- Ability to remove GTA SA license plates (option make transparent to carplate and carpback);
- Generation of damaged elements both in the process of conversion and in manual mode;
- Ability to add the texture of broken glass (it is worth using carefully!); texture to prescribe With the extension!;
- Ability to specify the texture of the auto optics if a texture with a non-standard name is used; texture to prescribe WITHOUT extension!;
- Ability to remove extra dummy (option Delete SA Dummy);
To do this, enter the name of the texture With the extension and the intensity of chromium and check the boxes.
- Removal of zero vertices from all auto components (option Removed isolated and unused verticles).
- Converting Handling.cfg to VC format. The converted handling will be in the MaxScript Listener window (press F11 to call it).
Also, for convenience, several buttons have been made:
- Set VehLights Color 255 255 255 - resets vehiclelights128 color for selected objects;
- Disable Reflection Map - disable chrome for selected objects (for example, wheels or interior);
- Calculate Car Size - calculates the size of the car (for handling.cfg);
- Add _hi for selected - adds _hi to selected objects. This button is needed for interior objects of the car, as well as for glass. Otherwise, interior elements will not be visible through the glass.
- Scale wheel to 1.0 - with this button you can selectively scale the wheels (in case the car initially has wheels in addition to wheel_rf)
- Generate _dam element - with this button you can manually create damage to the selected elements! Attention! There may be errors when using this function!
- Set Ambient - setting ambient for ALL materials for SELECTED objects.
- Set Diffuse - assign diffuse to ALL materials for SELECTED objects.
- Set Specular - assigning a specular to ALL materials for SELECTED objects.
How to use? Import .dff into max, run the script, press the Convert button, wait a little while until the script rustles all the components of the wheelbarrows. It's about 10-20 seconds.
After the initial setup, you need to add _hi to the name of interior elements or glasses. To do this, select these elements and click the add _hi for selected button.
After that, we make sure that the hierarchy is set up correctly and you can safely export .dff.
The script does not guarantee 100% auto performance! After the conversion, it is desirable to make sure that the hierarchy settings are correct and that all components are present.
When converting, the script removes zero vertices from all components. The rest of the various jambs with geometry and normals (and not only) must be corrected manually!
The script was written by aleks926820.
Script testing, error detection: AiExcel, Bryxanov1337.
e-mail: a-kostenko@bk.ru
Discord aleks926367#2994
The script is allowed to be placed on other resources, indicating the author's mail (a-kostenko@bk.ru) and the author's website libertycity.ru.
It is forbidden to violate the integrity of the archive!