Take On Mars

Take On Mars

View Stats:
How to cheat items into the game?
So, my friend has this game and he is too busy, so I have to ask. Can I cheat items (give food) into Chapter 2 inventory?
< >
Showing 1-9 of 9 comments
Go here and look for the .script files and open with notepad or notepad++

<Drive Letter>:\Steam\SteamApps\common\Take On Mars\Scenarios\Campaign\Manned

or

<Drive Letter>:\Program Files(x86)\Steam\SteamApps\common\Take On Mars\Scenarios\Campaign\Manned


The missions are listed as follows: 0 - ISS, 1 - Waking up @ Crash site 2 - Moon in MDV...


Look for the following line:


bool GetCanDoControllerAction(int iID)
{
if (iID == AC_HUMAN_CHARACTERSWITCH)
return false; <---- Change to true (Change back to false for default)

if (iID == AC_VEHICLE && !IS_INTERNAL_BUILD)
return false; <---- Change to true (Change back to false for default)

return true;
}

Save the .script file and close it. Then run the developer exe (TKOM_dev.exe), start up the manned campaign, once you're in-game as the astronaut press 'F' for free-fly camera and then spacebar to open the editor to add anything into the game. The editor menu is on the left side.
Thanks, but I have a problem: I can't find "if (iID == AC_HUMAN_CHARACTERSWITCH)" line. Using search doesn't help
Originally posted by adam.PL:
Thanks, but I have a problem: I can't find "if (iID == AC_HUMAN_CHARACTERSWITCH)" line. Using search doesn't help

Ok. You can try one of two things here then. Either add in the missing line by looking at say mission 0's script file. (You can copy the 'if (iID == AC_HUMAN_CHARACTERSWITCH)' line from it.) or just change the one to 'true' and try the free-fly cam/editor while in-game.

But you'll probably have to add the line in and I would reccomend Notepad++ for proper formatting.
I triet both things listed by you. I was in developer's mode. I can't get to the free fly mode
Which mission? or which are you trying to edit?
Last edited by Mr. Monochrome [Hood Certified]; 27 Aug, 2017 @ 6:34am
Originally posted by Mr. Monochrome Hood Certified:
Which mission? or which are you trying to edit?
Mission 4. I am trying to get some water
Water can be find all over the crash site near debris or inside boxes (hold 'E' to open them). If you are collecting water for an objective you can still add the waterpack itself even if you've used water from it. Don't eat or drink unless you've got red icons on the right hand side of the screen.

Here is the script file for mission 4, just place it into the following directory making sure to backup the original/exisiting one first. I've made the edits so free-fly cam (F) and the editor will open (spacebar, after hitting 'F').

<Drive Letter>:\Steam\SteamApps\common\Take On Mars\Scenarios\Campaign\Manned

or

If your steam directory is in program files:

<Drive Letter>:\Program Files(x86)\Steam\SteamApps\common\Take On
Mars\Scenarios\Campaign\Manned

https://www.dropbox.com/s/skxzn1eurmdfl75/003_Mission_3.script?dl=0
Last edited by Mr. Monochrome [Hood Certified]; 8 Feb, 2018 @ 10:19am
In the manned scenario it's:

Hold both Alt then F for Free-fly Cam
Then 'Spacebar' for the editor

I just noticed my instructions for free-fly cam was wrong above. Probably why it wasn't working for you but the edits I explained are correct.
jarhead 2 Aug, 2018 @ 8:37am 
same topic (i think) is there a way to edit the save files for this?
or a way to get some food spawned into the world (after you have been playing for a while)?
< >
Showing 1-9 of 9 comments
Per page: 1530 50