]> git.mxchange.org Git - flightgear.git/commit
Vivian Meazza:
authorehofman <ehofman>
Mon, 23 Aug 2004 17:22:55 +0000 (17:22 +0000)
committerehofman <ehofman>
Mon, 23 Aug 2004 17:22:55 +0000 (17:22 +0000)
commitbe6936be80566b8bc376ccbaa89c0efc30fbb5b4
tree90cf3c7644be1565c94d55349d39e6b689fe5c4b
parent7aa1cd9b5ac023c4821ea315c15183cef727dbfa
Vivian Meazza:

Well here's some tracer stuff. If fiddled around with submodel.cxx. It now
does what it says - you need to put this:

<!-- trial gun system -->
    <systems>
      <submodel>
        <serviceable type="bool">true</serviceable>
        <amount type="int">120</amount>
      </submodel>
    </systems>

In the *-set.xml file NOT within <sim></sim>. Trouble is it still defaults
to serviceable=true, but it also defaults to amount=0. Unless this bit of
code is included it wont run, so other models can't fire inappropriate
tracer. Revised submodel.cxx file attached.

I've changed to a non-billboard solution. I tried to make the viewing angle
of the tracer less than 180 degs, but failed. Close enough I think. It's
still a bit big, but a reasonable compromise. .AC file attached.

I remain concerned about the tracer colour. In practice, red is better (and
it's what I am used to) but David seems set on white, and I don't want to
upset him. I'm going to adjust the texture a bit more tomorrow.
src/Systems/submodel.cxx