Power Wop: Easily make your own wops! [ALPHA 2]

Help Topics, Bug Reports, Feature Requests, etc.
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9711
Joined: Mon Dec 01, 2008 10:18 pm

Power Wop: Easily make your own wops! [ALPHA 2]

Post by MyNameIsKooky » Sun Nov 24, 2013 5:49 am

Power Wop is a program I wrote that easily edits wop files. I don't mean to be too egotistical, but I think it's great, especially when compared to editing wops manually (i.e. via Hex Editor). Here's why...

1. You can edit wops more quickly and more efficiently.
2. It's much easier to see what you're doing.
3. No need to learn how to edit wops manually.

Now that you can make your own wops, the Wop Request topic is now obsolete! There's no longer any need to wait for other people to make your wops for you! Plus, you'll be able to keep your insane wops a secret until you release your adventure! :D

Image


Download link for Power Wop (alpha version 2): https://www.dropbox.com/s/6w5nu3aysnilp ... Alpha2.zip

IMPORTANT: This is an early version of Power Wop. As such, it does not yet interpret certain wop attributes as floating point values. Due to this, some decimal-based settings like XScale, YAdjust, and ScaleAdjust may look incorrect in Power Wop. However, they will still be correct in WAE assuming they aren't edited incorrectly in Power Wop. All other settings appear as they should, though!



-=-=- IMPORTANT STUFF ABOUT WOPS IN GENERAL -=-=-

As you may know, the files that the Wonderland Adventures Editor (i.e. WAE) reads object data from are the ".wop" files, found in the "Data\Editor\ObjectPresets" folder. When a wop file (sometimes just called a "wop") is loaded into the WAE, many things are determined. When an object is selected for placement, its wop determines the default values for each setting of the object. Some settings include TextureName, XScale, and Data0. The wop also determines which settings are editable by adding "adjusters" which an adventure designer can click to change various values of the wop. Sadly, not every setting in Wonderland Adventures has an adjuster equivalent in the WAE, and most of the time, wops lack certain adjusters. This is where wop editing comes in.

People edit wops for three reasons...

1. To add more adjusters to the wop for more flexibility in the WAE.
2. To change the default values in the wop to extraneous ones: for example, setting the default color of a GloveCharger to 8, causing it to be a rainbow magic charger in the WAE by default.
3. To change the model of an object. This technique is most often referred to as "modelswapping". It often creates very amusing and unusual results in-game. But some objects, like Chompers and Stinker NPCs, cannot be modelswapped, otherwise they cause errors in-game.

Data is interpreted from wops in three different ways...

1. As a signed integer.
2. As a floating point (i.e. a number with a decimal point). In the WAE, decimal-based values use the IEEE-754 single precision floating-point format.
3. As a string (i.e. letters and numbers).

Four bytes in the wop file are allocated to each setting (except for strings, which may need more). As such, there is a limit to the maximum value of some settings, but generally you shouldn't be very concerned.

Each wop has two values that determine how its object behaves in-game. These two values are Type and SubType. The combination of Type and SubType are referred to as an object's logic.

-=-=- HOW TO USE POWER WOP -=-=-

Power Wop can edit any aspect of any wop file. The program itself may look daunting at first, but it's relatively simple to handle...

- Click on the black text fields to edit the text inside.
- Click on the red/green checkboxs to toggle whether they're checked or unchecked.
- The blue squares with text inside are buttons which you can click to make something happen.

Considering that pretty much all users of this program will be adventure designers, you should be pretty familiar with most of the settings for objects.

Here's what you need to know to be able to use Power Wop...

- The text fields determine the default values for each setting.
- The checkboxes to the right of each text field determine whether to include the setting in the wop as an adjuster. Careful: Having more than 27 adjusters enabled will cause errors in the WAE!
- Click on the "Import wop file" button to copy data from an existing wop file into Power Wop.
- Click on the "Export wop file" button to export the data from Power Wop into a wop file that the WAE can use. Note that this process takes about ten seconds or so and causes the program to freeze until it finishes. There's not much I can do about that, so I apologize.
- Click on the "Enable common adjusters" button to enable the adjusters most often desired in wops.
- Click on the "Disable all adjusters" button to disable all adjusters (duh).
- Click on the "Unknown settings" button to edit the settings that have unknown functions. Experiment with these a bit if you wish. You just might discover something!

