要想获得完全的测试体验:

  1. 创建房间时,服务器选择“本地主机”,或使用斧王岛(不推荐)
  2. 勾选“允许作弊”
  3. 进入游戏后第一时间在控制台输入sv_cheats 1

在聊天框输入的命令

  • -gold xxx:获得xxx金钱
  • -lvlup xx:升xx级
  • -lvlmax:升到满级,技能自动学满
  • -levelbots xx:所有机器人提升xx级、
  • -wtf:技能无冷却、无耗蓝
  • -unwtf:关闭wtf模式
  • -refresh:刷新状态和所有技能CD
  • -respawn:复活
  • -item xx:获得xx物品
  • -createhero xxx:创建一个友方xxx英雄
  • -createhero xxx enemy:创建一个敌方xxx英雄
  • -givebots xx:所有机器人获得xx物品
  • -startgame:开始游戏,出兵
  • -spawncreeps:立刻产生一波小兵
  • -spawnneutrals:立刻产生一波野怪
  • -spawnrune:立刻刷新一波神符,包括赏金神符和强化神符
  • -disablecreepspawn:禁止产生小兵
  • -enablecreepspawn:恢复产生小兵
  • -killwards:摧毁所有
  • -allvision:双方阵营共享视野
  • -normalvision:视野恢复正常
  • -trees:刷新树木

在控制台输入的命令

  • dota_camera_distance xxx:将视角高度设置为xxx(默认为1134)
  • dota_daynightcycle_pause:暂停日夜交替
  • dota_daynightcycle_toggle:输入一次命令交替一次日夜
  • dota_easybuy ? :问号处填入数字,默认0。设置为1后开启快速购买模式,所有物品免费,购买物品全图并且没有商店限制,并且可以为其他单位购买物品
  • dota_hero_god_mode ?:问号处填入数字,默认0。设置为1后开启无敌模式,英雄不会受到伤害
  • dota_launch_custom_game xxx:进入xxx文件夹内的自定义游戏
  • dota_neutral_spawn_interval xx:每隔xx秒刷新一波野怪,默认为60
  • dota_range_display xxx:显示一个范围为xxx的圈
  • dota_respawn_roshan:刷新Roshan
  • dota_workshoptest ?:问号处填入数字,默认0。设置为1后开启测试模式(需先在控制台输入map dota进入地图)
  • ent_text:显示被选中单位的调试信息(如移动速度、modifier等)
  • ent_setpos aaa xxx yyy zzz:将ID为aaa的单位传送到三维坐标为(xxx,yyy,zzz)的地点(ID需要通过ent_text查询,通常为一个三位数字)
  • fow_client_visibility ?:该命令用来控制战争迷雾的可见性,问号处填入数字,默认0。值为1时无战争迷雾,值为2时战争迷雾布满地图
  • dota_minimap_draw_fow ?:问号处填入数字,默认1。设置为0后小地图上不显示战争迷雾,地形总是清晰可见
  • host_timescale xxx:xxx填入数字,默认为1.0,xxx为游戏速度倍率,最小为0.01
  • hud_toggle_visibility:输入此命令来隐藏所有HUD显示,再次输入命令后恢复
  • map dota:在离线模式下进入地图(配合dota_workshoptest 1使用可以以本地主机做服务器进行测试)

物品代码

基础物品

物品 代码
item_aegis
item_courier
item_boots_of_elves
item_belt_of_strength
item_blade_of_alacrity
item_blades_of_attack
item_blight_stone
item_blink
item_boots
item_bottle
item_broadsword
item_chainmail
item_cheese
item_circlet
item_clarity
item_claymore
item_cloak
item_demon_edge
item_dust
item_eagle
item_enchanted_mango
item_energy_booster
item_faerie_fire
item_flying_courier
item_gauntlets
item_gem
item_ghost
item_gloves
item_flask
item_helm_of_iron_will
item_hyperstone
item_infused_raindrop
item_branches
item_javelin
item_magic_stick
item_mantle
item_mithril_hammer
item_lifesteal
item_mystic_staff
item_ward_observer
item_ogre_axe
item_orb_of_venom
item_platemail
item_point_booster
item_quarterstaff
item_quelling_blade
item_reaver
item_refresher_shard
item_ring_of_health
item_ring_of_protection
item_ring_of_regen
item_robe
item_relic
item_sobi_mask
item_ward_sentry
item_shadow_amulet
item_slippers
item_smoke_of_deceit
item_staff_of_wizardry
item_stout_shield
item_talisman_of_evasion
item_tango
item_tome_of_knowledge
item_tpscroll
item_ultimate_orb
item_vitality_booster
item_void_stone
item_wind_lace
item_crown
item_ring_of_tarrasque

