Dota 2 Map Entities: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 116: | Line 116: | ||
: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>body:1</code> | :In order to show up correctly you have to add following Key:'''Value:''' <code>body:1</code> | ||
[[Category:Dota 2 Workshop Tools]] | |||
Revision as of 03:14, 29 October 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 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 aswell.
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 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_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