Remember that modelswaps on certain object logics cause errors in-game.

-=-=- VALID MODELS AND TEXTURES -=-=-

-=- VALID MODELS -=-

!Barrel1
!Barrel2
!Bowler
!Busterfly
!Button
!Cage
!Chomper
!Coin
!ColourGate
!Cuboid
!CustomItem
!Door
!Fence1
!Fencepost
!FireFlower
!Fountain
!Gem
!GlowWorm
!Item
!Key
!None
!NPC
!Obstacle01 (Rock1)
!Obstacle02 (Rock2)
!Obstacle05 (Flower1)
!Obstacle06 (Flower2)
!Obstacle10 (Mushroom)
!Obstacle15 (Bare Tree)
!Obstacle16 (Evergreen)
!Obstacle17 (EvergreenSnow)
!Obstacle18 (LeafTree1 Fall)
!Obstacle19 (LeafTree1 Green)
!Obstacle20 (LeafTree2 Pink)
!Obstacle21 (LeafTree2 Apple)
!Obstacle25 (BridgeEnd)
!Obstacle26 (Canopy)
!Obstacle27 (Streetlight)
!Obstacle28 (Pillar)
!Obstacle29 (Ladder)
!Obstacle30 (Table)
!Obstacle31 (Chair)
!Obstacle32 (Bed)
!Obstacle33 (Bookshelf)
!Obstacle34 (Arcade Machine)
!Obstacle35 (Pyramid)
!Obstacle36 (Cottage)
!Obstacle37 (Townhouse 1a)
!Obstacle38 (Townhouse 1b)
!Obstacle39 (Townhouse 2a)
!Obstacle40 (Townhouse 2b)
!Obstacle41 (Windmill Main)
!Obstacle42 (Windmill Rotor)
!Rubberducky
!Scritter
!Sign
!Spring
!Square
!Star
!StarGate
!SteppingStone
!StinkerWee
!Teleport
!Thwart
!Transporter
!Turtle
!Void
!WaterFall
!Wisp

-=- VALID TEXTURES -=-

!Cottage
!Door
!Fence
!FireTrap
!GloveTex
!None
!Townhouse
!Windmill

-=-=- LIST OF ACTIVATIONTYPES -=-=-

0: Does nothing.
1: GrowZ.
2: GrowXYZ.
3: GrowXY.
11: Gate (default).
12: Bridge, sinks 1 unit.
13: Bridge, sinks 2 units.
14: Bridge, sinks 3 units.
15: Bridge, sinks 4 units.
16: Bridge, sinks 5 units (default bridge movement).
21: Fade.
31: Cage.
41: Dungeon Door.

-=-=- LIST OF MOVEMENTTYPES -=-=-

30: Scritter range 0.
31: Scritter range 1.
32: Scritter range 2 (default for scritters).
33: Scritter range 3.
34: Scritter range 4.
41: Start moving north, turn left at walls.
42: Start moving north, turn right at walls.
43: Start moving east, turn left at walls.
44: Start moving east, turn right at walls.
45: Start moving south, turn left at walls.
46: Start moving south, turn right at walls.
47: Start moving west, turn left at walls.
48: Start moving west, turn right at walls.
71: Start moving north, bounce off walls.
72: Start moving northeast, bounce off walls.
73: Start moving east, bounce off walls.
74: Start moving southeast, bounce off walls.
75: Start moving south, bounce off walls.
76: Start moving southwest, bounce off walls.
77: Start moving west, bounce off walls.
78: Start moving northwest, bounce off walls.

-=-=- LIST OF LOGICS THAT ARE UNSTABLE WITH MODELSWAPS -=-=-

-=-KEY-=-
Type,SubType: Result.

110,0: Stinker NPC.
120,0: Wee Stinker.
220,0: Dragon Turtle.
230,0: FireFlower.
250,0: Chomper.
290,0: Thwart.
320,0: Void.

-=-=- LIST OF OBJECT LOGICS -=-=-

Thanks to cbloopy and Qloof for retrieving the MOFI and POTZ object logics respectively.

-=-KEY-=-
Type,SubType: Result.