升级物品

物品 代码 卷轴代码
item_abyssal_blade item_recipe_abyssal_blade
item_aeon_disk item_recipe_aeon_disk
item_aether_lens item_recipe_aether_lens
item_ultimate_scepter item_recipe_ultimate_scepter
item_arcane_boots item_recipe_arcane_boots
item_armlet item_recipe_armlet
item_assault item_recipe_assault
item_bfury item_recipe_bfury
item_black_king_bar item_recipe_black_king_bar
item_blade_mail item_recipe_blade_mail
item_bloodstone item_recipe_bloodstone
item_bloodthorn item_recipe_bloodthorn
item_travel_boots_# (1-2) item_recipe_travel_boots
item_bracer item_recipe_bracer
item_buckler item_recipe_buckler
item_butterfly item_recipe_butterfly
item_crimson_guard item_recipe_crimson_guard
item_lesser_crit item_recipe_lesser_crit
item_greater_crit item_recipe_greater_crit
系列 item_dagon_# (1-5) item_recipe_dagon
item_desolator item_recipe_desolator
item_diffusal_blade item_recipe_diffusal_blade
item_dragon_lance item_recipe_dragon_lance
item_ancient_janggo item_recipe_ancient_janggo
item_echo_sabre item_recipe_echo_sabre
item_ethereal_blade item_recipe_ethereal_blade
item_cyclone item_recipe_cyclone
item_skadi item_recipe_skadi
item_force_staff item_recipe_force_staff
item_glimmer_cape item_recipe_glimmer_cape
item_guardian_greaves item_recipe_guardian_greaves
item_hand_of_midas item_recipe_hand_of_midas
item_headdress item_recipe_headdress
item_heart item_recipe_heart
item_heavens_halberd item_recipe_heavens_halberd
item_helm_of_the_dominator item_recipe_helm_of_the_dominator
item_hood_of_defiance item_recipe_hood_of_defiance
item_hurricane_pike item_recipe_hurricane_pike
item_kaya item_recipe_kaya
item_sphere item_recipe_sphere
item_lotus_orb item_recipe_lotus_orb
item_maelstrom item_recipe_maelstrom
item_magic_wand item_recipe_magic_wand
item_manta item_recipe_manta
item_mask_of_madness item_recipe_mask_of_madness
item_medallion_of_courage item_recipe_medallion_of_courage
item_mekansm item_recipe_mekansm
item_meteor_hammer item_recipe_meteor_hammer
item_mjollnir item_recipe_mjollnir
item_monkey_king_bar item_recipe_monkey_king_bar
item_moon_shard item_recipe_moon_shard
item_necronomicon_# (1-3) item_recipe_necronomicon
item_null_talisman item_recipe_null_talisman
item_nullifier item_recipe_nullifier
item_oblivion_staff item_recipe_oblivion_staff
item_octarine_core item_recipe_octarine_core
item_orchid item_recipe_orchid
item_pers item_recipe_pers
item_phase_boots item_recipe_phase_boots
item_pipe item_recipe_pipe
item_power_treads item_recipe_power_treads
item_radiance item_recipe_radiance
item_rapier item_recipe_rapier
item_refresher item_recipe_refresher
item_ring_of_basilius item_recipe_ring_of_basilius
item_rod_of_atos item_recipe_rod_of_atos
item_sange item_recipe_sange
item_sange_and_yasha item_recipe_sange_and_yasha
item_satanic item_recipe_satanic
item_sheepstick item_recipe_sheepstick
item_invis_sword item_recipe_invis_sword
item_shivas_guard item_recipe_shivas_guard
item_silver_edge item_recipe_silver_edge
item_basher item_recipe_basher
item_solar_crest item_recipe_solar_crest
item_soul_booster item_recipe_soul_booster
item_soul_ring item_recipe_soul_ring
item_spirit_vessel item_recipe_spirit_vessel
item_tranquil_boots item_recipe_tranquil_boots
item_urn_of_shadows item_recipe_urn_of_shadows
item_vanguard item_recipe_vanguard
item_veil_of_discord item_recipe_veil_of_discord
item_vladmir item_recipe_vladmir
item_wraith_band item_recipe_wraith_band
item_yasha item_recipe_yasha
item_kaya_and_sange item_recipe_kaya_and_sange
item_yasha_and_kaya item_recipe_yasha_and_kaya
item_holy_locket item_recipe_holy_locket

