Post any undocumented commands in the WA Editor here!

Help Topics, Bug Reports, Feature Requests, etc.
Post Reply
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post any undocumented commands in the WA Editor here!

Post by md » Fri Jan 14, 2011 3:25 am

You may post any undocumented commands in the WA Editor that may be proven useful here!

This is just so it becomes easier for others to find out other undocumented commands that are useful! :D
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Post by Emerald141 » Fri Jan 14, 2011 3:47 am

Last edited by Emerald141 on Fri Sep 02, 2022 4:01 am, edited 2 times in total.
User avatar
DEEMAN223344
Rainbow MegaStar
Posts: 3145
Joined: Tue Dec 04, 2007 8:07 pm

Post by DEEMAN223344 » Fri Jan 14, 2011 9:42 pm

I posted the complete list in a recent page of the hex-editing topic.
User avatar
jozsefkoma
Rainbow Star
Posts: 1460
Joined: Tue Dec 23, 2008 5:45 pm

Post by jozsefkoma » Sat Jan 15, 2011 7:22 am

All knows CMDs.

Command 1 Opens/Activates Objects with ID matching Data1

Command 2 Closes/DeActivates Objects with ID matching Data1

Command 3 Toggles Objects with ID matching Data1

Command: 4: Sets object modifier #Data2 to value Data3 for Objects with ID matching Data1

Command: 5 - Destroy Object
Again, requires and ID value as the first Data value.

Command: 6 - Set Light
This requires three data values (Data 1=red, Data 2=green, Data 3=blue), each a value from 0-255.

Command: 7 - Teleport
This requires three data values. The first is the hub/ adventure -level number you wish to teleport to (see Data/Adventures/Hub for available *.wlv level numbers), the second and third are the x/y coordinates. Obviously, pick carefully or you'll end up in a wall!

Command: 8 - Start Adventure
This requires a single data value, the # of the adventure you wish to play (see Data/Adventures for available numbers). This is different than "Floing"ing, since it lets you play that adventure as if it was the very first time (i.e. collect coins all over again).

Command: 9 - Earthquake
Starts an Earthquake for "Data1" time, a value of 60 is roughly one second.

21 Starts Dialog #Data1 with starting Interchange #Data2 (=-1 if current default is to be used)

22 Changes Dialog #Data1 to have new default starting Interchange #Data2 (do not run this command while inside Dialog Data1)

23 Activates "AskAbout" #Data2 inside Dialog #Data1

24 DeActivates "AskAbout" #Data2 inside Dialog #Data1

25 Toggles "AskAbout" #Data2 inside Dialog #Data1

26 Set AskAboutActive #Data2 of Dialog #Data1 to value #Data3

27 Set AskAbout #Data2 of Dialog #Data1 to point to Interchange #Data3

28: Activates all AskAbouts with AskAboutActive value = Data1 across all Dialogs

29: DeActivates all AskAbouts with AskAboutActive value = Data1 across all Dialogs

30: Toggles all AskAbouts with AskAboutActive value = Data1 across all Dialogs

Command 51:Change objects movement type. Set Data1 to monster ID and Data4 to those value.
”Data4 value” wrote:--Scritter Movement Types--

30: Nothing moves (walk on same space as Scritter to make it move)
31: Acts like a Scritter (walking into chomper/spikeyball kills the player)
32: Scritter again (close proximity, same as default)
33: Scritter again (same as default?)
34: Scritter again (far proximity, 4 tiles)

--DragonTurtle/Spikeyball Movement Types--

41: Initial direction is South (Scritters act really oddly during this)
42: Initial direction is North (No idea what Scritters do here)
43: Initial direction is East (No idea what Scritters do here)
44: East again
45: South again
46: South again
47: Initial direction is West (Scritters act normal here)
48: West again (Yet I have no idea what Scritters do here)

--??? Movement Types--

71: Bounces off wall, initial direction is North (???)
72: Bounces off wall, initial direction is North-East (???)
73: Bounces off wall, initial direction is East (???)
74: Bounces off wall, initial direction is South-East (???)
75: Bounces off wall, initial direction is South (???)
76: Bounces off wall, initial direction is South-West (???)
77: Bounces off wall, initial direction is West (???)
78: Bounces off wall, initial direction is North-West (???)


52: Set MovementType to value Data2 and MovementTypeData to value Data3, for Objects with ID matching Data1

Command: 61 - Move NPC
This will move an NPC with ID "Data1" (usually a low number) to x/y coordinates "Data2/Data3".

Command: 62 - Change NPC Part 1
This will change an NPC with ID "Data1" (usually a low number). "Data1" is their Dialog (see the list of .dia files for available options). "Data2" is their expression (0-4). "Data3" is their rotation (0-360). A value of "-1" means "do not change this setting".

Command: 63 - Change NPC Part 2
This will change an NPC with ID "Data1" (usually a low number). "Data1" is their Walking Animation (0/1/2 for waddle/walk/run). "Data2" is their basic idle behaviour (try numbers between 0-29). "Data3" is their basic idle animation (try values 0-10). A value of "-1" means "do not change this setting".

