Darkest Hour: Europe '44-'45

Darkest Hour: Europe '44-'45

评价数不足
DH - Popular Console Commands
由 [Wyle] 和其他 2 人合作完成
A guide the lists out the popular console commands.
2
2
   
奖励
收藏
已收藏
取消收藏
Commands

Below is a collection of popular console commands that you can use in practice mode, and some on the live server. If i am missing an important command, please leave a comment below or message [Wyle]#1372 on discord.

DH Console Commands
Description
addbots <amount>
Adds Bots to the current game (they will not spawn on modern DH maps without then running the below command afterwards to manually forcespawn them).
spawnbots <team index> <amount> [distance]
<team index> is the team for which you want to spawn the bots (0 — Axis, 1 — Allies);
<amount> is the number of bots you want to add;
[distance] is the distance from player in meters (optional).
allammo
Gives inifinite ammo and removes the need to reload.
CaptureObj <Team:Int>
Captures a currently active objective (for the supplied team). Useful for debugging.
spawnvehicle
Spawns vehicles. See list below table.
fly
makes you fly… makes you slow too so increase the game speed.
ghost
same as fly, except allows you to no clip through physical objects and map boundaries
gimmesupplies
spawns a logi truck for additional supplies for you logistic nerds
give <>
Gives you specified weapon, for example gl or mp40
givecamera
use Q and E to zoom to change fov to fit photos
leavebody
Causes you to leave your body and spawn again… will leave your old body behind. Good for getting staged screenshots of infantry.
listplayers
Lists all player names and their ROIDs. Good for reporting bad behavior.
SetDangerZone <Enable:Bool>
Toggles the danger zone on and off. 0 = off, 1 = on. Good for exploring maps or events.
set input <key> <command> <parameter>
allows you to bind a key to a specific command E.G set input <pagedown> <slomo> <10> this would set the page down key to the slomo command which speeds up or slows down time, and set it to 10x normal speed.
Slomo <T:Float>
Sets the time dilation of the game logic, where a T of 1.0 is normal speed, 2.0 is twice normal speed, 0.5 is half normal speed etc. E.G. Slomo 2
DebugPenetration <bool>
Debug command for printing weapon and armor penetration information into the log (shows armor, slopes, effective armor and penetration characteristics of shells, shatter chance, etc.).
VehicleHitPointDebug
// New debug exec showing all vehicles' special hit points for engine (blue), ammo stores (red), & DHArmoredVehicle's extra hit points (gold for gun traverse/pivot, pink for periscopes)

Use VehicleTranslucent first.
VehicleTranslucent <optional boolrevert>
Makes vehicles translucent, which is helpful when used with VehicleHitPointDebug. This command only works on a vehicle you are currently an operator or passenger of (so enter the vehicle and then use the command). Additionally, <bool> for this command disables the transparency. To enable, enter just as VehicleTranslucent.
*note, when a command say <> or [], do not type that. The proper way to increase the game speed is below - no punctuation or symbols:

Slomo 2

*note, if a command says, <bool> replace with 0 for disabled, or 1 for enabled. For example, to enable debug penetration, type:

Debugpenetration 1


Vehicles for Spawnvehicle <> Command
(Edited:05/03/2023) Possible complete list can be found on the github page. vehicles are now able to be spawned in using their abbreviated name. E.G `spawnvehicle stuart` will spawn an m5 stuart

https://github.com/DarklightGames/DarkestHour/blob/master/DH_Engine/Classes/DHVehicleRegistry.uc

common vehicles that are spawned
  • is2
  • kingtiger
  • firefly
  • clowncar
  • jumbo
  • sdkfz251
  • t3485
  • m4a3
  • m4a3/76
  • sherman105
  • isu
  • capturedpanther
  • zveroboy
  • jagdtiger
Weapons for Give <> Command
Popular weapons for testing

  • bazooka
  • pfaust
  • gl
  • mg34
  • mg42
  • mp40
  • piat
  • PTRD
  • rpg
  • satchel
  • shrek

Complete list. Use the quoted name when referring to the weapon, eg 30cal not 30CalWeapon.