0,0: Static and not solid.
1,0: Player?
2,0: Hat/Shadow which follows Player?
10,0: Gate.
10,1: Cottage Door.
10,2: Dungeon Door.
10,9: Auto-Door (POTZ).
11,0: Tollgate.
20,0: Fire.
30,0: Teleporter.
40,0: Bridge.
45,0: Trail Lead (POTZ).
46,0: Trail Tail (POTZ).
51,0: Magic Shooter (MOFI).
52,0: Meteor (MOFI).
54,0: Magic Mirror (MOFI).
90,0: Colour Square.
90,1: Colour Round.
90,2: Colour DiamondOnce.
90,3: Colour Diamond.
90,4: Colour Star.
90,5: ColX2Y Square.
90,6: ColX2Y Round.
90,7: ColX2Y DiamondOnce.
90,8: ColX2Y Diamond.
90,9: ColX2Y Star.
90,10: LevelExit.
90,11: NPC Modifier.
90,12: Fake Stinker Exit.
90,13: Adventure Star.
90,14: Adventure Star (Used).
90,15: General Command.
90,16: Rotator.
90,32: InvColour Square.
90,33: InvColour Round.
90,34: InvColour DiamondOnce.
90,35: InvColour Diamond.
90,36: InvColour Star.
90,37: InvColX2Y Square.
90,38: InvColX2Y Round.
90,39: InvColX2Y DiamondOnce.
90,40: InvColX2Y Diamond.
90,41: InvColX2Y Star.
90,42: Rotator Inv.
110,0: Stinker NPC.
120,0: Wee Stinker.
130,12: Stinker Exit.
140,0: Cage.
150,0: Scritter.
151,0: Rainbow Bubble (POTZ).
160,0: Wall.
161,0: Waterfall.
162,0: Cottage.
163,0: Windmill Rotor.
164,0: Fountain.
165,0: Arcade.
170,0: Gold Star.
171,0: Coin.
172,0: Key/Keycard.
173,0: Gem.
174,0: Token.
179,0: Custom Item.
180,0: Sign.
190,0: Splish.
190,1: Steam.
190,3: Spray.
190,4: Sparks (POTZ).
190,5: Blink Effect (POTZ).
190,6: CircleBurst (POTZ).
190,7: Spiral (POTZ).
200,0: Normal Magic Charger.
200,1: Faint Magic Charger (POTZ).
210,0: Transporter.
220,0: Dragon Turtle.
230,0: FireFlower.
240,0: Barrel Reg.
241,0: Barrel TNT.
242,0: Cuboid.
250,0: Chomper.
250,1: Water Chomper (POTZ).
260,0: Spikeyball.
270,0: Busterfly/Glowworm.
280,0: Spring.
281,0: Suction Tube (POTZ).
290,0: Thwart.
300,0: Brr Float.
301,0: Rainbow Float (POTZ).
310,0: Rubber Ducky.
320,0: Void.
330,0: Wysp.
340,0: Tentacle (MOFI).
370,0: Green Crab (MOFI).
370,1: Red Crab (MOFI).
380,0: Ice Troll (MOFI).
390,0: Kaboom! (MOFI).
400,0: Baby Boomer (MOFI).
410,0: Flip Bridge (MOFI).
421,0: Scouge (MOFI).
422,0: UFO (MOFI).
423,0: Retro Z-Bot (MOFI).
424,0: Laser Gate (MOFI).
425,0: Rainbow Coin (MOFI).
430,0: ZipBot (POTZ).
431,0: ZapBot (POTZ).
432,0: MooBot (POTZ).
434,0: Mothership (POTZ).
441,0: Sunsphere (POTZ).
450,0: Lurker (POTZ).
460,0: BurstFlower (POTZ).
470,0: Ghost (POTZ).
471,0: Wraith (POTZ).
Last edited by MyNameIsKooky on Wed Dec 25, 2013 5:38 am, edited 16 times in total.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4249
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sun Nov 24, 2013 5:54 am

OooooOOOOooooOOH~
THANKS FOR MAKING THIS MAN
NOW I CAN INGEST ALL THE WOPS I NEED
User avatar
Nobody
Rainbow Spirit Chaser
Posts: 5542
Joined: Thu Aug 21, 2008 5:52 pm

Post by Nobody » Sun Nov 24, 2013 5:55 am

