Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fixed car parts naming and customization
11-28-2015, 07:49 AM, (This post was last modified: 11-28-2015, 08:38 AM by NaN.)
#1
Fixed car parts naming and customization
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?
Reply
11-28-2015, 08:10 AM, (This post was last modified: 11-28-2015, 08:11 AM by NaN.)
#2
RE: Fixed car parts naming
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).
Reply
11-28-2015, 08:33 AM, (This post was last modified: 11-28-2015, 08:37 AM by NaN.)
#3
RE: Fixed car parts naming
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)