Ignore trees/features/wrecks
Posted: 23 Jun 2007, 22:54
In some cases it would be of great benefit to have units that completely ignore conventional pathfinding, basically able to pass through anything without knocking it over or crushing it. This, usually, would include other units.
I'm not sure how it would best be done though.
There are five cases, really:
0 might represent "off" as it does with most (all?) other tags
1 might mean the unit passes through anything, other units included
2 might mean the unit passes through everything but other units
3 might mean the unit passes through anything and this is linked to its cloak state
4 might mean the unit passes through everything but units and this is linked to its cloaked state
It could also be split into two parts:
nolimit=0; means everything is normal
nolimit=1; means the unit passes through everything
nolimit=2; means the unit passes through everything but units
togglenolimit=0; means the unit always has the "nolimit" state
togglenolimit=1; means the unit only has the "nolimit" state when cloaked
This could normally be accomplished with a high crushstrength, but it's often not desirable for a unit to be running around cloaked while also smashing through trees and revealing its position.
I'm not sure how it would best be done though.
There are five cases, really:
0 might represent "off" as it does with most (all?) other tags
1 might mean the unit passes through anything, other units included
2 might mean the unit passes through everything but other units
3 might mean the unit passes through anything and this is linked to its cloak state
4 might mean the unit passes through everything but units and this is linked to its cloaked state
It could also be split into two parts:
nolimit=0; means everything is normal
nolimit=1; means the unit passes through everything
nolimit=2; means the unit passes through everything but units
togglenolimit=0; means the unit always has the "nolimit" state
togglenolimit=1; means the unit only has the "nolimit" state when cloaked
This could normally be accomplished with a high crushstrength, but it's often not desirable for a unit to be running around cloaked while also smashing through trees and revealing its position.