SEEMS USEFUL!
i should change my signature to be rude to people who hate pictures of valves
User avatar
Sammy_Bro
Rainbow Star
Posts: 1738
Joined: Thu May 07, 2009 8:58 pm

Post by Sammy_Bro » Sun Nov 24, 2013 5:56 am

WOO!
:D
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Sun Nov 24, 2013 6:08 am

i love you
Image
User avatar
Jutomi
Rainbow AllStar
Posts: 4364
Joined: Tue Oct 15, 2013 8:42 pm

Post by Jutomi » Sun Nov 24, 2013 6:10 am

Great, now to spend about a day tormenting myself to make some thing useless.
Just what I needed, too! Thanks :lol:
Your only little stinker that's absolutely NOT a z-bot by this name,
Jutomi~ :mrgreen:

Also, if you want to see my level list, here it is! :D
(Also: List of Hubs, WA Manual)
Oh, and my YT wonderland channel. Forgot about that.
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Sun Nov 24, 2013 10:09 am

I tested this out earlier... MUSHROOM DUCKS!
They behave like a non-moving duck, any idea how to add a
movement adjuster?
You do not have the required permissions to view the files attached to this post.
User avatar
yot yot5
Rainbow SuperStar
Posts: 2294
Joined: Sun May 22, 2011 1:24 pm

Post by yot yot5 » Sun Nov 24, 2013 10:20 am

this looks tasty. i think i will eat it.
User avatar
Blazeknight
Rainbow Master
Posts: 797
Joined: Sun Nov 04, 2012 5:50 am

Post by Blazeknight » Sun Nov 24, 2013 11:05 am

Awesome work :D
Happy to Help!

Check out my works @ http://quaziiquce.webs.com
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9711
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Nov 24, 2013 11:10 am

Thanks for the positive feedback everyone! :D
dig 222 wrote:I tested this out earlier... MUSHROOM DUCKS!
They behave like a non-moving duck, any idea how to add a
movement adjuster?
Data0 determines whether the duck moves or not. ;)
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Sun Nov 24, 2013 11:41 am

MyNameIsKooky wrote:
dig 222 wrote:I tested this out earlier... MUSHROOM DUCKS!
They behave like a non-moving duck, any idea how to add a
movement adjuster?
Data0 determines whether the duck moves or not. ;)
Thanks. :D
User avatar
jdl
Rainbow SuperStar
Posts: 2883
Joined: Fri Jun 06, 2008 8:37 pm
Location: West Virginia, USA
Contact:

Post by jdl » Sun Nov 24, 2013 1:31 pm

You forgot to include the !Custom model for the WA Beta custom items. :wink:
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Sun Nov 24, 2013 5:20 pm

WHOZAWHATZAWHAT?
I just tried making a fountain that behaves like a glow worm.
I got some... interesting... results.

It creates a HUGE ghost image of a fountain that shrinks and grows repeatedly. By ghost, I mean this.
VVVVVVV
You do not have the required permissions to view the files attached to this post.
User avatar
Jutomi
Rainbow AllStar
Posts: 4364
Joined: Tue Oct 15, 2013 8:42 pm

Post by Jutomi » Sun Nov 24, 2013 5:37 pm

Now that looks neat! :lol:
Your only little stinker that's absolutely NOT a z-bot by this name,
Jutomi~ :mrgreen:

Also, if you want to see my level list, here it is! :D
(Also: List of Hubs, WA Manual)
Oh, and my YT wonderland channel. Forgot about that.
User avatar
StinkerSquad01
Rainbow AllStar
Posts: 4249
Joined: Mon Aug 09, 2010 3:39 am

Post by StinkerSquad01 » Sun Nov 24, 2013 5:58 pm

Yep! I think Antonio used that to make those "ghosts" way back when Wizards' Council was a thing.
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Sun Nov 24, 2013 6:19 pm

THIS. IS. AWESOME.
You do not have the required permissions to view the files attached to this post.
User avatar
Sammy_P
Rainbow SuperStar
Posts: 2888
Joined: Fri May 11, 2007 9:01 pm
Location: map ref 41°n 93°w
Contact:

Post by Sammy_P » Sun Nov 24, 2013 8:36 pm

User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9711
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Nov 24, 2013 8:42 pm

