Current Support Features- Support for as many parts as you want
- Support for multiple types of cars
- Support for editing parts of cars
- Support for multiple gui client mods
- Support for saving/loading vehicles
- Support for adding more parts without changing a vehicle's base code
To create a vehicle with these features follow these guidelines:
Name nodes accordingly (Part_A_A)
The A's are numerals, for example, if you have 3 nodes of a hood, you would name each of those nodes "Hood_A_A", "Hood_A_B", and "Hood_A_C".
If you want another hood, you would name it "Hood_B_A" and so on.
Inside of each vehicle using the support is a text file that reads all of the nodes, ui names, and node counts
Here is an example:
VEHICLE   VehicleTypeName
Body   Default   6
Front   Default   5
Back   Default   7
Back   New Name   3
Side   Default   -1   (-1 means no nodes, 0 is stupid)
Hood   Default   1
Roof   Default   3
Spoiler   Default   -1
Tire   Default   VehicleTire   (You put datablock instead of node count)
Tire   Other   OtherVehicleTire
you can put however many vehicles inside the text file you want, but when you type VEHICLE(tab)Name, It will clear all the current nodes, so make sure they are all in that once section
All nodes listed first in their group are the default nodes
In your codein vehicle datablocks, put this:
isCustom=1;
type="VehicleType";
"VehicleType" is from that "VEHICLE(tab)Name" from before
function whateverVehicle::onAdd(%this,%obj)
{
   Parent::onAdd(%this,%obj);
   %obj.schedule(0,garageDefault);
}
that will make your vehicle hide all nodes that aren't the first in the listings
MAKE SURE YOU LOAD YOUR NODES FROM THE TEXT FILE WITH THISGarage_AddParts("add-ons/Addon_Name/nodeFile.txt");