Monday, March 11, 2013

Dawn of War II - Getting Wargear using the Console

(Click here for a list of all our posts on Dawn of War II.)

This post steps you through activating the console and using it to get specific wargear during a mission.
  • Edit the shortcut to launch the game to add the -dev switch after DOW2.EXE.
    • Here, you can also use the -nomovies switch if you want to skip all the trademark and intro movies.
    • During a mission, open the console by pressing the tilde key ( ~ )
  • Type in this command.
World_DropWargearAtPosition(Game_GetLocalPlayer(), "(wargear name here)", Misc_GetCameraPos())
    • This causes one unit of wargear to drop where your game camera is located. You should see it near the bottom of your screen. You will need to replace "(wargear name here)" with the path and filename of the wargear. For example, "wargear\\wargear\\campaign\\playable\\race_marine\\sm_acc_frag_grenade_packveterans_grenades" gives you the Master-Crafted Grenades.
    • You can also paste a line from the Windows clipboard by typing it elsewhere first (e.g., in Notepad), then highlighting it and pressing Ctrl-C to copy to clipboard. Then just Ctrl-V to paste.


2 comments:

  1. World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_expendable_tome_of_health_all", Misc_GetCameraPos())
    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_expendable_tome_of_ranged_all", Misc_GetCameraPos())
    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_expendable_tome_of_strength_all", Misc_GetCameraPos())
    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_expendable_tome_of_energy_all", Misc_GetCameraPos())
    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_expendable_xp_booster_all", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_acc_redemption_seal_l24_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_acc_purity_seal_x10", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_arm_terminator_armour_l26_legendary_pure", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_arm_terminator_armour_l28_legendary_avitus", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_power_armour_librarian_l25_rare_pure", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_arm_scout_armour_l24_rare_pure", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_melee\\sm_wp2_powerfist_terminator_l21_x05", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_ranged\\sm_wp1_storm_bolter_l30_legendary_pure", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_ranged\\sm_wp1_storm_bolter_l20_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_ranged\\sm_wp1_staff_librarian_l30_epic_pure", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_ranged\\sm_wp1_bolter_l30_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_arm_dreadnought_l28_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_melee\\sm_wp2_thunder_hammer_and_storm_shield_l26_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\weapons_ranged\\sm_wp1_dread_assault_cannon_l28_legendary", Misc_GetCameraPos())

    World_DropWargearAtPosition(Game_GetLocalPlayer(), "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\accessories\\sm_com_teleport_terminator_pack_l21_x05", Misc_GetCameraPos())

    ReplyDelete
  2. Thanks for the cut-and-paste for readers HMS!

    ReplyDelete