中立物品

物品 代码
item_elixer
item_keen_optic
item_poor_mans_shield
item_iron_talon
item_ironwood_tree item_recipe_ironwood_tree
item_royal_jelly
item_mango_tree
item_ocean_heart
item_broom_handle
item_trusty_shovel
item_faded_broach
item_arcane_ring
item_grove_bow
item_vampire_fangs
item_ring_of_aquila
item_pupils_gift
item_imp_claw
item_philosophers_stone
item_nether_shawl
item_dragon_scale
item_essence_ring
item_vambrace(力量) item_recipe_vambrace
item_clumsy_net
item_helm_of_the_undying
item_repair_kit
item_craggy_coat
item_greater_faerie_fire
item_quickening_charm
item_mind_breaker
item_spider_legs
item_enchanted_quiver
item_paladin_sword
item_orb_of_destruction
item_third_eye
item_titan_sliver
item_witless_shako
item_timeless_relic
item_spell_prism
item_princes_knife
item_flicker
item_spy_gadget
item_ninja_gear
item_illusionsts_cape
item_havoc_hammer
item_panic_button
item_the_leveller
item_minotaur_horn
item_force_boots
item_desolator_2
item_phoenix_ash
item_seer_stone
item_mirror_shield
item_fusion_rune
item_apex
item_ballista
item_woodland_striders
item_recipe_trident
item_demonicon
item_fallen_sky item_recipe_fallen_sky
item_pirate_hat
item_ex_machina

英雄代码

