branchbefore/main/ConsoleCommandscancel
10 Commits over 0 Days - ∞cph!
merging ConsoleCommands branch
trying out several player building placement logic tweaks:
-building rotation is now updated even if the placement is invalid (fixes buildings getting stuck in invalid state/rotation)
-building rotation should now be more reliable/steady when moving a building
-fixed buildings not updating their valid placement check when rotating
finish_build console command can now (mostly) finish building upgrades
added new Rally Group command to radial menu
teleport_all now directly accesses the selected unit
added a "teleport_to_position" command that teleports all units to the location the camera is currently looking at (use with free cam mode)
Two new console commands:
death_touch - pass true or false to enable death touch mode. When enabled all player controlled humans do 9999 damage
teleport_all - teleports all controlled humans to the position of the currently selected human (might expand with more teleporting options)
reworked god mode command to set unit health to it's max value any time it's not at that value
Added console command:
god_mode - pass true or false to enable/disable god mode. God mode stops player controlled units from dying (they can still take damage)
Two new console commands:
fill_stockpile - fills whatever stockpile is under the mouse cursor with the appropriate item
finish_build - finishes the construction process of whatever building is under the mouse cursor