XML:CONS: Difference between revisions

m
updated usage of Template:Tree list
(Created page with "{{XML_File_Header | type=CONS | prev=CBPM | next=CRSA | name=Console }} __TOC__ '''general information''' * The xml code on this page was tested with onisplit '''v0.9.96.0''...")
 
m (updated usage of Template:Tree list)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{XML_File_Header | type=CONS | prev=CBPM | next=CRSA | name=Console }}
{{XML_File_Header | prev=BINA/OBJC/CHAR | prev_display=BINA | type=CONS | next=DOOR | name=Console}}


__TOC__
__TOC__


'''general information'''
===General information===
* The xml code on this page was tested with onisplit '''v0.9.96.0'''
* The XML code on this page was tested with OniSplit '''v0.9.96.0'''
* CONS files are stored globally (AE/GameDataFolder/level0_Final)
* CONS files are stored globally (AE/GameDataFolder/level0_Final)
* CONS files are used by [[XML:BINA/OBJC/DOOR|BINACJBOCONS]] <Class>
* CONS files are used by [[XML:BINA/OBJC/CONS|BINACJBOCONS]] <Class>


===File structure===
{{Tree list}}
*CONS
**OFGA
***M3GM (holds <Texture> TXMP link to external file)
****PNTA <Points>
****VCRA <VertexNormals>
****VCRA <FaceNormals>
****TXCA <TextureCoordinates>
****IDXA <TriangleStrips>
****IDXA <FaceNormalIndices>
{{Tree list|end}}


 
===XML tags===
'''file structure'''
====CONS====
 
CONS
  |
  +-- OFGA
        |
        +-- M3GM (holds <Texture> TXMP link to external file)
              |
              +-- PNTA <Points>
              +-- VCRA <VertexNormals>
              +-- VCRA <FaceNormals>
              +-- TXCA <TextureCoordinates>
              +-- IDXA <TriangleStrips>
              +-- IDXA <FaceNormalIndices>
       
 
 
==XML tags==
 
===CONS===
 
{|class="wikitable" width="100%"
{|class="wikitable" width="100%"
!width=200px| tag
!width=200px| XML tag
!width=100px| type
!width=100px| Content type
! description
! Description
|-
|-
|valign=top| <Flags>
|valign=top| <Flags>
Line 43: Line 35:
|valign=top| <Position>
|valign=top| <Position>
|valign=top| float x3
|valign=top| float x3
| This is used to compute where the character should stay to use the console. In console coordinates.
| This is used to compute where the character should stand to use the console. In console coordinates.
|-
|-
|valign=top| <Orientation>
|valign=top| <Orientation>
Line 55: Line 47:
| <ScreenGeometry>
| <ScreenGeometry>
| link
| link
| absolute / relative path to a *.dae file
| absolute/relative path to a *.dae file
|-
|-
|valign=top| <ScreenGunkFlags>
|valign=top| <ScreenGunkFlags>
Line 92: Line 84:




===OFGA===
====OFGA====
Read on '''[[XML:OFGA|HERE]]'''.
Read about this related type '''[[XML:OFGA|HERE]]'''.




===sample code===
===Sample code===
'''CONSconsole_alarm.xml'''
'''CONSconsole_alarm.xml'''


Line 129: Line 121:




==geometry export==
===Geometry export===
[...]
[...]




==geometry import==
===Geometry import===
[...]
[...]




==using a new console class==
===Using a new console class===
[...]
[...]




<!--
<!--
==Mod Tool addon==
===Mod Tool addon===
-->
-->