User Tools

Site Tools


cw4:custom_maps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cw4:custom_maps [2019/12/16 14:36] Karsten75cw4:custom_maps [2023/11/10 09:43] (current) – old revision restored (2023/08/10 10:22) Karsten75
Line 1: Line 1:
-<WRAP tabs> +{{page>cw4:header&nofooter}} 
-  * [[cw4:creeper_world_4|CW4 Home]] + 
-  * [[CW4:the_story|The Story]]  +
-  * [[CW4:placeholder|Placeholder]]  +
-  * [[CW4:custom_maps|Custom Maps]]  +
-  * [[CW4:Custom_units|Custom Units]]  +
-  * [[cw4:scripting|Scripting]] +
-</WRAP>+
 ====== Custom maps ====== ====== Custom maps ======
  
-For now, just random bits as they become available. **Make sure to read the image guidelines**+===== Guidelines for Submitting Maps =====
  
-==== Map Editor ==== +  * Make a fun map that **you** enjoy playing, then share it with the community.  
-New maps can be created in one of two ways +  * No explicit images or concepts. Violating this rule will result in a ban on future map uploads.  
-  Create Mission +  * No content that is offensive, contains offensive symbolism((historically charged symbols, often associated with divisive ideologies; contentious periods; or drug use references)), or excessive use of strong or foul language ((Typically, this means do not use words that wouldn't be allowed on US broadcast television)). This rule is not debatable and is interpreted by the admins and moderators.  
-  * Import a CW3 map+  * No maps that are intended purely for obtaining an achievement, no do-nothing maps, instant-win maps or maps that complete without player input. 
 + 
 +===== Getting Started ===== 
 +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 name(( 
 +<WRAP round box >The map name will be the name of a folder in the editor subdirectory under the game directory 
 + 
 +<code -> 
 +%HOMEPATH%\Documents\My Games\creeperworld4\editor\ 
 +</code> 
 + 
 +</WRAP> 
 +)) for the new map 
 + 
 +{{new_map_step_1.png?400}} 
 + 
 +Please note that if you plan to upload a map to the community, the name should not be offensive in any way. (( 
 +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. 
 +)) 
 + 
 +===== Map Editor ====
 + 
 +New maps can be created in one of two ways: 
 + 
 +<tabbox Create new Mission>
  
 {{map_create_dialog.png?500}} {{map_create_dialog.png?500}}
  
-Once this step is completed, the terrain can be edited,  units can be added and then you're set to play!+<tabbox Import a CW3 map>
  
-For now, the map editor is available in-game when pressing Shift-E+:!: To be supplied
  
-The in-game editor has 5 main options: +</tabbox>
-{{terrain editor.png}}+
  
-  * Terrain -  specifies features of the terrain, including height, appearance, (Anti-)Creeper deposits, Special terrain types and Eco (ecology) settings.  +The following video is an excellent overview and tutorial of using the Map Editor in CW4 created by THE Knuckle Cracker:
-  * Theme - Specifies map background, default or imported themes and edits themes in the [[Theme Editor]]. +
-  * Units - built-n units can be placed on the map from here.  +
-  * Game - sets game title and description. Also specify start and completion messages, creeper flow rate and  void and Mesh values.   +
-  * Mods - custom units and scripts are done from here. Detailed treatment in [[scripting | Scripting and Making Custom Maps]]. +
-  +
-  +
-There are also global settings that affects the flow of creeper on a map.+
  
- ===== Image guidelines ===== +{{youtube>Et-lGqK_egE}}
-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+Note that some aspects of the editor have changed since the video above from Aug 2019 was made but has all kinds of map design tips for creating a wide variety of fun maps.  Now back to the written tutorial.
  
-Do not use images that you do not have the right to use. If the image(s) require creditmake sure the credit is provided+The map will now open, almost like any playable map, with the notable exception of the smallgreen "Editor" button in the lower right corner.
  
-===== Understanding the 3D coordinate system =====+{{editbutton.png}}
  
-Prepare yourself for a shockIn 3D games, the map coordinates are stranger than you may think.  +Once you click this button the Mission Editor pane will openNow you can  edit the terrain, add various features and then you are ready to test and play your map!
-{{cw4:cartesian_map_coordinates.png}}+
  
 +===== Mission Editor =====
  
-Here is a good resource:+<tabbox Terrain>
  
-[[https://www.3dgep.com/3d-math-primer-for-game-programmers/ | 3D Math Primer for Game Programmers (Coordinate Systems)]]+Specifies features of the terrain, including height, appearance, (Anti-)Creeper deposits, Special terrain types and Eco (ecologysettings.
  
-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. +{{youtube>-yD_cRRCBnI}}
  
-{{cw4:lefthandedcoordinates_1000.gif}} vs {{cw4:righthandedcoordinates_1000.gif}}+<tabbox Units>
  
-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+Built-in units can be placed on the map from here.
  
-  * [[http://www.aclockworkberry.com/uv-coordinate-systems-3ds-max-unity-unreal-engine/    UV Coordinate Systems in 3ds Max, Unity, Unreal Engine]] +{{mission_editor_units.png}}
-  * [[http://www.aclockworkberry.com/world-coordinate-systems-in-3ds-max-unity-and-unreal-engine/   | World Coordinate Systems in 3ds Max, Unity and Unreal Engine  ]] +
-  * [[http://www.aclockworkberry.com/basis-orientations-in-3ds-max-unity-3d-and-unreal-engine/   | Basis Orientations in 3ds Max, Unity 3D and Unreal Engine ]] +
-  * [[http://www.aclockworkberry.com/scales-in-3ds-max-unity-3d-and-unreal-engine/   | Scales in 3ds Max, Unity 3D and Unreal Engine ]]+
  
-==== Movement and Rotation ====+<tabbox Game>
  
-Bear in mind that movement is always *along the axiswhile rotation is *around* the axis+Defines Mission objectivessets global game properties, etc.
  
-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+{{mission_editor_game.png}}
  
-==== World View and Local View ====+<tabbox Theme>
  
-Many coordinate  APIs (commands) in the the game has an option to specify local vs world coordinates+Specifies the [[Map Background|map background]]. Through the use of the [[Theme Editor]] also allows for editing terrain textures, normals, cliff textures, setting an image to overlay all of the map's terrain, or setting custom terrain textures.
  
-World Coordinates are immutable and always arae references from the map origin at (0,0,0) - in the lower, left corner+{{mission_editor_theme.png}}
  
-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 .  +<tabbox Text>
-===== A.D.A Message editor  ===== +
-Here is a write-up of all rich text formatting allowed in the  +
-[[a.d.a syntax syntax guide | A.D.A text editor]].  It is a more-or-less direct copy of  http://digitalnativestudios.com/textmeshpro/docs/rich-text/+
  
-<WRAP center centeralign box group 60%+Sets a map title, a brief description that will display when the map is viewed in the game and use the [[a.d.a syntax syntax guide|A.D.A. Message editor]]. 
-| **More about Creeper World 4** || + 
-|  **Main pages:** | **[[ creeper_world_4 Creeper World 4 ]]**  | +{{mission_editor_text.png}} 
- **Custom maps:** **Custom Maps** • **[[custom_units Custom Units]]** • **[[scripting | Scripting]]**  |+ 
 +<tabbox Mods
 + 
 +Custom units and scripts are done from here. Learn the basics in the [[scripting Scripting and Making Custom Maps]] 
 + 
 +See [[cw4:Units|Unit Editor]] and [[4RPL:Start|Scripting Documentation]] for an in-depth treatment of Custom units and Scripting. 
 + 
 +</tabbox> 
 + 
 +==== Editor keys ==== 
 + 
 +The map editor also has several key bindings specific to mapmaking. You see them by hovering over the {{editor_info.png?30}} button at the top left of the editor pane. 
 + 
 +{{editor_keys.png}} 
 + 
 +====== A.D.A Message editor ====== 
 + 
 +The A.D.A Messages can contain text and images. Exercise caution with the images. Over-large images or images that are not relevant to the map, cause the map size to be larger than normal and may cause a map to be removed from Colonies. 
 + 
 +Here is a write-up of all rich text formatting allowed in the  [[a.d.a syntax syntax guideA.D.A text editor]].  It is a more-or-less direct copy of  [[http://digitalnativestudios.com/textmeshpro/docs/rich-text/]] 
 + 
 +====== Map making concepts ====== 
 + 
 +===== Image guidelines ===== 
 + 
 +<WRAP round warning> 
 +Note that importing or using images, 3D models, or decals may involve entities that are large in size.  Most maps come in around 1MB in size with some larger maps reaching up to 4-5MB. Maps exceeding 10MB in size cannot be uploaded to the Knuckle Cracker website. 
 </WRAP> </WRAP>
 +
 +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 is made based on circumstances at the time such a decision is made.
 +
 +Content included in the A.D.A. log should be relevant to the gameplay or to the map in question.
 +
 +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.  {{cw4:cartesian_map_coordinates.png}}
 +
 +Here is a good resource:
 +
 +[[https://www.3dgep.com/3d-math-primer-for-game-programmers/| 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.
 +
 +{{cw4:lefthandedcoordinates_1000.png}} vs {{cw4:righthandedcoordinates_1000.png}}
 +
 +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.
 +
 +  * [[http://www.aclockworkberry.com/uv-coordinate-systems-3ds-max-unity-unreal-engine/ UV Coordinate Systems in 3ds Max, Unity, Unreal Engine]]
 +  * [[http://www.aclockworkberry.com/world-coordinate-systems-in-3ds-max-unity-and-unreal-engine/| World Coordinate Systems in 3ds Max, Unity and Unreal Engine  ]]
 +  * [[http://www.aclockworkberry.com/basis-orientations-in-3ds-max-unity-3d-and-unreal-engine/| Basis Orientations in 3ds Max, Unity 3D and Unreal Engine ]]
 +  * [[http://www.aclockworkberry.com/scales-in-3ds-max-unity-3d-and-unreal-engine/| Scales in 3ds Max, Unity 3D and Unreal Engine ]]
 +
 +===== Movement and Rotation =====
 +
 +<wrap info> this section should probably move to the section for custom units, since it is material to animating components of a unit</wrap>
 +
 +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 .
 +
 +====== See also ======
 +  * [[Map Background|Map Background (Planet Theme)]]
 +  * [[Theme Editor]]
 +  * [[a.d.a syntax syntax guide|A.D.A. Message editor]]
 +  * [[scripting| Scripting and Making Custom Maps]]
 +  * [[cw4:Units|Unit Editor]]
 +  * [[4RPL:Start|Scripting Documentation]]
cw4/custom_maps.1576524970.txt.gz · Last modified: 2019/12/16 14:36 by Karsten75