User Tools

Site Tools


cw4:custom_maps

Custom maps

Custom maps can range from simple to very complex. The map maker can change or create the terrain, Choose specific map textures, overlay terrain with images and more. Additionally, there can be custom units on the map, both as enemy units and as player units. Player units can further be either pre-built or can be assigned to a build slot so the player decide when, where and if they get used in completing the mission.

The first step is to decide on a name1) for the new map

Please note that if you plan to upload a map to the community, the name should not be offensive in any way. 2)

Map Editor

New maps can be created in one of two ways:

Create new Mission

Import a CW3 map

:!: To be supplied

The map will now open, almost like any playable map, with the notable exception of the small, green “Editor” button in the lower right corner.

Once you click this button the Mission Editor pane will open. Now you can edit the terrain, add various features and then you are ready to test and play your map!

Mission Editor

Terrain

Units

Game

Theme

Text

Mods

See Unit Editor or Scripting for an in-depth treatment of Custom units and Scripting.

For more information, click on any of the above tabs.

  • Terrain - specifies features of the terrain, including height, appearance, (Anti-)Creeper deposits, Special terrain types and Eco (ecology) settings.
  • Units - built-in units can be placed on the map from here.
  • Theme - Specifies map background, default or imported themes and edits themes in the Theme Editor.
  • Game - defines Mission objectives, sets global game values, etc.
  • Text - sets a map title, a brief description that will display when the map is viewed in the game and use the A.D.A. Message editor.
  • Mods - custom units and scripts are done from here. Detailed treatment in Scripting and Making Custom Maps.

Editor keys

The map editor also has several key bindings specific to mapmaking. You see them by hovering over the button at the top left of the editor pane.

Map making concepts

Image guidelines

All decisions regarding maps, images and associated content is solely the decision of Knuckle Cracker LLC. No decision creates a precedent for subsequent decisions and any decision made may be reversed subsequently.

The aim is to provide maps that are fun to play and suitable for all audiences without being offensive to the majority of the player audience.

Do not use images that you do not have the right to use. If the image(s) require credit, make sure the credit is provided.

Understanding the 3D coordinate system

Prepare yourself for a shock. In 3D games, the map coordinates are stranger than you may think.

Here is a good resource:

3D Math Primer for Game Programmers (Coordinate Systems)

Also note that, in line with the underlying Unity3D engine, the game uses a left-handed coordinate system in contrast to the right-handed coordinate system you may expect.

vs

Giuseppe Portelli wrote a series of articles about coordinate systems comparison between Autodesk 3ds Max, Unity 3D and Unreal Engine. If you are familiar with any of those other systems, then this may be the comparison you need.

Movement and Rotation

this section should probably move to the section for custom units, since it is material to animating components of a unit

Bear in mind that movement is always *along the axis, while rotation is *around* the axis.

For instance, for an propeller airplane to move in a specific direction the coordinate for that direction would have to change. At the same time, the rotational vector for the propeller movement would also change around the same axis.

World View and Local View

Many coordinate APIs (commands) in the the game has an option to specify local vs world coordinates.

World Coordinates are immutable and always arae references from the map origin at (0,0,0) - in the lower, left corner.

Local coordinates are relative to a different (parental) unit and is used to integrate unit movement. Using the airplane example again, should the body of the plane move, the rotational component for the propeller should be in local coordinates so that it tracks and is always relative to the direction the body of the airplane points in .

A.D.A Message editor

Here is a write-up of all rich text formatting allowed in the A.D.A text editor. It is a more-or-less direct copy of http://digitalnativestudios.com/textmeshpro/docs/rich-text/

1)
The map name will be the name of a folder in the editor subdirectory under the game directory
%HOMEPATH%\Documents\My Games\creeperworld4\editor\
2)
This goes for all community content and all community content are subject to removal at the absolute discretion of Knuckle Cracker, LLC. or their designated agents. Community-submitted map are also subject to removal if they are reported by a sufficiently large number of other members.
cw4/custom_maps.txt · Last modified: 2021/02/19 20:54 by Karsten75