Dota 2 Map Entities: Difference between revisions
Jump to navigation
Jump to search

Thunder4ik (talk | contribs) m (clean up, added orphan tag) |
|||
| (11 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
{{Orphan|date=January 2024}} | |||
Dota 2 uses many entities and this page want to document these | {{lang|Dota 2 Map Entities}} | ||
{{Dota 2Tools topicons}} | |||
Dota 2 uses many entities and this page want to document these as well as their usage. | |||
== Critical Entities == | == Critical Entities == | ||
These entities are | These entities are necessary to run a map. | ||
List in no particular order - they're all needed: | List in no particular order - they're all needed: | ||
| Line 57: | Line 59: | ||
:<code>Specular Color Night</code> | :<code>Specular Color Night</code> | ||
;env_global_light | ;env_global_light | ||
:Lightning entity - controls cloud-shadowing | :Lightning entity - controls cloud-shadowing as well. | ||
:<code> | :<code>cloud1speed</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> | ||
| Line 98: | Line 100: | ||
:<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, but note that the tutorial maps also have the tutorial logic scripting system running on top which handles a lot of the events. | ||
;info_player_start_goodguys | ;info_player_start_goodguys | ||
:Spawnboxes for Radiant | :Spawnboxes for Radiant | ||
| Line 104: | Line 106: | ||
:Spawnboxes for Dire | :Spawnboxes for Dire | ||
You will need | You will need at least one Skybox and one displaced brush in order to make a functioning map. | ||
== Non-Critical Entities == | |||
;info_player_start_dota | |||
:Spawnbox for players in custom games | |||
== Custom Entities == | == Custom Entities == | ||
| Line 116: | Line 122: | ||
: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> | :In order to show up correctly you have to add following Key:'''Value:''' <code>body:1</code> | ||
[[Category:Dota 2 Workshop Tools]] | |||
Latest revision as of 22:40, 21 January 2024
This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
January 2024
You can help by
January 2024
Dota 2 uses many entities and this page want to document these as well as their usage.
Critical Entities
These entities are necessary 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 Boundis filled with two positive valuesMin Boundis 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 ColorAmbient Night ColorAmbient Direction DayAmbient Directeion NightAmbient Scale DayAmbient Scale NightDay ColorNight ColorFog Color DayFog Color NightFog End Day'Value:'3000- Sets your FogdistanceFog End Night'Value:'3000- sets your FogdistanceFog Height DayFog Height NightFog Height Color DayFog Height Color NightFog Start Day'Value:'1500Fog Start Night'Value:'1500Fog of War Color Blue Day'Value:'4Fog of War Color Blue Night'Value:'4Fog of War Color Green Day'Value:'3Fog of War Color Green Night'Value:'3Fog of War Color Red Day'Value:'2Fog of War Color Red Night'Value:'2Fog of War Darkness Day'Value:'2.7Fog of War Darkness Night'Value:'2.7Inner RadiusValue:3500Light Direction DayValue:43 313 0Light Direction NightValue:43 313 0Outer RadiusValue:11000Shadow Color DayShadow Color NightShadow Ground Scale DayValue:.2Shadow Ground Scale NightValue:.25Shadow Scale DayValue:.2Shadow Scale NightValue:.25Specular Color DaySpecular Color Night- env_global_light
- Lightning entity - controls cloud-shadowing as well.
cloud1speedValue:120specularcolorValue:165 161 255cloud2directionValue:0 145 0specularanglesValue:60 270 0cloud2speedValue:80cloudscaleValue:65000groundscaleValue:15Start DisbledValue:NoLight ColorColor Transition TimeValue:0.5DistanceValue:10000FOVValue:5NearZ DistanceValue:4North OffsetValue:200Texture NameValue:effects/blank_clouds_00Enable ShadowsValue:Yes- game_ragdoll_manager
Max Ragdoll CountValue:-1Max Ragdoll Count DX8Value-1- env_fog_controller
HDRColorScaleValue:1.0no_reflection_fogValue:1NameValue:goodside_fog- Controller Name for side-dependant lightningFog EnableValue:YesFog BlendValue:NoUse Angles for Fog DirValue:NoPrimary Fog ColorSecondary Fog ColorPrimary Fog DirectionValue:1 0 0Fog StartValue:1500Fog EndValue:3000Fog Max Density [0...1]Value:1Interpolate TimeValue:5Far Z Clip PlneValue:-1- water_lod_control
Start Transition to Cheap WaterValue:10000Start Transition to Cheap WaterValue:20000- env_tonemap_controller
NameValue:tonemapcontroller- logic_auto
- Map based scripting entitity. See tutorial-maps for reference, but note that the tutorial maps also have the tutorial logic scripting system running on top which handles a lot of the events.
- info_player_start_goodguys
- Spawnboxes for Radiant
- info_player_start_badguys
- Spawnboxes for Dire
You will need at least one Skybox and one displaced brush in order to make a functioning map.
Non-Critical Entities
- info_player_start_dota
- Spawnbox for players in custom games
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_nodeand 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:
body:1