jdl wrote:You forgot to include the !Custom model for the WA Beta custom items. :wink:
I get an error when I try to use that model in the editor. :? Well, I've added it to the list anyways, just in case.
dig 222 wrote:WHOZAWHATZAWHAT?
I just tried making a fountain that behaves like a glow worm.
I got some... interesting... results.
Now there's some potential. :twisted:
I APPROVE! :lol: :twisted:
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Sun Nov 24, 2013 9:17 pm

For what it's worth, the WA Beta item model isn't !Custom, it's !Item.
Image
User avatar
MyNameIsKooky
Rainbow Spirit Master
Posts: 9711
Joined: Mon Dec 01, 2008 10:18 pm

Post by MyNameIsKooky » Sun Nov 24, 2013 9:42 pm

Qloof234 wrote:For what it's worth, the WA Beta item model isn't !Custom, it's !Item.
Thanks for pointing that out. :)
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Sun Nov 24, 2013 10:59 pm

CHOMPER GATES

YES
User avatar
jdl
Rainbow SuperStar
Posts: 2883
Joined: Fri Jun 06, 2008 8:37 pm
Location: West Virginia, USA
Contact:

Post by jdl » Mon Nov 25, 2013 2:30 am

Qloof234 wrote:For what it's worth, the WA Beta item model isn't !Custom, it's !Item.
Whoops, I knew it was one of the two, sorry. :oops:
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Post by Emerald141 » Mon Nov 25, 2013 2:35 am

Last edited by Emerald141 on Fri Sep 02, 2022 8:38 pm, edited 2 times in total.
User avatar
Technos72
Rainbow MegaStar
Posts: 3227
Joined: Thu Nov 26, 2009 12:20 am

Post by Technos72 » Mon Nov 25, 2013 3:18 am

I think I'll find this quite useful for my new hub project! Good job!
Image
User avatar
Blazeknight
Rainbow Master
Posts: 797
Joined: Sun Nov 04, 2012 5:50 am

Post by Blazeknight » Mon Nov 25, 2013 4:00 am

Can we do POTZ and MOFI wops with this and get them to work provided we put those lines in the convertor txt file?
Happy to Help!

Check out my works @ http://quaziiquce.webs.com
User avatar
Krishiv738
Rainbow Keeper
Posts: 340
Joined: Mon Jul 22, 2013 9:47 am

Post by Krishiv738 » Mon Nov 25, 2013 9:11 am

Now,that's waht I call a wop editor,pls add logic field instead of type and subtype, and custom parameters for the editor tools.


I found the hat/shadow is the logic for the player,it could also be formed when a player spawns using a spawner or a zbot mothership.


Also,BRR FLOATS are custom objects in POTZ.They are opaque and don't move while brr floats made by brr magic are transparent and move.
I am getting outta here, nothing is new, everything is boring.
User avatar
yot yot5
Rainbow SuperStar
Posts: 2294
Joined: Sun May 22, 2011 1:24 pm

Post by yot yot5 » Mon Nov 25, 2013 9:59 am

I just made a barrel scritter for my next adventure. With the right texture, they can look a bit like rainbow bubbles. :)
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Mon Nov 25, 2013 11:09 am

Krishiv738 wrote:Now,that's waht I call a wop editor,pls add logic field instead of type and subtype, and custom parameters for the editor tools.
Type and Subtype are the logic option.

Also what would you need the editor tool conversion parameters for...? With the exception of three objects (one of which would be unnecessary to copy over), we've already got pretty much all the objects from PoTZ and MoFI.

Krishiv738 wrote:Also,BRR FLOATS are custom objects in POTZ.They are opaque and don't move while brr floats made by brr magic are transparent and move.
Image

They're both slightly translucent. The only difference is that in-level Brr floats don't have the slight "floating" animation to them. Other than that they're identical.
Image
User avatar
|Cookie|
Rainbow Star
Posts: 1978
Joined: Mon Mar 21, 2011 8:34 am

Post by |Cookie| » Mon Nov 25, 2013 3:43 pm

This.. is.. AWESOME!
Previously known as "kidkidaaa1"
My level list
My hub: TTN
Woof Woof
User avatar
dig 222
Rainbow Star
Posts: 1279
Joined: Sat Jan 15, 2011 11:44 am

Post by dig 222 » Mon Nov 25, 2013 4:21 pm

Wee Arcade Machines = Error. :cry:
Post Reply