64: CMD version of NPC Exclamation button (Data1 = NPC ID, Data2 = Particle ID, Data3 = How Many)

102: [run cutscene #1--not available in WA Editor]

103: [run cutscene #2--not available in WA Editor]

104: [run cutscene #3--not available in WA Editor]

111 Refills Lamp

112 Sets Inventory to 4x4 Size

113 Sets Inventory to 5x5 Size

114: [activates shards teleportation]

115: [open Floing menu--not available in WA Editor]

116: [change player's hat--MOFI only]

117: [change player's accessory--MOFI only]
Image
Image
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sat Jan 15, 2011 12:00 pm

I don't understand CMD 26 - 30
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
jozsefkoma
Rainbow Star
Posts: 1460
Joined: Tue Dec 23, 2008 5:45 pm

Post by jozsefkoma » Sat Jan 15, 2011 6:45 pm

I can't understand they too but I know those CMD, so I posted it.
Image
Image
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post by md » Sat Jan 15, 2011 7:25 pm

I tried CMD 4 in the editor, but it didn't work.
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post by md » Sat Jan 15, 2011 7:35 pm

Guppy Star wrote:I don't understand CMD 26 - 30
26 - Sets the value of 'Active' in AskAbout #Data2 which is inside #Data1 to set 'Active' to the value of Data3.
27 - Sets AskAbout #Data2 which is inside Dialog #Data1 to have that AskAbout point to interchange #Data3 (sets the 'Interchange' option in the AskAbout to #Data3)
28 - Activates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
29 - DeActivates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
30 - Toggles all AskAbouts that have the 'Active' value as #Data1 across every single dialog.

Hope this helps!! :D
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post by md » Sat Jan 15, 2011 7:55 pm

CMD 102 in the WA Editor turns the screen to falling stars like in the menu.

I'm assuming CMD 103 & 104 do that as well.
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
User avatar
Guppy Star
Rainbow Master
Posts: 919
Joined: Sat Oct 16, 2010 7:20 am

Post by Guppy Star » Sun Jan 16, 2011 5:07 am

md wrote:
Guppy Star wrote:I don't understand CMD 26 - 30
26 - Sets the value of 'Active' in AskAbout #Data2 which is inside #Data1 to set 'Active' to the value of Data3.
27 - Sets AskAbout #Data2 which is inside Dialog #Data1 to have that AskAbout point to interchange #Data3 (sets the 'Interchange' option in the AskAbout to #Data3)
28 - Activates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
29 - DeActivates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
30 - Toggles all AskAbouts that have the 'Active' value as #Data1 across every single dialog.

Hope this helps!! :D
Cab you please explain in detail?
HAPPY TO HELP!!!

My HubProject:Go
My Adventures:Go
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post by md » Sun Jan 16, 2011 7:43 pm

Guppy Star wrote:
md wrote:
Guppy Star wrote:I don't understand CMD 26 - 30
26 - Sets the value of 'Active' in AskAbout #Data2 which is inside #Data1 to set 'Active' to the value of Data3.
27 - Sets AskAbout #Data2 which is inside Dialog #Data1 to have that AskAbout point to interchange #Data3 (sets the 'Interchange' option in the AskAbout to #Data3)
28 - Activates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
29 - DeActivates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
30 - Toggles all AskAbouts that have the 'Active' value as #Data1 across every single dialog.

Hope this helps!! :D
Cab you please explain in detail?
26 - In an AskAbout there is an option called 'Active' and this CMD will change the value of 'Active' for the AskAbout #Data2 that is inside dialog #Data1 and it will set the value of 'Active' in that Askabout to the value of Data3.
27 - Sets the 'Interchange' option in an AskAbout that is AskAbout #Data2 that is inside dialog #Data1 which will set tha value of 'Interchange' to #Data3
28 - Activates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
29 - DeActivates all Askabouts that have the 'Active' value as #Data1 across every single dialog.
30 - Toggles all AskAbouts that have the 'Active' value as #Data1 across every single dialog.

I can't really explain 28-30 any better, if your still not sure click here to visit the reference list.
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
horseman
Bronze Wonderlander
Posts: 12
Joined: Sat Jun 06, 2009 12:07 pm

Post by horseman » Mon Jan 17, 2011 10:52 pm

md wrote:I tried CMD 4 in the editor, but it didn't work.
:?:
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4251
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Mon Jan 17, 2011 11:05 pm

md wrote:I tried CMD 4 in the editor, but it didn't work.
I dont understand what that does even, and horseman, dont just say a emoticon, its considered spam.
User avatar
md
Rainbow Master
Posts: 748
Joined: Wed Oct 17, 2007 9:26 am

Post by md » Tue Jan 18, 2011 8:30 pm

I think it's supposed to change an adjustment for all objects with a certain ID (e.g. to change the 'Yaw' of something, you use this command).
If you bothered to copy and paste this signature, or zoom in, to make it possible to read, then I wasted 5-10 seconds of your life.
Post Reply