英雄 代码
npc_dota_hero_abaddon
npc_dota_hero_alchemist
npc_dota_hero_antimage
npc_dota_hero_ancient_apparition
npc_dota_hero_arc_warden
npc_dota_hero_axe
npc_dota_hero_bane
npc_dota_hero_batrider
npc_dota_hero_beastmaster
npc_dota_hero_bloodseeker
npc_dota_hero_bounty_hunter
npc_dota_hero_brewmaster
npc_dota_hero_bristleback
npc_dota_hero_broodmother
npc_dota_hero_centaur
npc_dota_hero_chaos_knight
npc_dota_hero_chen
npc_dota_hero_clinkz
npc_dota_hero_rattletrap
npc_dota_hero_crystal_maiden
npc_dota_hero_dark_seer
npc_dota_hero_dark_willow
npc_dota_hero_dazzle
npc_dota_hero_death_prophet
npc_dota_hero_disruptor
npc_dota_hero_doom_bringer
npc_dota_hero_dragon_knight
npc_dota_hero_drow_ranger
npc_dota_hero_earth_spirit
npc_dota_hero_earthshaker
npc_dota_hero_elder_titan
npc_dota_hero_ember_spirit
npc_dota_hero_enchantress
npc_dota_hero_enigma
npc_dota_hero_faceless_void
npc_dota_hero_grimstroke
npc_dota_hero_gyrocopter
npc_dota_hero_huskar
npc_dota_hero_invoker
npc_dota_hero_wisp
npc_dota_hero_jakiro
npc_dota_hero_juggernaut
npc_dota_hero_keeper_of_the_light
npc_dota_hero_kunkka
npc_dota_hero_legion_commander
npc_dota_hero_leshrac
npc_dota_hero_lich
npc_dota_hero_life_stealer
npc_dota_hero_lina
npc_dota_hero_lion
npc_dota_hero_lone_druid
npc_dota_hero_luna
npc_dota_hero_lycan
npc_dota_hero_magnataur
npc_dota_hero_mars
npc_dota_hero_medusa
npc_dota_hero_meepo
npc_dota_hero_mirana
npc_dota_hero_morphling
npc_dota_hero_monkey_king
npc_dota_hero_naga_siren
npc_dota_hero_furion
npc_dota_hero_necrolyte
npc_dota_hero_night_stalker
npc_dota_hero_nyx_assassin
npc_dota_hero_ogre_magi
npc_dota_hero_omniknight
npc_dota_hero_oracle
npc_dota_hero_obsidian_destroyer
npc_dota_hero_pangolier
npc_dota_hero_phantom_assassin
npc_dota_hero_phantom_lancer
npc_dota_hero_phoenix
npc_dota_hero_puck
npc_dota_hero_pudge
npc_dota_hero_pugna
npc_dota_hero_queenofpain
npc_dota_hero_razor
npc_dota_hero_riki
npc_dota_hero_rubick
npc_dota_hero_sand_king
npc_dota_hero_shadow_demon
npc_dota_hero_nevermore
npc_dota_hero_shadow_shaman
npc_dota_hero_silencer
npc_dota_hero_skywrath_mage
npc_dota_hero_slardar
npc_dota_hero_slark
npc_dota_hero_sniper
npc_dota_hero_spectre
npc_dota_hero_spirit_breaker
npc_dota_hero_storm_spirit
npc_dota_hero_sven
npc_dota_hero_techies
npc_dota_hero_templar_assassin
npc_dota_hero_terrorblade
npc_dota_hero_tidehunter
npc_dota_hero_shredder
npc_dota_hero_tinker
npc_dota_hero_tiny
npc_dota_hero_treant
npc_dota_hero_troll_warlord
npc_dota_hero_tusk
npc_dota_hero_abyssal_underlord
npc_dota_hero_undying
npc_dota_hero_ursa
npc_dota_hero_vengefulspirit
npc_dota_hero_venomancer
npc_dota_hero_viper
npc_dota_hero_visage
npc_dota_hero_warlock
npc_dota_hero_weaver
npc_dota_hero_windrunner
npc_dota_hero_winter_wyvern
npc_dota_hero_witch_doctor
npc_dota_hero_skeleton_king
npc_dota_hero_zuus

其他单位

