HomeWildfire Games

Correct WallPiece schema help comments

Description

Correct WallPiece schema help comments

(Fairly sure I've got them right this time.)

Refs: #2944, D900, rP23684

Event Timeline

Nescio added a subscriber: Nescio.May 22 2020, 11:40 AM

Thanks, these units make more sense! A few more questions, though:

  • <Orientation> of -1, 1, 3, etc. give the same result, right? Or are only values between 0 and 2 allowed?
  • Wouldn't it be better to normalize the <Orientation>, i.e. 1 is a full circle (360°) and 0.25 a quarter (90°).
  • Just to be clear, what do you mean with z-axis? In Blender z is the vertical position, but not in the simulation templates:
    • in the <GarrisonHolder/VisibleGarrisonPoints/*> node, <X> is the left-right position, <Y> the up-down position, <Z> the front-back position;
    • likewise, in the <Obstruction/Obstructions/*> node, x means the width offset and z the depth offset;
    • consistency matters, so looking at wall templates only, one would expect <Length> to be the x-length and <Indent> the z-offset.
  • Do orientation and bend operate in the same plane?
/ps/trunk/binaries/data/mods/public/simulation/components/WallPiece.js
11

anti-clockwise → counterclockwise
(see https://trac.wildfiregames.com/wiki/EnglishStyleGuide#Englishspelling ; 0 A.D. is supposed to use only US English)

11

And why is the default 1, not 0?

16

What does ve stand for?