127 lines
3.5 KiB
XML
127 lines
3.5 KiB
XML
<!-- ######################################################################################## IO Grain -->
|
|
<_PNxGrainPhase> 0 </_PNxGrainPhase> <!-- 0: Disabled -->
|
|
<_PNxGrainAmount> 0 </_PNxGrainAmount>
|
|
<_PNxGrainColorRed> 1.0 </_PNxGrainColorRed>
|
|
<_PNxGrainColorGreen> 1.0 </_PNxGrainColorGreen>
|
|
<_PNxGrainColorBlue> 1.0 </_PNxGrainColorBlue>
|
|
|
|
<!-- ######################################################################################## Grain -->
|
|
<rect name="PNxGrainLayer">
|
|
<visible>
|
|
<copy src="io()" trait="_PNxGrainPhase" />
|
|
<gt> 0 </gt>
|
|
</visible>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>
|
|
<copy src="screen()" trait="width" />
|
|
</width>
|
|
<height><copy src="screen()" trait="height" /></height>
|
|
|
|
<alpha>
|
|
<copy src="io()" trait="_PNxGrainAmount" />
|
|
<mul>255</mul>
|
|
</alpha>
|
|
<red>
|
|
<copy src="io()" trait="_PNxGrainColorRed" />
|
|
<mul>255</mul>
|
|
</red>
|
|
<green>
|
|
<copy src="io()" trait="_PNxGrainColorGreen" />
|
|
<mul>255</mul>
|
|
</green>
|
|
<blue>
|
|
<copy src="io()" trait="_PNxGrainColorBlue" />
|
|
<mul>255</mul>
|
|
</blue>
|
|
|
|
<!-- Explicit copy for each phase for smoother performance -->
|
|
<image name="Phase1">
|
|
<zoom> &scale; </zoom>
|
|
<depth> -11 </depth>
|
|
<systemcolor> &nosystemcolor; </systemcolor>
|
|
|
|
<red><copy src="parent()" trait="red" /></red>
|
|
<green><copy src="parent()" trait="green" /></green>
|
|
<blue><copy src="parent()" trait="blue" /></blue>
|
|
<alpha><copy src="parent()" trait="alpha" /></alpha>
|
|
|
|
<width><copy src="parent()" trait="width" /></width>
|
|
<height><copy src="parent()" trait="height" /></height>
|
|
|
|
<visible>
|
|
<copy src="io()" trait="_PNxGrainPhase" />
|
|
<eq> 1 </eq>
|
|
</visible>
|
|
|
|
<filename> cyberware\hud\grain\grain1.dds </filename>
|
|
</image>
|
|
|
|
<image name="Phase2">
|
|
<zoom> &scale; </zoom>
|
|
<depth> -11 </depth>
|
|
<systemcolor> &nosystemcolor; </systemcolor>
|
|
|
|
<red><copy src="parent()" trait="red" /></red>
|
|
<green><copy src="parent()" trait="green" /></green>
|
|
<blue><copy src="parent()" trait="blue" /></blue>
|
|
<alpha><copy src="parent()" trait="alpha" /></alpha>
|
|
|
|
<width><copy src="parent()" trait="width" /></width>
|
|
<height><copy src="parent()" trait="height" /></height>
|
|
|
|
<visible>
|
|
<copy src="io()" trait="_PNxGrainPhase" />
|
|
<eq> 2 </eq>
|
|
</visible>
|
|
|
|
<filename> cyberware\hud\grain\grain2.dds </filename>
|
|
|
|
</image>
|
|
|
|
<image name="Phase3">
|
|
<zoom> &scale; </zoom>
|
|
<depth> -11 </depth>
|
|
<systemcolor> &nosystemcolor; </systemcolor>
|
|
|
|
<red><copy src="parent()" trait="red" /></red>
|
|
<green><copy src="parent()" trait="green" /></green>
|
|
<blue><copy src="parent()" trait="blue" /></blue>
|
|
<alpha><copy src="parent()" trait="alpha" /></alpha>
|
|
|
|
<width><copy src="parent()" trait="width" /></width>
|
|
<height><copy src="parent()" trait="height" /></height>
|
|
|
|
<visible>
|
|
<copy src="io()" trait="_PNxGrainPhase" />
|
|
<eq> 3 </eq>
|
|
</visible>
|
|
|
|
<filename> cyberware\hud\grain\grain3.dds </filename>
|
|
|
|
</image>
|
|
|
|
<image name="Phase4">
|
|
<zoom> &scale; </zoom>
|
|
<depth> -11 </depth>
|
|
<systemcolor> &nosystemcolor; </systemcolor>
|
|
|
|
<red><copy src="parent()" trait="red" /></red>
|
|
<green><copy src="parent()" trait="green" /></green>
|
|
<blue><copy src="parent()" trait="blue" /></blue>
|
|
<alpha><copy src="parent()" trait="alpha" /></alpha>
|
|
|
|
<width><copy src="parent()" trait="width" /></width>
|
|
<height><copy src="parent()" trait="height" /></height>
|
|
|
|
<visible>
|
|
<copy src="io()" trait="_PNxGrainPhase" />
|
|
<eq> 4 </eq>
|
|
</visible>
|
|
|
|
<filename> cyberware\hud\grain\grain4.dds </filename>
|
|
|
|
</image>
|
|
|
|
</rect>
|