Category variable: standard values suggestion
Posted: 30 May 2006, 21:21
If im right, the engine doesnt use the category variable at all?
So I prefer we should make some sort of standard for the categories.
Here goes my suggestion for it:
Basic categories:
PLANT - construction plant
BUILDER - this unit can build
Sub categories:
LAND = ground unit
SHIP = ship
UNDERWATER = unit under water
VTOL = aircraft unit
HOVER = hovercraft unit
AMPHI = amphibious unit
Other definitions:
LEVEL(X) = unit level
CTRL_(X) = some keyboard command
MINE = unit is mine (needs sub category, LAND or/and UNDERWATER)
KAMIKAZE = kamikaze unit (doesnt mean just mines, and mine doesnt need this)
Rules:
1) Every unit needs to have one (or more) basic categories.
2) Every plant needs to have one (or more) sub categories, which describes where it is built on (is it on water or underwater, or just on the ground).
(probably more rules needed)
I made up those fast, something needs to be fixed, i think. So say if they are unlogical, or unpractical!
Also say if i missed some important category, and tell what you think of this!
So I prefer we should make some sort of standard for the categories.
Here goes my suggestion for it:
Basic categories:
PLANT - construction plant
BUILDER - this unit can build
Sub categories:
LAND = ground unit
SHIP = ship
UNDERWATER = unit under water
VTOL = aircraft unit
HOVER = hovercraft unit
AMPHI = amphibious unit
Other definitions:
LEVEL(X) = unit level
CTRL_(X) = some keyboard command
MINE = unit is mine (needs sub category, LAND or/and UNDERWATER)
KAMIKAZE = kamikaze unit (doesnt mean just mines, and mine doesnt need this)
Rules:
1) Every unit needs to have one (or more) basic categories.
2) Every plant needs to have one (or more) sub categories, which describes where it is built on (is it on water or underwater, or just on the ground).
(probably more rules needed)
I made up those fast, something needs to be fixed, i think. So say if they are unlogical, or unpractical!
Also say if i missed some important category, and tell what you think of this!