Vice City Paths IO Script v. 2.7c
Script for working with paths.ipl (and not only).
Possibilities:
- Import of GTA VC, GTA3, GTA SA paths (including support for Fastman92 format paths, FLA4 format only)
- Export of GTA VC paths (export of all types of lines supported by the game (from 3 to 12 points inclusive));
- Ability to assign a path type (pedas, cars, boats) to each line. If no path type is assigned, the script will automatically assign a type based on the Default Path Type value;
- Ability to create and export intersections (T-shaped and cross-shaped). For more details, see "Creating intersections.docx" or .avi files;
- Ability to change parameters for each line/point. To change parameters, just select a line. All changes will be automatically saved;
You don’t need to enter everything yourself - if the line settings are not assigned, the script will automatically generate them;
- Ability to import/export .dat path files from the data/paths folder;
- Buttons for selecting paths by their type (selecting all traffic paths/peds/boats);
- Displaying the vertex numbers of the edited line in the viewport;
- Displaying path flags, number of lanes, coordinates and path width in the viewport;
- Function of changing the direction of movement of the track;
- Function for assigning the direction of movement of the path (one-way/two-way);
- Function of dividing lines with a number of points greater than 12 (for selected lines);
- Line parameters reset function (for selected lines);
- Function to enable/disable car traffic.
- Function for automatically setting up intersections based on adjacent lines (the function has not yet been properly completed).
- Function for removing “wrong” lines with the number of points less than 2.
Changes in version 2.7c (update 04/16/2024)
- Improvement of the GTASA path import function:
1)The speed of importing GTASA paths has been increased - now standard paths are loaded into the scene in 8-9 minutes.
2) Added loading of line parameters for Deniska’s script format (including traffic lights)
All card sizes from 6000 to 48000 are supported.
4) Improved function for converting lines to GTAVC format. Intersections are imported more correctly; I still recommend monitoring and eliminating crookedly imported intersections. Loading path parameters for GTAVC will be done in future versions.
The supported line type for Splines is Line. Initial Type - Corner. Drag Type - Bezier.
Do not apply modifiers to lines! This may result in the inability to export paths and create intersections normally.
To more conveniently register paths, use bindings in 3dsMax (see .docx files for more details).
An example of creating paths for GTAVC is described in paths_tutorial[RU].pdf
The script supports importing GTA VC paths. If something was imported incorrectly (for example, intersections), I recommend correcting it manually.
It is not recommended to use this script to edit a standard path map, due to the fact that when importing a standard path map, more lines are created compared to the original paths.ipl;
It is advisable to use a script to create new paths.
The script supports importing GTA3 paths - import only, to export you need to export the paths to the Vice City format, and then convert to the GTA3 format.
The script supports the ability to convert paths.ipl to the GTA 3 path format.
To do this, you must specify the starting ID of the path, the prefix for path models, the name for IPL IDE COL, the path coordinate multiplier with which paths.ipl was exported (for standard.exe it is 16)
Then select the directory where the GTA 3 path files will be exported and the last step is to select paths.ipl.
The script will notify you that the conversion process is complete. IPL IDE COL files are completely ready to be added to the game.
It is not recommended to use this function to edit standard paths!
It is advisable to use the function to create paths for a new map or add new paths to the original paths.
Buildings, PtrNodes, EntryInfoNodes, Treadables; [Pool Limits]: Objects Models; limit on DFF files [ID LIMITS].
To do this, use Limit Adjuster by Vitlgt. It is also worth setting the "Enable path limits patch=1" parameter and increasing the maximum ID in the PATH LIMITS block.
To increase the path limit in Vice City you need to use Maxorator's Path hack.
The script supports importing GTA SA paths, including importing Fastman92 format paths.
To import, click the Import GTASA Paths button and specify the folder where the 64 NodesXX.dat path files are located.
The process of importing standard paths can take from several tens of seconds to 10 minutes.
Paths are imported as splines, which can be edited or customized using the SA Path Tool by Deniska.
The author does not guarantee 100% operability of GTASA paths after their import/export.
It is strongly recommended to check the settings of all lines, including the correctness of the traffic light settings!
It is possible to download paths in GTAVC format. So far, partially - after importing the paths, manual modification and configuration of the paths is required.
You can disable these functions in the GTASA Import Settings column, but in this case the path lines are absolutely unsuitable for editing under GTASA or under GTAVC/GTA3. This can be useful if you need to visually familiarize yourself with the path map (importing a standard path map without processing takes approximately 3-4 minutes).
Details are written in "Importing GTA SA.docx paths".
When creating a new path line, the script automatically assigns settings to it based on the parameters in the Default Parameters block!
Please note that the Lanes parameters for interior points are always 1 1! To assign the direction of movement and the number of lanes, it is enough to edit only the end (external) points.
Or use the set one-way/set two-way traffic buttons to assign one-way or two-way traffic and use the Change the direction of traffic button to change the direction of traffic.
To display line parameters in the viewport, use the Display helper tab. Available for display are point numbers, number of lanes, flags, path width, point coordinates.
In case of the error "The script does not support splines with a number of points greater than 12 and less than 3!Please edit the spline" use the Split Lines to VC Format function.
This function splits a line into the nth number of lines if the number of its points is strictly greater than 12 or splits the line to three points if the desired line has two (Vice City does not support lines with two points).
To export traffic, just select the lines and click the Export Paths button. The finished lines for Paths.ipl will be displayed in the MAXScript Listener window (in the lower left corner of 3Ds max or press F11 to call MAXScript Listener).
The script has the ability to create intersections in two ways:
1) — For each line, select one point SEPARATELY in the vertex editing mode
— Select the lines and press the Create Crossroad button
2) — Press the button Create Dummys at line end
— Select the dummy and click the Create Crossroad button
The script supports importing and exporting .dat files of GTA 3 or GTA Vice City paths from the data/paths folder, namely flightX.dat, tracksX.dat, spathX.dat, where X is the file number.
To export, you need to select ONE path line and click export. The script will prompt you to select a file to save.
The script supports 3dsMax8 and higher.
Shagg_E; Starenat - for support in writing the script.
Special thanks to: Ilufir - for help with the GTASA path structure.
The script code used is sa path tool by Deniska.
It is allowed to post the script on other resources indicating the author’s website (libertycity.ru) and the author’s email address.
It is prohibited to violate the integrity of the archive.
aleks926820. 1:00 04/16/2024
fast and easy
-
vice-city-paths-io-script-v-2-7c_1713218846_94389.zipDownload (8.87 MB)Password: libertycity