Page 1 of 1

Category variable: standard values suggestion

Posted: 30 May 2006, 21:21
by TradeMark
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!

Posted: 31 May 2006, 00:46
by FLOZi
You are wrong.

:P

Posted: 31 May 2006, 04:55
by Gnomre
Also, the engine specifically ignores the CTRL_X commands. And some of the others. I forget which, Secure knows them though.

Posted: 31 May 2006, 10:59
by TradeMark
Oh,

What are the categories what spring engine supports?

Posted: 31 May 2006, 18:50
by FLOZi
Sorry, I interpreted it as meaning it didn't use the line whatsoever. :oops:

Anyway, there's little point in standardised categories, imo. Different mods have different needs and different strings that make sense for them.

Posted: 31 May 2006, 19:29
by TradeMark
FLOZi wrote:Anyway, there's little point in standardised categories, imo. Different mods have different needs and different strings that make sense for them.
Yeah but i think we can still make basic categories for every mod.

Posted: 09 Jun 2006, 22:58
by PenguinMaster
Hmm, a good idea, maybe the unit list in spring could support categories too.

Posted: 09 Jun 2006, 23:01
by smoth
TradeMark wrote:
FLOZi wrote:Anyway, there's little point in standardised categories, imo. Different mods have different needs and different strings that make sense for them.
Yeah but i think we can still make basic categories for every mod.
get lost.

Correctio, do not try to mandate that crap. The engine does use them for notargecategory.

I do not need you to standardize that in my mod.

Hmm

Posted: 09 Jun 2006, 23:47
by Pxtl
Well, such standardization would help for making AIs and scripted-mutators. But yeah, more often than not categorization fails anyways when you get something that is only "kinda sorta" in a category.

Posted: 10 Jun 2006, 01:55
by FLOZi
smoth wrote:
TradeMark wrote:
FLOZi wrote:Anyway, there's little point in standardised categories, imo. Different mods have different needs and different strings that make sense for them.
Yeah but i think we can still make basic categories for every mod.
get lost.

Correctio, do not try to mandate that crap. The engine does use them for notargecategory.

I do not need you to standardize that in my mod.
Stop agreeing with me, It's creeping me out! :P