https://github.com/DarklightGames/DarkestHour/blob/master/DH_Engine/Classes/DHWeaponRegistry.uc

Names that are in brackets are synonymous with the same gun, there is just the ability in the registry for weapons to have multiple names, if you copy the non bracketed part you will still get the same gun

  • give 30cal (30c)
  • giveavt (avt40)
  • give bar
  • give bazooka
  • give bhp
  • give bren
  • give c96
  • give colt (1911)
  • give dp28
  • give enfield2 (webley)
  • give enfield (enfield4)
  • give enfield4scoped
  • give f1
  • give fg42
  • give g41
  • give g43
  • give g43scoped
  • give gl
  • give greasegun
  • give k98 (kar98)
  • give k98nohood
  • give k98scoped (kar98scoped)
  • give korovin
  • give grw42
  • give m1928-20
  • give m1928-30
  • give m1928-50 (m1928)
  • give carbine
  • give garand
  • give frag
  • give m2mortar
  • give m34
  • givem38
  • give m44
  • give m712 (schnellfeuer)
  • give mab (mab38)
  • give mg34
  • give mg42
  • give mills
  • give mosin
  • give mp38
  • give mp40
  • give mp41
  • give mp41r
  • give n1895 (sovrevolver) (m1895)
  • give p08 (luger)
  • give p38
  • give pfaust (panzerfaust)
  • give pschreck (panzerschreck)
  • give piat
  • give ppd40 (ppd)
  • give pps43 (pps)
  • give ppsh41 (ppsh)
  • give ppsh41stick (ppshstick)
  • give ptrd
  • give rpg43 (rpg)
  • give satchel
  • give springfield
  • give springfieldscoped
  • give sten (sten2) (stenmk2)
  • give stg (stg44) (mp44)
  • give stiel
  • give svt38
  • give svt40
  • give svt40scoped
  • give thompson (tommy)
  • give tt33 (tt)
  • give vis
  • give vk98 (vkar98)
  • give shotgun (1897) (winchester)
  • give binocs (binocs_us)
  • give binocs_ger
  • give binocs_sov
  • give radio
  • give shovel (shovel_us)
  • give shovel_ger
  • give shovel_sov
  • give wirecutters (snips)
  • give gersmoke (nb38) (nb) (nebel)
  • give orangesmoke
  • give parachute
  • give rdg (rdg1) ( sovsmoke)
  • give redsmoke
  • give smoke (ussmoke)
  • give m1a1 (carbinepara)
  • give m1t17 (t17)
  • give vg15
  • give barnobipod
  • give stenmk3 (sten3)
  • give stenmk2c (sten2c) (stenc)
  • give stenmk5 (sten5)
  • give mp3008
  • give m9bazooka (m9) (bazookam9)
  • give zb30 (zb)
  • give mp3008
  • give geratp
  • give stg44scoped (mp44scoped)
  • give mosinscopedpe (scopedmosinpe) (scopedmosinearly)
  • give bramit
  • give trenchmace
  • give bonemace
  • give grenademace
  • give wunderwaffe (geratp2)
  • give zf41 (k98zf41)
  • give vz24
  • give vz24scoped (vz24IOR)
  • give g98
  • give m1924
  • give mannlicher (m9530)
  • give m9531
  • give dt29
  • give mkb42 (mkb42h)
  • give fg42scoped (zfg42)
7 条留言
RasEli 6 月 20 日 下午 12:01 
i can add bots but they wont spawn in :(
MortarOperator 2024 年 6 月 26 日 上午 3:18 
Good, my favorite game:steamthis:
Neruel 2022 年 10 月 27 日 上午 4:29 
Console Give all
Alecto the gambler 2022 年 10 月 25 日 上午 8:02 
can we get an update on the vehicle spawn ids for stuff like the jadgpanther? and jadgtiger cause the gethub is just confusing thanks for the guide tho
Dreadnought 2022 年 9 月 7 日 下午 6:14 
god for godmode
Falcon 2022 年 8 月 19 日 下午 11:54 
Good shit, thanks for compiling these
SoulSeek 2022 年 8 月 19 日 下午 4:58 
Nice thx