INSOMNIA: The Ark

INSOMNIA: The Ark

View Stats:
BowShatter Jul 13, 2021 @ 8:28am
Modding IS Possible! Example here
After messing around with a tool quickbms mentioned in wasteland_ghost's Insomnia Game Controls and Remapping Guide here:

https://steamcommunity.com/sharedfiles/filedetails/?id=1529392710

I managed to create a tiny mod editing cigarettes to be extremely lethal to the player, from 10% to 90% damage.

https://youtu.be/XSWBpax_gr0

Imagine the possibilites! I'm wondering if there are players still interested for me to make a guide on how to do this.
< >
Showing 1-15 of 21 comments
Wise Primate Jul 13, 2021 @ 12:14pm 
I recently found a cheat table for a tool called "Cheat Engine" that allows infinite health and could keep the hunger and thirst values as zero forever, and it could keep the Somnia status as zero forever. That cheat table allows editing any item in the inventory to keep its durability perfect, and could increase the amount of the item, so I could have infinite bullets and money. And it allows me to increase the number of points I have to improve the traits of my character, so I could maximize all of the traits easily. It was made by a person who was playing version 1.6, but I tried it and it works for version 1.7 of this game.

That cheat table didn't include an "infinite stamina" feature, so I wasted hours by scanning the game until I finally found the correct "pointer" variable that I could use to enable infinite stamina, so I could hold "Shift" to run forever.

I played this game twice and I didn't cheat. If I play again, I probably still won't cheat EXCEPT to have infinite stamina (to avoid waiting until I could run again).

I extracted the contents of the "PAK" file of the game to remove some files. I removed the invisible overlapping save-point that automatically created an auto-save every time I walked across various spots of the "Square of Glory" area. I hate those auto-saves. And I removed some unimportant background characters from the "Reservation D-106" location to increase the frame-rate of that area. And I removed the slight wobbles of the camera that happen while walking or running. And I removed a poster that says "Spider Show" because I hate seeing insects. And I removed an animation called "idle_talk2" because it seems broken. Maybe it's not broken for other people, but my computer makes it appear strangely.

Then I repackaged the remaining contents as a new "PAK" file.

I noticed that the camera became tilted slightly-downward when I moved my mouse downward accidentally. I hate that problem. I want the camera to stay tilted upward forever. The upward tilt this game allows is very slight, but the difference is very noticeable while viewing objects that are very far away. To solve the problem, I created a script with a program called "AutoHotkey" that forces the camera to stay aimed as far upward as the game allows.
Last edited by Wise Primate; Jul 13, 2021 @ 5:47pm
BowShatter Jul 13, 2021 @ 6:35pm 
Yeah I knew about Cheat Engine but the stuff I want to change requires editing the pak.

Since you managed to remove the save-points, do you think it is possible to remove the combat restrictions in safe areas?

And yeah I did the repackaging thing too, but it was a bit confusing at first how it was needed to be done.
BowShatter Jul 13, 2021 @ 10:58pm 
Update: I was able to get weapons locked out from the player by adjusting their lootable chance to 100%. For example, I could even get the Security Bots' weapons which has a really strange FOV when aiming.
Wise Primate Jul 14, 2021 @ 5:40am 
Originally posted by BowShatter:
Since you managed to remove the save-points, do you think it is possible to remove the combat restrictions in safe areas?

I don't know. If you could use weapons in safe areas, you probably still couldn't kill the characters of those areas. They're probably marked as invincible.

Do you know a way to obtain the text of the speech of the unimportant characters? I mean the phrases that appear above their heads.
Last edited by Wise Primate; Jul 14, 2021 @ 5:50am
BowShatter Jul 14, 2021 @ 7:02pm 
Actually quite a good number of them aren't invulnerable. If you somehow manage to get Morakh guys aggro onto the citizens or guards, they will kill each other.

Also, I found out what's causing the combat restrctions, it is an object called ProhibitionVolume in areas, with Mod_Prohibitions that list what is restricted in the area, such as companions, roll, crouch, hit, holdweapon etc.

I have not figured out how to get hold of the text speech by environmental NPCs but I will let you know if I do.
BowShatter Jul 15, 2021 @ 4:23am 
Well, I've done it. I managed to remove combat restrictions. I can now freely attack anyone which isn't strictly allied to the hero faction in the Vulture's Nest. Surprisingly, some of them dropped unique items and even a quest-related one (movie ticket).
BowShatter Jul 15, 2021 @ 4:34am 
I found where to obtain the environment dialogue / speech you were asking about. It is found under the following file path: /Game/Particular/Quests/Common/SmalltalkSets

However, it should be noted that you can't edit them (it won't save when correctly using Asset Editor or similar tool) and they all appear in Russian.

Sent you a friend request if you want to talk more about modding.
Leonard Hug Jul 15, 2021 @ 10:55pm 
I tried to use the unpacked game files to run through the UE 4 Editor, but it indicated a version mismatch. I tried both the latest version of UE 4 and the earlier one specified in the Insomnia_v2-Win64-Shipping file

I also tried to find the names of items in the files and found the location of common items, books, ammunition, recipes, medicines and other things, but I could not find the names of weapons and armor
BowShatter Jul 16, 2021 @ 12:37am 
Weapons are generally found in: Insomnia_v2\Content\Particular\Arm

Armors are here: Insomnia_v2\Content\Particular\Avatar\Man\Male
Leonard Hug Jul 16, 2021 @ 2:02am 
I found objects from these folders, they cannot be added using the console. Apparently, the names of the files in these folders are not identifiers of objects in the game, unlike other items.
BowShatter Jul 16, 2021 @ 2:20am 
Yeah I'm not sure how to find the objects ids too. If you check certain IDs in the tables, you will see pointers and links to objects not found in the unpackaged files. I assume you are trying to spawn some items, weapons and armors not normally obtainable?
Leonard Hug Jul 16, 2021 @ 2:26am 
I am experimenting with adding items that cannot be obtained at this stage of the game. I found that some of the filenames from Insomnia_v2\Content\Particular\Arm\WeaponBluePrints are object IDs like Range_Rifle_t4, but the neighboring filenames don't work like Range_Rifle_t-6Sniper
BowShatter Jul 16, 2021 @ 2:30am 
I see. Inconsistent naming conventions I guess.
Leonard Hug Jul 16, 2021 @ 2:32am 
It is not possible to add any item of clothing or armor at all
BowShatter Jul 16, 2021 @ 2:34am 
By using the spawn command? I think the issue with clothing or armor is that they don't have a model when dropped onto the ground.
< >
Showing 1-15 of 21 comments
Per page: 1530 50