Dota 2 Map Entities: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Dota 2 uses many entities and this page want to document these aswell as their usage. | Dota 2 uses many entities and this page want to document these aswell as their usage. | ||
Line 27: | Line 28: | ||
:<code>Fog Color Day</code> | :<code>Fog Color Day</code> | ||
:<code>Fog Color Night</code> | :<code>Fog Color Night</code> | ||
:<code>Fog End Day</code> Value: <code>3000</code> - Sets your Fogdistance | :<code>Fog End Day</code> ''''''Value:'''''' <code>3000</code> - Sets your Fogdistance | ||
:<code>Fog End Night</code> Value: <code>3000</code> - sets your Fogdistance | :<code>Fog End Night</code> ''''''Value:'''''' <code>3000</code> - sets your Fogdistance | ||
:<code>Fog Height Day</code> | :<code>Fog Height Day</code> | ||
:<code>Fog Height Night</code> | :<code>Fog Height Night</code> | ||
:<code>Fog Height Color Day</code> | :<code>Fog Height Color Day</code> | ||
:<code>Fog Height Color Night</code> | :<code>Fog Height Color Night</code> | ||
:<code>Fog Start Day</code> Value: <code>1500</code> | :<code>Fog Start Day</code> ''''''Value:'''''' <code>1500</code> | ||
:<code>Fog Start Night</code> Value: <code>1500</code> | :<code>Fog Start Night</code> ''''''Value:'''''' <code>1500</code> | ||
:<code>Fog of War Color Blue Day</code> Value: <code>4</code> | :<code>Fog of War Color Blue Day</code> ''''''Value:'''''' <code>4</code> | ||
:<code>Fog of War Color Blue Night</code> Value: <code>4</code> | :<code>Fog of War Color Blue Night</code> ''''''Value:'''''' <code>4</code> | ||
:<code>Fog of War Color Green Day</code> Value: <code>3</code> | :<code>Fog of War Color Green Day</code> ''''''Value:'''''' <code>3</code> | ||
:<code>Fog of War Color Green Night</code> Value: <code>3</code> | :<code>Fog of War Color Green Night</code> ''''''Value:'''''' <code>3</code> | ||
:<code>Fog of War Color Red Day</code> Value: <code>2</code> | :<code>Fog of War Color Red Day</code> ''''''Value:'''''' <code>2</code> | ||
:<code>Fog of War Color Red Night</code> Value: <code>2</code> | :<code>Fog of War Color Red Night</code> ''''''Value:'''''' <code>2</code> | ||
:<code>Fog of War Darkness Day</code> Value: <code>2.7</code> | :<code>Fog of War Darkness Day</code> ''''''Value:'''''' <code>2.7</code> | ||
:<code>Fog of War Darkness Night</code> Value: <code>2.7</code> | :<code>Fog of War Darkness Night</code> ''''''Value:'''''' <code>2.7</code> | ||
:<code>Inner Radius</code> Value: <code>3500</code> | :<code>Inner Radius</code> '''Value:''' <code>3500</code> | ||
:<code>Light Direction Day</code> Value: <code>43 313 0</code> | :<code>Light Direction Day</code> '''Value:''' <code>43 313 0</code> | ||
:<code>Light Direction Night</code> Value: <code>43 313 0</code> | :<code>Light Direction Night</code> '''Value:''' <code>43 313 0</code> | ||
:<code>Outer Radius</code> Value: <code>11000</code> | :<code>Outer Radius</code> '''Value:''' <code>11000</code> | ||
:<code>Shadow Color Day</code> | :<code>Shadow Color Day</code> | ||
:<code>Shadow Color Night</code> | :<code>Shadow Color Night</code> | ||
:<code>Shadow Ground Scale Day</code> Value: <code>.2</code> | :<code>Shadow Ground Scale Day</code> '''Value:''' <code>.2</code> | ||
:<code>Shadow Ground Scale Night</code> Value: <code>.25</code> | :<code>Shadow Ground Scale Night</code> '''Value:''' <code>.25</code> | ||
:<code>Shadow Scale Day</code> Value: <code>.2</code> | :<code>Shadow Scale Day</code> '''Value:''' <code>.2</code> | ||
:<code>Shadow Scale Night</code> Value: <code>.25</code> | :<code>Shadow Scale Night</code> '''Value:''' <code>.25</code> | ||
:<code>Specular Color Day</code> | :<code>Specular Color Day</code> | ||
:<code>Specular Color Night</code> | :<code>Specular Color Night</code> | ||
;env_globa_light | ;env_globa_light | ||
:Lightning entity - controls cloud-shadowing aswell. | :Lightning entity - controls cloud-shadowing aswell. | ||
:<code>vloud1speed</code> Value: <code>120</code> | :<code>vloud1speed</code> '''Value:''' <code>120</code> | ||
:<code>specularcolor</code> Value: <code>165 161 255</code> | :<code>specularcolor</code> '''Value:''' <code>165 161 255</code> | ||
:<code>cloud2direction</code> Value: <code>0 145 0</code> | :<code>cloud2direction</code> '''Value:''' <code>0 145 0</code> | ||
:<code>specularangles</code> Value: <code>60 270 0</code> | :<code>specularangles</code> '''Value:''' <code>60 270 0</code> | ||
:<code>cloud2speed</code> Value: <code>80</code> | :<code>cloud2speed</code> '''Value:''' <code>80</code> | ||
:<code>cloudscale</code> Value: <code>65000</code> | :<code>cloudscale</code> '''Value:''' <code>65000</code> | ||
:<code>groundscale</code> Value: <code>15</code> | :<code>groundscale</code> '''Value:''' <code>15</code> | ||
:<code>Start Disbled</code> Value: <code>No</code> | :<code>Start Disbled</code> '''Value:''' <code>No</code> | ||
:<code>Light Color</code> | :<code>Light Color</code> | ||
:<code>Color Transition Time</code> Value: <code>0.5</code> | :<code>Color Transition Time</code> '''Value:''' <code>0.5</code> | ||
:<code>Distance</code> Value: <code>10000</code> | :<code>Distance</code> '''Value:''' <code>10000</code> | ||
:<code>FOV</code> Value: <code>5</code> | :<code>FOV</code> '''Value:''' <code>5</code> | ||
:<code>NearZ Distance</code> Value: <code>4</code> | :<code>NearZ Distance</code> '''Value:''' <code>4</code> | ||
:<code>North Offset</code> Value: <code>200</code> | :<code>North Offset</code> '''Value:''' <code>200</code> | ||
:<code>Texture Name</code> Value: <code>effects/blank_clouds_00</code> | :<code>Texture Name</code> '''Value:''' <code>effects/blank_clouds_00</code> | ||
:<code>Enable Shadows</code> Value: <code>Yes</code> | :<code>Enable Shadows</code> '''Value:''' <code>Yes</code> | ||
;game_ragdoll_manager | ;game_ragdoll_manager | ||
:<code>Max Ragdoll Count</code> Value: <code>-1</code> | :<code>Max Ragdoll Count</code> '''Value:''' <code>-1</code> | ||
:<code>Max Ragdoll Count DX8</code> Value <code>-1</code> | :<code>Max Ragdoll Count DX8</code> Value <code>-1</code> | ||
;env_fog_controller | ;env_fog_controller | ||
:<code>HDRColorScale</code> Value: <code>1.0</code> | :<code>HDRColorScale</code> '''Value:''' <code>1.0</code> | ||
:<code>no_reflection_fog</code> Value: <code>1</code> | :<code>no_reflection_fog</code> '''Value:''' <code>1</code> | ||
:<code>Name</code> Value: <code>goodside_fog</code> - Controller Name for side-dependant lightning | :<code>Name</code> '''Value:''' <code>goodside_fog</code> - Controller Name for side-dependant lightning | ||
:<code>Fog Enable</code> Value: <code>Yes</code> | :<code>Fog Enable</code> '''Value:''' <code>Yes</code> | ||
:<code>Fog Blend</code> Value: <code>No</code> | :<code>Fog Blend</code> '''Value:''' <code>No</code> | ||
:<code>Use Angles for Fog Dir</code> Value: <code>No</code> | :<code>Use Angles for Fog Dir</code> '''Value:''' <code>No</code> | ||
:<code>Primary Fog Color</code> | :<code>Primary Fog Color</code> | ||
:<code>Secondary Fog Color</code> | :<code>Secondary Fog Color</code> | ||
:<code>Primary Fog Direction</code> Value: <code>1 0 0</code> | :<code>Primary Fog Direction</code> '''Value:''' <code>1 0 0</code> | ||
:<code>Fog Start</code> Value: <code>1500</code> | :<code>Fog Start</code> '''Value:''' <code>1500</code> | ||
:<code>Fog End</code> Value: <code>3000</code> | :<code>Fog End</code> '''Value:''' <code>3000</code> | ||
:<code>Fog Max Density [0...1]</code> Value: <code>1</code> | :<code>Fog Max Density [0...1]</code> '''Value:''' <code>1</code> | ||
:<code>Interpolate Time</code> Value: <code>5</code> | :<code>Interpolate Time</code> '''Value:''' <code>5</code> | ||
:<code>Far Z Clip Plne</code> Value: <code>-1</code> | :<code>Far Z Clip Plne</code> '''Value:''' <code>-1</code> | ||
;water_lod_control | ;water_lod_control | ||
:<code>Start Transition to Cheap Water</code> Value: <code>10000</code> | :<code>Start Transition to Cheap Water</code> '''Value:''' <code>10000</code> | ||
:<code>Start Transition to Cheap Water</code> Value: <code>20000</code> | :<code>Start Transition to Cheap Water</code> '''Value:''' <code>20000</code> | ||
;env_tonemap_controller | ;env_tonemap_controller | ||
:<code>Name</code> Value: <code>tonemapcontroller</code> | :<code>Name</code> '''Value:''' <code>tonemapcontroller</code> | ||
;logic_auto | ;logic_auto | ||
:Map based scripting entitity. See tutorial-maps for reference. | :Map based scripting entitity. See tutorial-maps for reference. | ||
Line 115: | Line 116: | ||
:Used to place working trees with proper <code>ent_fow_blocker_node</code> and cutable with Tangoes or a Quelling Blade. | :Used to place working trees with proper <code>ent_fow_blocker_node</code> and cutable with Tangoes or a Quelling Blade. | ||
:The models from the Dota-Files are confusing. The only models for the Dire with proper animations and a tree-stump are: <code>dire_tree004.mdl dire_tree004b.mdl dire_tree007.mdl dire_tree008.mdl</code> | :The models from the Dota-Files are confusing. The only models for the Dire with proper animations and a tree-stump are: <code>dire_tree004.mdl dire_tree004b.mdl dire_tree007.mdl dire_tree008.mdl</code> | ||
:In order to show up correctly you have to add following Key:Value: <code>base:1</code> | :In order to show up correctly you have to add following Key:'''Value:''' <code>base:1</code> |
Revision as of 07:58, 12 January 2014
Dota 2 uses many entities and this page want to document these aswell as their usage.
Critical Entities
These entities are neccessary to run a map. List in no particular order - they're all needed:
- info_player_start
- Without this entity, your Dota will instantly crash. No data required.
- World_bounds
- Specifies the total size of your map.
Max Bound
is filled with two positive valuesMin Bound
is filled with two negative values- ent_dota_game_events
- Functionbridge to control different events (soundques, animations) on script-events. Not data required.
- ent_dota_lightinfo
- Controls the whole lightning and can be used to change the lightning for different sides on the map.
Ambient Day Color
Ambient Night Color
Ambient Direction Day
Ambient Directeion Night
Ambient Scale Day
Ambient Scale Night
Day Color
Night Color
Fog Color Day
Fog Color Night
Fog End Day
'Value:'3000
- Sets your FogdistanceFog End Night
'Value:'3000
- sets your FogdistanceFog Height Day
Fog Height Night
Fog Height Color Day
Fog Height Color Night
Fog Start Day
'Value:'1500
Fog Start Night
'Value:'1500
Fog of War Color Blue Day
'Value:'4
Fog of War Color Blue Night
'Value:'4
Fog of War Color Green Day
'Value:'3
Fog of War Color Green Night
'Value:'3
Fog of War Color Red Day
'Value:'2
Fog of War Color Red Night
'Value:'2
Fog of War Darkness Day
'Value:'2.7
Fog of War Darkness Night
'Value:'2.7
Inner Radius
Value:3500
Light Direction Day
Value:43 313 0
Light Direction Night
Value:43 313 0
Outer Radius
Value:11000
Shadow Color Day
Shadow Color Night
Shadow Ground Scale Day
Value:.2
Shadow Ground Scale Night
Value:.25
Shadow Scale Day
Value:.2
Shadow Scale Night
Value:.25
Specular Color Day
Specular Color Night
- env_globa_light
- Lightning entity - controls cloud-shadowing aswell.
vloud1speed
Value:120
specularcolor
Value:165 161 255
cloud2direction
Value:0 145 0
specularangles
Value:60 270 0
cloud2speed
Value:80
cloudscale
Value:65000
groundscale
Value:15
Start Disbled
Value:No
Light Color
Color Transition Time
Value:0.5
Distance
Value:10000
FOV
Value:5
NearZ Distance
Value:4
North Offset
Value:200
Texture Name
Value:effects/blank_clouds_00
Enable Shadows
Value:Yes
- game_ragdoll_manager
Max Ragdoll Count
Value:-1
Max Ragdoll Count DX8
Value-1
- env_fog_controller
HDRColorScale
Value:1.0
no_reflection_fog
Value:1
Name
Value:goodside_fog
- Controller Name for side-dependant lightningFog Enable
Value:Yes
Fog Blend
Value:No
Use Angles for Fog Dir
Value:No
Primary Fog Color
Secondary Fog Color
Primary Fog Direction
Value:1 0 0
Fog Start
Value:1500
Fog End
Value:3000
Fog Max Density [0...1]
Value:1
Interpolate Time
Value:5
Far Z Clip Plne
Value:-1
- water_lod_control
Start Transition to Cheap Water
Value:10000
Start Transition to Cheap Water
Value:20000
- env_tonemap_controller
Name
Value:tonemapcontroller
- logic_auto
- Map based scripting entitity. See tutorial-maps for reference.
- info_player_start_goodguys
- Spawnboxes for Radiant
- info_player_start_badguys
- Spawnboxes for Dire
You will need aswell at least one Skybox and one displaced brush in order to make a functioning map.
Custom Entities
These entities are tied to the gamemechanics, such as runes.
- dota_item_rune_spawner
- This entity spawns runes on given grid point.
- It is cruical to fill in '
Name
' with 'dota_item_rune_spawner
' in order to fully work. Without given name it doesn't spawn runes. - ent_dota_tree
- Used to place working trees with proper
ent_fow_blocker_node
and cutable with Tangoes or a Quelling Blade. - The models from the Dota-Files are confusing. The only models for the Dire with proper animations and a tree-stump are:
dire_tree004.mdl dire_tree004b.mdl dire_tree007.mdl dire_tree008.mdl
- In order to show up correctly you have to add following Key:Value:
base:1