> For the complete documentation index, see [llms.txt](https://docs.shadersource.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/example-maps-and-the-playground.md). Agents can also search and read this documentation through its [MCP server](https://docs.shadersource.io/~gitbook/mcp).

# Example Maps and the Playground

The three example maps that ship with Ocean Tool 2, and the playground that lets you fly, walk, swim and drive in them.

Three example maps ship with the plugin, in every engine version. Each one is a finished ocean you can take apart, and each plays with a small **playground** - a free camera, a character and boats - so you can try the water without building anything.

Find them in the Content Browser under **Plugins > SHADERSOURCE: Ocean Tool 2 > Examples** (`/Shadersource_OceanTool2/Examples`). (If you cannot see plugin content, tick **Show Plugin Content** in the Content Browser's settings.)

## The three maps

### Island

`Examples/Island/Maps/L_OceanTool2_Island`

![The Island example map](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FqDauOiihh9a6KnnG0wHV%2Fex_island.jpg?alt=media)

A four-kilometre island with beaches, coves and a sea cave, on the **Authored** shore model. Use it to see:

* Waves breaking on a baked coastline, with wet sand and wash.
* Logs in the surf on the southern beach, carried in by the breaking waves.
* The three drivable vessels - a PWC, a workboat and a warship - and a boat sailing a loop on its own.
* The underwater view and caustics over the shallow shelf.

It has numbered cameras, **View 1** to **View 8**, placed at its best spots. Select one in the Outliner and pilot it to jump there.

### Surf Cove (Simulated Shoreline)

`Examples/SurfCove/Maps/L_OceanTool2_SurfCove_SimulatedShoreline`

![The Surf Cove example map](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FELi6xqVaxsti06R5MbvC%2Fex_surfcove.jpg?alt=media)

A one-kilometre cove with a surf beach, a rocky point and a jetty, on the **Simulated** shore model. Use it to see:

* The shallow-water simulation: surf running up the sand and draining back.
* Water pouring round the jetty's piles and the rocks.
* Weed, rubbish, barrels and logs washing about in the shallows.
* A character wading into live water.

### Buoyancy

`Examples/Buoyancy/Maps/L_OceanTool2_Buoyancy`

![The Buoyancy example map](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2Flz402SW2Lpnt7tJ0KX15%2Fex_buoyancy.jpg?alt=media)

Open sea and nothing else, with one of everything that floats, each labelled:

* Simple and physics floating objects, drifting and moored.
* A buoy that stays upright, barrels, logs, seaweed and rubbish.
* Both kinds of boat: a launch that sails its path, and a workboat on autopilot that you can take the helm of.

## The playground

Press **Play** in any of the three maps and a menu offers up to three ways to explore.

![The playground's menu, here in Surf Cove](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2Fyvk3PWhkvzkedkM4WDAs%2Fpg_menu.jpg?alt=media)

| Mode             | What it does                                                                      |
| ---------------- | --------------------------------------------------------------------------------- |
| **Free Camera**  | Fly over and under the ocean.                                                     |
| **Third Person** | Walk the beach, wade into the surf and swim. Offered where the level has a beach. |
| **Boat Example** | Drive the boats in the level. Offered where the level has drivable boats.         |

**Tab** brings the menu back at any time.

### Free camera

| Key           | Does         |
| ------------- | ------------ |
| **W A S D**   | Fly          |
| **E** / **Q** | Up / down    |
| **Shift**     | Faster       |
| Mouse         | Look         |
| Mouse wheel   | Change speed |

### Third person

| Key                    | On land                                         | In the water |
| ---------------------- | ----------------------------------------------- | ------------ |
| **W A S D**, mouse     | Walk, look                                      | Swim         |
| **Shift**              | Sprint                                          | Swim faster  |
| **C** or **Left Ctrl** | Crouch                                          | Dive         |
| **Space**              | Jump                                            | Come up      |
| Mouse wheel            | Zoom the camera; all the way in is first person |              |
| **V**                  | First person and back                           |              |

The character wades until the water is too deep to stand in, then swims. See [Underwater, Caustics and Swimming](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/underwater-caustics-and-swimming.md).

### Boats

| Key           | Does                                                                  |
| ------------- | --------------------------------------------------------------------- |
| **1** - **9** | Choose a boat                                                         |
| **W** / **S** | Throttle                                                              |
| **A** / **D** | Steer                                                                 |
| **X**         | Stop the engine                                                       |
| **R**         | Right the boat if it has capsized                                     |
| **M**         | Switch between realistic and arcade handling, where the boat has both |
| Mouse, wheel  | Look around, zoom                                                     |

### Hands

In the free camera and in third person, the mouse can pick things up.

* **Hold the left button** on a physics object to carry it. The wheel brings it nearer or sends it further; let go and it flies on, so you can throw it.
* **Press the right button** to throw a floating object into the water where the crosshair meets it: a barrel, a log, weed or a piece of rubbish, at random.

### Shortcuts

| Key     | Does                   |
| ------- | ---------------------- |
| **Tab** | The menu               |
| **F**   | Free camera            |
| **T**   | Third person           |
| **H**   | Hide the controls help |

## Use the playground in your own level

Set your level's game mode to **Ocean 2 Playground Game Mode** (**World Settings > GameMode Override**) and press Play.

* For the third person mode to know where to start, add a **Player Start** on your beach and give it the tag `Ocean2Shore`. Without one, it starts on the nearest beach it finds.
* The free camera starts at a **Player Start** tagged `Ocean2Playground`, if the level has one.
* The boat mode offers the drivable vessels placed in the level.
* To change the game mode's settings - **Offer Vessels Not In The Level** (the three example vessels as well), the vessels list, the start tags, the things you can throw - make a Blueprint of **Ocean 2 Playground Game Mode**, change them in its **Class Defaults**, and set that Blueprint as the **GameMode Override**. The example maps use the C++ class itself, whose settings World Settings shows but cannot change.

## Where next

* [Tutorials](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials.md) - build each of these yourself.
* [Boats, Buoyancy and Wakes](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/boats-buoyancy-and-wakes.md) - the boats and floating objects in detail.
