Command Button: Difference between revisions

Jump to navigation Jump to search
2,134 bytes removed ,  9 October 2013
Converted table to standard wiki markup
("Monsters" is mispelled.)
(Converted table to standard wiki markup)
Line 1: Line 1:
[[File:CMD.PNG|200px|thumb|right|A command button in the Wonderland Adventures Editor, shown in design view.]]
[[File:CMD.PNG|200px|thumb|right|A command button in the Wonderland Adventures Editor, shown in design view.]]


'''Command buttons''' are used in [[Wonderland Adventures]]. They are invisible for player when he plays the game, but they are visible in the [[Wonderland Adventures Editor|editor]] as a small white X on the floor. They can do a lot of things such as activating, deactivating, toggling, or destroying an object. The commands they execute are commonly referred to as CMDs.
'''Command buttons''' are used in [[Wonderland Adventures]]. They are invisible for the player when he plays the game, but they are visible in the [[Wonderland Adventures Editor|editor]] as a small white X on the floor. They can do a lot of things such as activating, deactivating, toggling, or destroying an object. The commands they execute are commonly referred to as CMDs.


== The Full List Of Known Commands ==
== List of Known Commands ==
This is a full list of known commands in [[Wonderland Adventures]].
This is a full list of known commands in [[Wonderland Adventures]].
<table border="2" cellspacing="0" style="font-family:'Times New Roman', Times, serif;font-size:14px;">
{| class="wikitable"
   <tr>
   |-
     <td><p><strong>Command#</strong></p></td>
     !CMD #!!Function
    <td><p><strong>Function</strong></p></td>
   |-
   </tr>
     |'''1'''||Opens/Activates Objects with ID matching Data1
  <tr>
   |-
     <td><p><strong>1</strong></p></td>
     |'''2'''||Closes/DeActivates Objects with ID matching Data1
    <td><p>Opens/Activates Objects with ID matching Data1</p></td>
   |-
   </tr>
     |'''3'''||Toggles Objects with ID matching Data1
  <tr>
   |-
     <td><p><strong>2</strong></p></td>
     |'''4'''||Sets Object modifier #Data2 to #Data3 for all Objects with ID matching Data1
    <td><p>Closes/DeActivates Objects with ID matching Data1</p></td>
   |-
   </tr>
     |'''5'''||Destroys Objects with ID matching Data1
  <tr>
   |-
     <td><p><strong>3</strong></p></td>
     |'''6'''||Sets the Lighting of the Level to RGB Data1/Data2/Data3
    <td><p>Toggles Objects with ID matching Data1</p></td>
   |-
   </tr>
     |'''7'''||Warps Player to Level #Data1 with the specified X and Y location #Data2 and #Data 3
  <tr>
   |-
     <td><p><strong>4</strong></p></td>
     |'''8'''||Warps Player to Adventure #Data 1
    <td><p>Sets Object modifier #Data2 to #Data3 for all Objects with ID matching   Data1</p></td>
   |-
   </tr>
     |'''9'''||Earthquake for Data1 frames
  <tr>
   |-
     <td><p><strong>5</strong></p></td>
     |'''21'''||Starts Dialog #Data1 with starting Interchange #Data2 (use -1 if current default interchange is to be used)
    <td><p>Destroys Objects with ID matching Data1</p></td>
   |-
   </tr>
     |'''22'''||Changes Dialog #Data1 to have new default starting Interchange #Data2 (do not run this command while inside Dialog #Data1)
  <tr>
   |-
     <td><p><strong>6</strong></p></td>
     |'''23'''||Activates &quot;AskAbout&quot; #Data2 inside Dialog #Data1
    <td><p>Sets the Lighting of the Level to RGB Data1/Data2/Data3</p></td>
   |-
   </tr>
     |'''24'''||DeActivates &quot;AskAbout&quot; #Data2 inside Dialog #Data1
  <tr>
   |-
     <td><p><strong>7</strong></p></td>
     |'''25'''||Toggles &quot;AskAbout&quot; #Data2 inside Dialog #Data1
    <td><p>Warps Player to Level #Data1 with the specified X and Y location   #Data2 and #Data 3</p></td>
   |-
   </tr>
     |'''26'''||Set AskAboutActive #Data2 of Dialog #Data1 to value #Data3
  <tr>
   |-
     <td><p><strong>8</strong></p></td>
     |'''27'''||Set AskAbout #Data2 of Dialog #Data1 to point to Interchange #Data3
    <td><p>Warps Player to Adventure #Data 1</p></td>
   |-
   </tr>
     |'''28'''||Activates all AskAbouts with AskAboutActive #Data1
  <tr>
   |-
     <td><p><strong>9</strong></p></td>
     |'''29'''||DeActivates all AskAbouts with AskAboutActive #Data1
    <td><p>Earthquake for Data1 frames</p></td>
   |-
   </tr>
     |'''30'''||Toggles all AskAbouts with AskAboutActive #Data1
  <tr>
   |-
     <td><p><strong>21</strong></p></td>
     |'''51'''||Set MovementType #Data4 for all Objects with ID matching Data1
    <td><p>Starts Dialog #Data1 with starting Interchange #Data2 (use -1 if   current default interchange is to be used)</p></td>
   |-
   </tr>
     |'''52'''||Set MovementType #Data2 and MovementTypeData #Data3, for all Objects with ID matching Data1
  <tr>
   |-
     <td><p><strong>22</strong></p></td>
     |'''61'''||Moves Stinker NPC with ID matching Data1 to move to the specified X and Y location #Data2 and #Data3
    <td><p>Changes Dialog #Data1 to have new default starting Interchange #Data2   (do not run this command while inside Dialog #Data1)</p></td>
   |-
   </tr>
     |'''62'''||Adjusts Stinker NPC with Data2 adjusting the &lsquo;Dialog&rsquo;, Data3 adjusting the &lsquo;Expression&rsquo; and Data4 adjusting the &lsquo;Yaw&rsquo; with ID matching Data1
  <tr>
   |-
     <td><p><strong>23</strong></p></td>
     |'''63'''||Adjusts Stinker NPC with Data2 adjusting the &lsquo;WalkAnim&rsquo;, Data3 adjusting the &lsquo;Turn&rsquo; and Data4 adjusting the &lsquo;Anim&rsquo; with ID matching Data1
    <td><p>Activates &quot;AskAbout&quot; #Data2 inside Dialog #Data1</p></td>
   |-
   </tr>
     |'''64'''||Activates Stinker Expression with Particle ID matching Data2 and How Many times #Data3 with ID matching Data1
  <tr>
   |-
     <td><p><strong>24</strong></p></td>
     |'''102'''||Plays Cutscene #1 (only useful in MOFI, at end of cutscene, warps player to level 21 at the x and y locations of x26 y25)
    <td><p>DeActivates &quot;AskAbout&quot; #Data2 inside Dialog #Data1</p></td>
   |-
   </tr>
     |'''103'''||Plays Cutscene #2 (only useful in MOFI, at end of cutscene, warps player to specified spot)
  <tr>
   |-
     <td><p><strong>25</strong></p></td>
     |'''104'''||Plays Cutscene #3 (only useful in MOFI, at end of cutscene, ends the game)
    <td><p>Toggles &quot;AskAbout&quot; #Data2 inside Dialog #Data1</p></td>
   |-
   </tr>
     |'''111'''||Refills Lamp
  <tr>
   |-
     <td><p><strong>26</strong></p></td>
     |'''112'''||Sets Inventory to 4x4 Size
    <td><p>Set AskAboutActive #Data2 of Dialog #Data1 to value #Data3</p></td>
   |-
   </tr>
     |'''113'''||Sets Inventory to 5x5 Size
  <tr>
   |-
     <td><p><strong>27</strong></p></td>
     |'''114'''||Activates Shard Teleportation
    <td><p>Set AskAbout #Data2 of Dialog #Data1 to point to Interchange #Data3</p></td>
   |-
   </tr>
     |'''115'''||Starts Floing-Me-Back-In-Time Dialog
  <tr>
   |-
     <td><p><strong>28</strong></p></td>
     |'''116'''||Changes players hat (only useful in MOFI)
    <td><p>Activates all AskAbouts with AskAboutActive #Data1</p></td>
   |-
   </tr>
     |'''117'''||Changes players accessory (only useful in MOFI)
  <tr>
|}
     <td><p><strong>29</strong></p></td>
 
    <td><p>DeActivates all AskAbouts with AskAboutActive #Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>30</strong></p></td>
    <td><p>Toggles all AskAbouts with AskAboutActive #Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>51</strong></p></td>
    <td><p>Set MovementType #Data4 for all Objects with ID matching Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>52</strong></p></td>
    <td><p>Set MovementType #Data2 and MovementTypeData #Data3, for all Objects   with ID matching Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>61</strong></p></td>
    <td><p>Moves Stinker NPC with ID matching Data1 to move to the specified X   and Y location #Data2 and #Data3</p></td>
   </tr>
  <tr>
     <td><p><strong>62</strong></p></td>
    <td><p>Adjusts Stinker NPC with Data2 adjusting the &lsquo;Dialog&rsquo;, Data3 adjusting   the &lsquo;Expression&rsquo; and Data4 adjusting the &lsquo;Yaw&rsquo; with ID matching Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>63</strong></p></td>
    <td><p>Adjusts Stinker NPC with Data2 adjusting the &lsquo;WalkAnim&rsquo;, Data3   adjusting the &lsquo;Turn&rsquo; and Data4 adjusting the &lsquo;Anim&rsquo; with ID matching Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>64</strong></p></td>
    <td><p>Activates Stinker Expression with Particle ID matching Data2 and How   Many times #Data3 with ID matching Data1</p></td>
   </tr>
  <tr>
     <td><p><strong>102</strong></p></td>
    <td><p>Plays Cutscene #1 (only useful in MOFI, at end of cutscene, warps   player to level 21 at the x and y locations of x26 y25)</p></td>
   </tr>
  <tr>
     <td><p><strong>103</strong></p></td>
    <td><p>Plays Cutscene #2 (only useful in MOFI, at end of cutscene, warps player   to specified spot)</p></td>
   </tr>
  <tr>
     <td><p><strong>104</strong></p></td>
    <td><p>Plays Cutscene #3 (only useful in MOFI, at end of cutscene, ends the   game)</p></td>
   </tr>
  <tr>
     <td><p><strong>111</strong></p></td>
    <td><p>Refills Lamp</p></td>
   </tr>
  <tr>
     <td><p><strong>112</strong></p></td>
    <td><p>Sets Inventory to 4x4 Size</p></td>
   </tr>
  <tr>
     <td><p><strong>113</strong></p></td>
    <td><p>Sets Inventory to 5x5 Size</p></td>
   </tr>
  <tr>
     <td><p><strong>114</strong></p></td>
    <td><p>Activates Shard Teleportation</p></td>
   </tr>
  <tr>
     <td><p><strong>115</strong></p></td>
    <td><p>Starts Floing-Me-Back-In-Time Dialog</p></td>
   </tr>
  <tr>
     <td><p><strong>116</strong></p></td>
    <td><p>Changes players hat (only useful in MOFI)</p></td>
   </tr>
  <tr>
     <td><p><strong>117</strong></p></td>
    <td><p>Changes players accessory (only useful in MOFI)</p></td>
  </tr>
</table>
=== Command 51 Data4 - MovementType Values ===
=== Command 51 Data4 - MovementType Values ===
:--[[Scritter]] Movement Types--<br/><br/>
:--[[Scritter]] Movement Types--<br/><br/>
Line 179: Line 108:
=== Command Groups ===
=== Command Groups ===
Every 10 commands have something in common:
Every 10 commands have something in common:
*1-10: General Commands
*1-10: General commands
*11-20: Unknown
*11-20: Unknown
*21-30: Changes The Effects Of Dialogs
*21-30: Changes the effects of dialogs
*30-40: Unknown
*30-40: Unknown
*51-60: Changes The Effects Of Monsters
*51-60: Changes the effects of monsters
*61-70: Changes The Effects Of NPC's
*61-70: Changes the effects of NPC's
*71-80: Unknown
*71-80: Unknown
*81-90: Unknown
*81-90: Unknown
361

edits

Navigation menu