|
|
Re: Semi-Success , and question re: working directory[message #277484]
|
Fri, 08 April 2011 03:06
|
|
MorgluM |
![](/images/ranks/private_1stclass.png) |
Messages:24
Registered:March 2004 Location: Qu |
|
|
lol...
I know this is a very naive way to be messing around, but here it goes:
Every time the enemy tries to punch/knife me, line 726 of "Strategic Mines.cpp" (INT32 PredictIncomeFromPlayerMines( BOOLEAN fIncludeFacilities )) gets called a few times.
Funny.
How I got there:
-I started a new campaign.
-Went to the first sector.
-CTRL-GABBI to enable cheats
-add lots of mercs (Alt-G) so I dont get wiped out.
-showed all soldiers (Alt-E)
-Killed all soldiers (Alt-O)
-Added 1 soldier next to my soldiers (Alt-B)
Then I put a breakpoint when the soldier attacks (Decide Action line 4380). Then I continue using F11, and when it choose "case AI_ACTION_KNIFE_MOVE:", it will soon go to the Strategic Mines.cpp ..
Report message to a moderator
|
Private 1st Class
|
|
|