Editing Template:RCO TOC reference types
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{| class="wikitable" style="font-size:small;" | {| class="wikitable" style="font-size:x-small;" | ||
|+RCO TOC reference types {{ed right|RCO TOC reference types}} | |+RCO TOC reference types {{ed right|RCO TOC reference types}} | ||
! <abbr title="First byte = ref_type, second byte = ref_id, last 2 bytes = padding">reference_type</abbr> !! pointer !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes | ! <abbr title="First byte = ref_type, second byte = ref_id, last 2 bytes = padding">reference_type</abbr> !! pointer !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes | ||
|-{{cellcolors|lightgrey}} | |-{{cellcolors|lightgrey}} | ||
| 0xFFFF0000 || 0xFFFFFFFF || ''n/a'' || All || Nothing || None || | | 0xFFFF0000 || 0xFFFFFFFF || ''n/a'' || All || Nothing || None || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"nothing"</span>> || | ||
|- | |- | ||
| rowspan="2" | 0x04000000 || rowspan="2" | <abbr title="relative to the start of the '''event_string_table'''">relative</abbr> || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || Code function || Associated [[Plugin Interfaces|.SPRX]] || | | rowspan="2" | 0x04000000 || rowspan="2" | <abbr title="relative to the start of the '''event_string_table'''">relative</abbr> || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || Code function || Associated [[Plugin Interfaces|.SPRX]] || <Entry <span style="color:#000099;">event</span>=<span style="color:#990000;">"event:native:/runFuctionX"</span>> || | ||
|- | |- | ||
| '''ScriptTree'''/[[RCOXML Script|Script]] || File inside [[Resource Container (RCO)|RCO]] || | | '''ScriptTree'''/[[RCOXML Script|Script]] || File inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">event</span>=<span style="color:#990000;">"event:script:/main/runFuctionX"</span>> || | ||
|- | |- | ||
| 0x04010000 || <abbr title="The text entry #. For example, 0 = the first text entry"># (0-based)</abbr> || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts|Text]] || Strings inside [[Resource Container (RCO)|RCO]] || | | 0x04010000 || <abbr title="The text entry #. For example, 0 = the first text entry"># (0-based)</abbr> || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts|Text]] || Strings inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">text</span>=<span style="color:#990000;">"text:msg_mytext"</span>> || | ||
|- | |- | ||
| 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images|Image]] || File inside [[Resource Container (RCO)|RCO]] || | | 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images|Image]] || File inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">image</span>=<span style="color:#990000;">"image:tex_mytexture"</span>> || | ||
|- | |- | ||
| 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models|Model]] || File inside [[Resource Container (RCO)|RCO]] || | | 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models|Model]] || File inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">model</span>=<span style="color:#990000;">"model:mymodel"</span>> || | ||
|-{{cellcolors|#ff7777}} | |-{{cellcolors|#ff7777}} | ||
| 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds|Sound]] || File inside [[Resource Container (RCO)|RCO]] || | | 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds|Sound]] || File inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">sound</span>=<span style="color:#990000;">"sound:mysound"</span>> ? || <abbr title=" the reference_types follows the same order than the entry_types for TextTree, ImageTree, ModelTree, SoundTree, FontTree... so is highly probable this is a reference to a sound file from SoundTree">speculation</abbr> | ||
|- | |- | ||
| 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts|Font]] || File inside [[Resource Container (RCO)|RCO]] ? || | | 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts|Font]] || File inside [[Resource Container (RCO)|RCO]] ? || <Entry <span style="color:#000099;">font</span>=<span style="color:#990000;">"font:fontstyle_sanserif"</span>> || | ||
|-{{cellcolors|#ff7777}} | |-{{cellcolors|#ff7777}} | ||
| 0x04060000 || absolute ? || '''anim2:''' ? || [[RCOXML Objects]] ? || '''AnimTree'''/[[RCOXML Animations|Animation]] ? || [[RCOXML Coding|RCOXML code]] ? || | | 0x04060000 || absolute ? || '''anim2:''' ? || [[RCOXML Objects]] ? || '''AnimTree'''/[[RCOXML Animations|Animation]] ? || [[RCOXML Coding|RCOXML code]] ? || <Entry <span style="color:#000099;">anim2</span>=<span style="color:#990000;">"anim2:myanimation"</span>> ? || last 4 reference types could be crosslinked objecttree with animtree | ||
|- | |- | ||
| 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || | | 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">object2</span>=<span style="color:#990000;">"object2:plane_myplane"</span>> || <abbr title="maybe the object2 found is just a variant of object where is specifyed with a sufix the xml hierarchy depth, so to go down in the xml hierarchy maybe is posible to use object3, object4 and so on">speculation</abbr> | ||
|- | |- | ||
| 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations|Animation]] || [[RCOXML Coding|RCOXML code]] || | | 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations|Animation]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">anim</span>=<span style="color:#990000;">"anim:myanimation"</span>> || | ||
|- | |- | ||
| 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || | | 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">object</span>=<span style="color:#990000;">"object:plane_myplane"</span>> || | ||
|} | |} | ||
*A reference attribute is composed by two values, the first is the '''reference_type''' that indicates the "tree" of the entry that is going to be loaded, and the second is a '''pointer''' to a text string with the '''label''' of the entry that is going to be loaded | *A reference attribute is composed by two values, the first is the '''reference_type''' that indicates the "tree" of the entry that is going to be loaded, and the second is a '''pointer''' to a text string with the '''label''' of the entry that is going to be loaded |