Poll: Should SubjectToTrenches=no allow weapons to pass through a building even if PassThrough in general is not set up for that building?
Yes
No
[Show Results]
 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SubjectToTrenches - when to apply?
#11
Heh. None. That was the whole point of splitting it up over multiple flags and generalizing them.
  • You'll have flags to forward damages to the occupants of an occupied building.
  • You'll have flags to always hit the occupants of an occupied building.
  • You'll have flags to support the collapsing and rebuilding of buildings.
  • You'll have flags to allow moving from one building to an adjacent building.
  • You'll have flags to allow temporary takeovers of occupiable buildings.
Each of these does not require the others to work. You can happily use the PassThrough system without ever using IsTrench in your INI, just as you can make all buildings you want rebuildable. But if you combine them all, you'll have a system of occupiable structures you can traverse, shoot out, take damage in, which can collapse, and which can be raided by the enemy - trenches.

To answer the other part of the question, SubjectToTrenches will be parsed by the UC.PassThrough logic, independent from the existence of structures meant to be trenches by design. It was named that way because, while "SubjectToPassThrough" is probably more correct, "SubjectToTrenches" aligns better with the game's existing flags like SubjectToWalls.

If you have a block like
Code:
SubjectToCliffs=yes
SubjectToElevation=no
SubjectToWalls=no
SubjectToTrenches=no
SubjectToTrenches fits right in, imo.

While it may have a tiny potential for confusion, I'm pretty sure that'll be offset by the fact that, in order to use the system, people will read either the documentation or threads like these, pointing out the usage.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply


Messages In This Thread
SubjectToTrenches - when to apply? - by Renegade - 13.11.2009, 01:50:04
RE: SubjectToTrenches - when to apply? - by Blade - 13.11.2009, 15:27:24
RE: SubjectToTrenches - when to apply? - by Guest - 16.11.2009, 21:57:07
RE: SubjectToTrenches - when to apply? - by Renegade - 01.12.2009, 21:46:29



Users browsing this thread: 1 Guest(s)