Forums

Full Version: Fixed car parts naming and customization
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Currently we have a fixed set of car components (engine, wheels, ...) but also allow additional arbitrary named parts.

I've been wondering if it would be better to have a fixed set of parts. It would make car files easier to read/modify and eventually allow to add tuning functionality, by adding car part lists.

Something like:

Code:
glass
interior
seat f/r fl/fr/rl/rr
steering

body
hood
trunk
fender fl/fr/rl/rr
door fl/fr/rl/rr -> do we need this?
bumper f/r
spoiler f/r
light f/r

transmission
engine
differential f/c/r
wheel f/r fl/fr/rl/rr
tire ...
suspension ...

Other parts I am missing?
The parts lists would be loaded from an optional parts.txt/ini file in the car directory.

Looking like this maybe:
Code:
[spoiler.f.1]
#spoiler definition here

[spoiler.f.2]
...

[hood.1]
...

[wheel.fl.1]
...

[tire.fl.1]
...

[brake.fl.1]
...

All part options would be explicit, to be able to limit tire/rim selection for example. The default parts would use the reserved index zero (hood.0).
Thinking about it. It would be nice to have trim options (preselected parts configurations), maybe saved in a trim_levels.txt/ini (or variants.txt/ini) file.

The user would be able to select the default variant (parts zero) or other predefined variants (think of the different LE and ATT variants we have now) and modify them creating a custom variant.