Documentation/Entity Types/Base/Map.type

From NeoAxis Engine Wiki

Jump to: navigation, search
Go to higher level
Map 001.jpg

Contents

Description

Object Map.type is located in the window Map Entities of the map editor, and is a standard type. It contains the settings that apply to the entire map.

This object is created automatically when you create a new map. Actually when we edit the map in map editor, we edit the object that it contains.

Configuration

Configuring Map.type is done, like with any object, in the properties list.

Map

Title Description
AmbientLight This parameter sets the color of ambient lighting on the map.
CameraOrthoWindowHeight Adjusts the height of the orthographic camera.
CameraProjectionType Allows you to choose from two options (Perspective and Orthographic). Perspective - the standard camera view. Appearance of the objects changes relative to the angle of view. Perspective Camera is a type of camera, which is similar to the camera in most 3D programs: it creates the prospect of a three-dimensional images in the scene, but it is not intended to depict the flaws and distortions that photo camera lenses tend to create. Orthographic is a type of camera without perspective. Orthographic camera creates orthographic projection of the scene. It can be used to create direct projections (eg, top view or front) and axonometric projection.
DrawDynamicPhysics (For debugging) This option Prevents/Allows the display of physical models for dynamic objects.
DrawEffects (For debugging) Allows display of particle systems and billboards on the ma[.
DrawGameSpecificDebugGeometry (For debugging) For Enable/Disable of the map debugging information. Same debugging information is configured and defined by programmers of the project separately.
DrawGui (For debugging) Disable/Enable GUI drawing.
DrawLights (For debugging) Defines whether the light sources will affect objects or not.
DrawMapObjectBounds (For debugging) Allows clear indication of the dimensions of objects placed on the map.
DrawModels (For debugging) Allows to Show/Hide all models (such as buildings, tanks), except for static objects (StaticMesh, HeightmapTerrain) on the map.
DrawRegions (For debugging) Enable/Disable the display of regions in the game project. Regions become visible in the map simulation.
DrawSceneGraphInfo (For debugging) Allows drawing of display size of the map objects and also the game map. With this option, we can clearly see all the problematic objects with the wrong dimensions.
DrawSceneNodeBounds (For debugging) Show/Hide the dimensions of objects (such as doors, weapons, etc.) except for static objects (StaticMesh, HeightmapTerrain) on the map.
DrawStaticGeometry (For debugging) Allows you to Show/Hide all static objects (StaticMesh, HeightmapTerrain) on the map.
DrawStaticMeshObjectBounds (For debugging) Allows you to Show/Hide all dimensions of static objects {StaticMesh, HeightmapTerrain} on the map.
DrawStaticPhisics (For debugging) Allows you to Show/Hide the physical models of static objects {StaticMesh, HeightmapTerrain} on the map.
DrawWireframe (For debugging) All models are drawn as wired polygonal meshes.
Fov Adjusts the view angle of the camera.
Frustum Test (For debugging) Allows you to check disappearance of objects beyond the borders of the map. Objects and tiles, which are entirely outside the framework should disappear from sight.
NearFarClipDistance Adjust the distances at which the camera will start and end to draw objects.
SceneGraphDynamicTree This parameter determines whether the scene graph will be preprocessed. If you have a static map (ie the dimensions of the entire map is not actively changing) put False and scene graph will be calculated only once - on first map run. If you have a dynamic map (ie the dimensions of the whole map is actively changing) set the True and the count will be recalculated on every map run.
SceneGraphType Option to select the scene graph structure. Allows you to choose between Simple, Quadtree and Octree.
Shadow2DTextureCount This parameter specifies the maximum number of textures for shadow generation. It is calculated from a number of light sources are counted shadows in the frame. If the source of lighst is more thanShadow2DTextureCount, then the shadows of more distant light sources will not be drawn.
Shadow2DTextureSize This parameter specifies the size of the shadow textures.
ShadowColor Specifies the shadow color.
ShadowCubicTextureCount Not used.
ShadowCubicTextureSize Not used.
ShadowFarDistance Defines the maximum distance at which you will see the shadows.
ShadowTechnique Allows you to choose between different shadow techniques.
SoundDistanceFactor Range rate in the sound system. Affects the damping volume, depending on the distance. The higher the number, the slower will sound volume be damped depending on a distance.

GameMap

Title Description
GameMusic Allows you to select the music which will be played after the map loads.
GameType Allows you to select the type of map. By default, you can choose from 5 types: Action, RTS, TPSArcade, TurrentDemo and JigsawPuzzleGame. Each type differs own characteristics and management of game. You can add your own game types in the development process.