PepprmintButler Posted November 8, 2012 Share Posted November 8, 2012 Nice find trolcia.Some of the commands described in there are not recognized or don't work as advertised though, I suspect the "documentation" is not up to date. I feel like we are still missing something, possibly the "console command window" as it's called in the changelist description. For now all help, list and other dumping commands return nothing although they should (no error in the log must mean that the commands themselves are recognized). I'm still looking for a way to show that missing window, any help appreciated. I noticed that AIdebugAI and showdebug are mutually exclusive, so bear that in mind when testing (you need to switch one off to see the other)AIdebugAI will show unit names (XGUnit_[number]) which are useful for manipulation (needed for named kill or teleport commands for ex). The class for both soldiers and aliens is XGUnit. Link to comment Share on other sites More sharing options...
trolcia Posted November 8, 2012 Share Posted November 8, 2012 (edited) Anything that may help in taking control of an alien or editing a soldier to be an alien? try this one verry funny especially if you swap sectopod.lol SwapTeamsOnNearestUnit - u can swap all teams Edited November 8, 2012 by trolcia Link to comment Share on other sites More sharing options...
Drakous79 Posted November 9, 2012 Share Posted November 9, 2012 (edited) When things go wrong and the console still works, try Exit command. AIDebugModifiers - enhanced AiDebugAi showing abilities and actionque info.AITextVerbose - adds lines to the above about AI behavior (it is mostly hunt even when falling back). http://i.imgur.com/VMVYZ.jpgXGUnit_0's abilities after run&gunObj Dump XGUnit_INT where INT is a number of the unit - dumps loads of info into the log, including team name (eTeam_XCom, eTeam_Alien; had no luck with ChangeTeam though). Is there any way of logging Showlog output to a file? Edited November 9, 2012 by Drakous79 Link to comment Share on other sites More sharing options...
PepprmintButler Posted November 9, 2012 Share Posted November 9, 2012 Good find on the dump. Only way I can think of to output the showlog content isthis, but it's very impractical... :confused: Link to comment Share on other sites More sharing options...
Drakous79 Posted November 9, 2012 Share Posted November 9, 2012 Thank you! Works fine :) Makes searching in the log easier, even if it is copy paste. Link to comment Share on other sites More sharing options...
deathlover2 Posted November 14, 2012 Share Posted November 14, 2012 Hi, there. I have found out that, for the LowerPanic command to work, the country must be entered with the first letter capped and the other in lower-case (i.e. Australia, not australia or AUSTRALIA). Has anyone found a command to takeover aliens (except SwapTeamsOnNearestUnit) ? Link to comment Share on other sites More sharing options...
Gurluas Posted November 14, 2012 Share Posted November 14, 2012 This needs an update for the latest patch btw. Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 True, but if you're familiar with doing changes in hex editor, here's how to. Sure, actually is a very simple change, here's my notes: Engine.upkClass Enginenative static final function bool IsRetailGame(); * Changed to return false instead of true XComGame.exe Changes:0x3C8F15 | 01 > 000X3C8F22 | 01 > 00 Before:003C8F10 | 44 24 08 C7 00 01 00 00 00 C2 08 00 8B 4C 24 08 003C8F20 | C7 01 01 00 00 00 C2 08 00 CC CC CC CC CC CC CC After:003C8F10 | 44 24 08 C7 00 00 00 00 00 C2 08 00 8B 4C 24 08 003C8F20 | C7 01 00 00 00 00 C2 08 00 CC CC CC CC CC CC CC I think it's a good idea to backup and delete you config/save files, at "Documents\My Games\XCOM - Enemy Unknown" Link to comment Share on other sites More sharing options...
Gurluas Posted November 14, 2012 Share Posted November 14, 2012 I am not well versed in hex editing :( Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2012 Share Posted November 14, 2012 (edited) But I bet you can use open file, search and replace, save. 1. Backup the exe file. 2. Get some hex editor like HxD, install, run it, File | Open the exe. 3. Time for changes. Search | Replace or CTRL+R, switch Datatype to Hex-values, tick Search direction all and input:Search for: 44 24 08 C7 00 01 00 00 00 C2 08 00 8B 4C 24 08 Replace with: 44 24 08 C7 00 00 00 00 00 C2 08 00 8B 4C 24 08Click Replace all. Should return: Replaced 1 ocurrences. Replace again:Search for: C7 01 01 00 00 00 C2 08 00 CC CC CC CC CC CC CC Replace with: C7 01 00 00 00 00 C2 08 00 CC CC CC CC CC CC CCClick Replace all. Should return: Replaced 1 ocurrences. Or you can just search for using CTRL+F, then hit F3 to make sure there are no more similar entries and change just one byte you see is different. 01 to 00. Edited November 25, 2012 by Drakous79 Link to comment Share on other sites More sharing options...
Recommended Posts