CfgVehicles Config Reference – Talk
Structure of the reference
I think the current structure of this reference is misleading. It is not always possible to destribe configs like you describe scripting commands, i.e. based on the entry name. There can exists entries with the same name in different config location, having different meaning. The config structure is object oriented, with inheritace, and I doubt in can be described well without reflecting this.
It would be more correct (and perhaps even more pratical) to organize config documentation based on config structure, like:
Section describing CfgVehicles
Vehicle config
class Transport .. describe what entries go here,
Car config
class SomeCar
.. describe what entries go here, .. note that all entries valid for transport apply here
--Suma 10:30, 14 July 2006 (CEST)
Re-Organise
I take your point that I've presented this subject more as token names == verbs, as if they were unique things.
I have encountered very very few names that are duplicated in context. Instead, where an unusual name has occurred, I've mentioned it in context to where it might be found (tankturret eg)
The problem I have with what you suggest above is people might just as well read the config.cpp, since bottom line there, it's likely to be far more accurate than the typos introduced here !
Even as it stands now, people will find this an invaluable reference to what on earth a cost=, or a VehicleClass= actually is and does.
Human nature being what it is, they wont want to read the blurb on Turrets and their characteristics, they want to go directly to the name that's offending them so much. icon= eg, and how to use it.
Having said all that, this reference really is (only) about CfgVehicles, to put any more in here about CfgWeapons (eg) would be silly. So, I do take your point, well.
Pehaps best compromise is to open this document out, to variously describe each of the major CfgXYZ's in separate documents, and not specifically treat this index as being all-things-config.
- Sounds reasonable.
- I suggest:
- move this page to CfgVehicles Config Reference
- remove general talk about config.cpp ..., as this belongs to corresponding general topics, not here
- I will do the first step immediatelty. Feel free to follow with the 2nd when convenient for you.
- --Suma 13:28, 14 July 2006 (CEST)
Integer / float
In many cases the value is denoted as integer here, even if it is in fact read and understood as float by the engine. As a rule, integer is only used where integral type is dictated by the nature of the problem (like when giving count of something), otherwise float is used. (You should not be confused by the fact the values are often encoded as integer in the main config.bin - you explained this very well in [TokenNameValueTypes]. --Suma 09:39, 18 July 2006 (CEST)