单位 代码
夜魇近战兵 npc_dota_creep_badguys_melee
夜魇近战高级兵 npc_dota_creep_badguys_melee_upgraded
夜魇近战超级兵 npc_dota_creep_badguys_melee_upgraded_mega
夜魇远程兵 npc_dota_creep_badguys_ranged
夜魇远程高级兵 npc_dota_creep_badguys_ranged_upgraded
夜魇远程超级兵 npc_dota_creep_badguys_ranged_upgraded_mega
夜魇攻城单位 npc_dota_badguys_siege
夜魇高级攻城单位 npc_dota_badguys_siege_upgraded
夜魇超级攻城单位 npc_dota_badguys_siege_upgraded_mega
天辉近战兵 npc_dota_creep_goodguys_melee
天辉高级近战兵 npc_dota_creep_goodguys_melee_upgraded
天辉超级近战兵 npc_dota_creep_goodguys_melee_upgraded_mega
天辉远程兵 npc_dota_creep_goodguys_ranged
天辉高级远程兵 npc_dota_creep_goodguys_ranged_upgraded
天辉超级远程兵 npc_dota_creep_goodguys_ranged_upgraded_mega
天辉攻城单位 npc_dota_goodguys_siege
天辉高级攻城单位 npc_dota_goodguys_siege_upgraded
天辉超级攻城单位 npc_dota_goodguys_siege_upgraded_mega
建筑物
夜魇遗迹 npc_dota_badguys_fort
夜魇其它建筑 npc_dota_badguys_filler
夜魇上路近战兵营 npc_dota_badguys_melee_rax_top
夜魇中路近战兵营 npc_dota_badguys_melee_rax_mid
夜魇下路近战兵营 npc_dota_badguys_melee_rax_bot
夜魇上路远程兵营 npc_dota_badguys_range_rax_top
夜魇中路远程兵营 npc_dota_badguys_range_rax_mid
夜魇下路远程兵营 npc_dota_badguys_range_rax_bot
夜魇第#层上塔 npc_dota_badguys_tower#_top (1-3)
夜魇第#层中塔 npc_dota_badguys_tower#_mid (1-3)
夜魇第#层下塔 npc_dota_badguys_tower#_bot (1-3)
夜魇第四层防御塔 npc_dota_badguys_tower4
天辉遗迹 npc_dota_goodguys_fort
天辉其它建筑 npc_dota_goodguys_filler
天辉上路近战兵营 npc_dota_goodguys_melee_rax_top
天辉中路近战兵营 npc_dota_goodguys_melee_rax_mid
天辉下路近战兵营 npc_dota_goodguys_melee_rax_bot
天辉上路远程兵营 npc_dota_goodguys_range_rax_top
天辉中路远程兵营 npc_dota_goodguys_range_rax_mid
天辉下路远程兵营 npc_dota_goodguys_range_rax_bot
天辉第#层上塔 npc_dota_goodguys_tower#_top (1-3)
天辉第#层中塔 npc_dota_goodguys_tower#_mid (1-3)
天辉第#层下塔 npc_dota_goodguys_tower#_bot (1-3)
天辉第四层防御塔 npc_dota_goodguys_tower4
泉水 dota_fountain
中立生物
头狼 npc_dota_neutral_alpha_wolf
半人马征服者 npc_dota_neutral_centaur_khan
半人马猎手 npc_dota_neutral_centaur_outrunner
黑暗巨魔召唤法师 npc_dota_neutral_dark_troll_warlord
魔能之魂 npc_dota_neutral_fel_beast
鬼魂 npc_dota_neutral_ghost
巨狼 npc_dota_neutral_giant_wolf
鹰身女妖侦察者 npc_dota_neutral_harpy_scout
鹰身女妖风暴巫师 npc_dota_neutral_harpy_storm
地狱熊怪 npc_dota_neutral_polar_furbolg_champion
地狱熊怪粉碎者 npc_dota_neutral_polar_furbolg_ursa_warrior
丘陵巨魔 npc_dota_neutral_dark_troll
丘陵巨魔狂战士 npc_dota_neutral_forest_troll_berserker
丘陵巨魔牧师 npc_dota_neutral_forest_troll_high_priest
狗头人 npc_dota_neutral_kobold
狗头人士兵 npc_dota_neutral_kobold_tunneler
狗头人长官 npc_dota_neutral_kobold_taskmaster
泥土傀儡 npc_dota_neutral_mud_golem
食人魔拳手 npc_dota_neutral_ogre_mauler
食人魔冰霜法师 npc_dota_neutral_ogre_magi
萨特放逐者 npc_dota_neutral_satyr_trickster
萨特窃神者 npc_dota_neutral_satyr_soulstealer
萨特苦难使者 npc_dota_neutral_satyr_hellcaller
豺狼人刺客 npc_dota_neutral_gnoll_assassin
枭兽 npc_dota_neutral_wildkin
枭兽撕裂者 npc_dota_neutral_enraged_wildkin
远古生物
远古黑蜉蝣 npc_dota_neutral_black_drake
远古黑龙 npc_dota_neutral_black_dragon
远古侍僧潜行者 npc_dota_neutral_prowler_acolyte
远古萨满潜行者 npc_dota_neutral_prowler_shaman
远古花岗石傀儡 npc_dota_neutral_granite_golem
远古岩石傀儡 npc_dota_neutral_rock_golem
远古岚肤兽 npc_dota_neutral_small_thunder_lizard
远古雷肤兽 npc_dota_neutral_big_thunder_lizard
Roshan npc_dota_roshan
召唤物
常规召唤物
动物信使 npc_dota_courier
豪猪 npc_dota_beastmaster_boar_# (1-4)
小末日使者 npc_dota_neutral_mud_golem_split_doom
次级精神体 npc_dota_lesser_eidolon
精神体 npc_dota_eidolon
巨型精神体 npc_dota_greater_eidolon
恐怖精神体 npc_dota_dire_eidolon
飞行信使 npc_dota_flying_courier
熔炉精灵 npc_dota_invoker_forged_spirit
大树人 npc_dota_furion_treant_large
战鹰 npc_dota_beastmaster_hawk_# (1-4)
精灵狼 npc_dota_lycan_wolf# (1-4)
死灵射手 npc_dota_necronomicon_archer_# (1-3)
死灵战士 npc_dota_necronomicon_warrior_# (1-3)
碎土傀儡 npc_dota_neutral_mud_golem_split
骷髅战士 npc_dota_dark_troll_warlord_skeleton_warrior
蜘蛛幼虫 npc_dota_broodmother_spiderling
蜘蛛寄生 npc_dota_broodmother_spiderite
树人 npc_dota_furion_treant
不朽僵尸 (行走) npc_dota_unit_undying_zombie
不死僵尸 (爬行) npc_dota_unit_undying_zombie_torso
英雄级单位
大地 npc_dota_brewmaster_earth_# (1-3)
火焰 npc_dota_brewmaster_fire_# (1-3)
熊灵 npc_dota_lone_druid_bear# (1-4)
风暴 npc_dota_brewmaster_storm_# (1-3)
佣兽 npc_dota_visage_familiar# (1-3)
地狱火 npc_dota_warlock_golem_# (1-3)
地狱火 (神杖升级) npc_dota_warlock_golem_scepter_# (1-3)
守卫
死亡守卫 npc_dota_witch_doctor_death_ward
冰封魔印 npc_dota_tusk_frozen_sigil# (1-4)
治疗守卫 npc_dota_juggernaut_healing_ward
地雷 npc_dota_techies_land_mine
群蛇守卫 npc_dota_shadow_shaman_ward_# (1-3)
幽冥守卫 npc_dota_pugna_nether_ward_# (1-4)
瘟疫守卫 npc_dota_venomancer_plague_ward_# (1-4)
能量齿轮 npc_dota_rattletrap_cog
灵能陷阱 npc_dota_templar_assassin_psionic_trap
遥控炸弹 npc_dota_techies_remote_mine
静滞陷阱 npc_dota_techies_stasis_trap
超新星 npc_dota_phoenix_sun
墓碑 npc_dota_unit_tombstone# (1-4)
侦查守卫 npc_dota_observer_wards
岗哨守卫 npc_dota_sentry_wards
虚拟/技能单位
星体游魂 npc_dota_elder_titan_ancestral_spirit
Base unit(基础单位) npc_dota_units_base
丛林之眼 npc_dota_treant_eyes
残焰 npc_dota_ember_spirit_remnant
追踪导弹 npc_dota_gyrocopter_homing_missile
疗伤营火 npc_dota_healing_campfire
雷区标识 npc_dota_techies_minefield_sign
等离子场 npc_dota_plasma_field
照明火箭 npc_dota_rattletrap_rocket
“斯拉克视觉效果” npc_dota_slark_visual
蛛网 npc_dota_broodmother_web
幽魂 npc_dota_wisp_spirit
残影 npc_dota_stormspirit_remnant
残岩 npc_dota_earth_spirit_stone
虫群 npc_dota_weaver_swarm
同伴 npc_dota_companion
Thinker npc_dota_thinker
旋风飞斧 npc_dota_troll_warlord_axe
野性之斧 npc_dota_beastmaster_axe
飓风 npc_dota_enraged_wildkin_tornado
0.0
0人评价
avatar