[Coding] Change Augment slots number, full equipment slots, agent's AP and Shield,...(and no need to download)


Recommended Posts

Tested  successfully  in  December  7th   2015

 

 

 

 

I've looking for mod augment in so many topic, and the most of them tell you to download their stupid 'scripts.zip' file, but the problem when you've download that is:

 

1. Your game cant open

 

2. Your game still play but it wont run Contingency Plan file.

Reason why? Because they're out of date file, that all!

 

Then, thanks to topic ask for Augment Slots of Gigadroid in mod Forum, now we can let our agents get the Augments as the number we want to!

 

30%: Gigadroid ask for help in topic

 

70%: My curious and my chiken coding skill

 

==> success

 

--------------------------------------------------------------------------------------------------------------------------------

 

Now, cheating time!

 

1. Backup your own Scripts.zip file into another folder.

 

2. Open your scripts.zip file in invisible, inc the contigency plan folder.

 

3. Open Sim folder.

 

4. Open unitdefs folder.

 

5. Open agentdefs.lua file(suggest to use 'LUA EDITOR 2012').

 

7.(Chicken coding time!):

 

+ Cheat Augment number Slots:

 

A. Look from line 681 to line 717 is agent Sharp profile that Klei code for him and you also can see from next 36 line is Sharp Archive Version profile.

 

B. In line 708 code(and line 747 also, because they're all Sharp), they write:

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) { shields = 0, shieldsMax = 0, mp=8, mpMax = 8, augmentMaxSize=6 },

 

 

C. As you can see they just only type the 'shields = 0, shieldsMax = 0,'(I will tell you about this in the '+Extra' below') and  'augmentMaxSize=6' in Sharp profile, but they dont do that to the another agent profile, so our job is copy 'augmentMaxSize=6' into the other Agent Profile and rewrite number '6' to any number you 1!

 

D. Press Ctrl + S to Save the LUA file.

 

E. Winrar will ask you to update that file, click 'yes'.

 

F. Open your own game.

 

For example, in agent 'Internationale' profile, in the same form of Sharp code,but they only write:

(line 551)

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) { mp=8, mpMax = 8 },

 

And I rewrite that into this:

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) { mp=8, mpMax = 8, augmentMaxSize=91157 },

 

 

èHer max augments slots number now is 91157, of course, this is just the test number, in real no body can play long enough to put full 91157 augment slots.

 

One more thing, when you play game, they just show 8 available augments slots in the screen, but dont worry, the real number is belong to you, just keep install augments.

 

 

 

 

+ Cheat Max Inventory Slots:

 

Warning: 

 

- There are just have max 8 equipment slots, so this cheat just help player a small part: full inventory without being -1AP every turn.

 

- If you press more than 8, the game'll not run you(because it's error).

 

Now, let just keep going!

 

We still use the 'agentdefs.lua' file

 

A. Look down to line 984 of Central profile(you can see the same kind form in Mont3r profile, line 949), they write:

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) { inventoryMaxSize = 3, mp=8, mpMax=8, noUpgrade = true, central=true  },

 

B. Just like Sharp, they have the Special code word: 'inventoryMaxSize = 3', copy that to the agent profile you want and change number '3' to '8'.

 

C. Ctrl + S to save file.

 

D. Click 'Yes' to update Archive.

 

For this time example, we still use 'Mrs Internationale' 's code (line 551), we rewrite that line to this:

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) { inventoryMaxSize = 8, mp=8, mpMax = 8, augmentMaxSize=91157 },

 

 

èAnd now Internationale have 91157 augment slots and also can carry 8 equipment without being -1AP each turn.

 

 

 

 

+ Extra cheat(not necessary):

A. Agent can have Shield like high level guard: (just for fun)

 

Like I've said in the cheat augment slots, i'll tell you about 2 code word 'shields = 0, shieldsMax = 0,' in Sharp code line in agentdefs.lua file

 

Your work is very easy to do, just copy that code and paste to the agent profile you want, then change the number, save file, and final is update Archive!

 

Continue my example on Agent Internationale(still line 551), we'll have:

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) {  inventoryMaxSize = 8, shields = 13, shieldsMax = 13, mp=8, mpMax = 8, augmentMaxSize=91157 },

 

èNow She have 91157 augment slots, full inventory slots, and have Shield level 13(for fun) like High Level Guard.

 

But warning for you, this is just for fun to look not to play, if you show off the agent face to the guard, they'll shoot your agent dead.

 

After all, the Shield it's just for fun, so you dont need to take this cheat, useless anyway.

 

B.Agent can have number of AP as you want to:

 

Just do like the previous step, but now, just need to change the numbers.

(still line 551): 

 

traits = util.extend( commondefs.DEFAULT_AGENT_TRAITS ) {  inventoryMaxSize = 8, shields = 13, shieldsMax = 13, mp=180, mpMax = 180, augmentMaxSize=91157 },

 

To change Agent AP Number, I change 'mp' and 'mpMax' number from '8'(original) to 180(just for test).

 

èNow Internationale have 91157 augment slots, 8 equipment slots, 180 AP per turn(WOW!)

 

But warning: This cheat will make your game being boring, so my advise is don’t change this… to much! Or just Don’t take this cheat too!

 

 

 

C. Bring Cheat to the mod Agent:

 

+ As you know, there are 2 popular mod agent now, is Mist and dr.Predler. If you’re buy Invisible, Inc + The Contingency Plan in Steam Store, you just need to subcrib the mod to download it and they’ll automicly place the file for you, but if you don’t have money, you have to download crack version from the internet, but where to subcrib to take those ‘bloody’ mod’? I’ll tell you right now, because I am using crack version too (Please Forgive me, Klei Ent., you left me no choice, why don’t just set the game in free price, and if you want to have money, just program the daily reward access screen to your server, so that you can have money, and we can have what we want, good for both side):

 

1.       Go to this website: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjoifXgxcvJAhUEkpQKHdOqAnoQFggdMAA&url=http%3A%2F%2Fforums.kleientertainment.com%2Ftopic%2F54403-master-modlist%2F&usg=AFQjCNGUmV65O9zvtRZT3ADiWB1HI8OJog&sig2=v2HqpUDEgSshsPs8BeA1Uw

 

2.       Download the mod file you want.

 

3.       Open Your Invisible, Inc folder, Make New Folder, name it: mods.

 

4.       Extract your mod zip into the ‘mods’ file you just create.

 

5.       Now go to mods folder, click at ‘the mod foder you’ve extract’, there’s a zip named ‘scripts’ too, enter it.

 

 

Now for example, I got Dr.Pedler folder(this is the mod character, not the original) in ‘mods folder’:

 

1.       Scriptsàagentdefs.luaàline 62(this is just for Dr.Pedler only)àchange the number and information like we’ve done with Internationale’s profile(augments, inventory slots, AP,…).

 

2.       Save LUA file.

 

3.       Click ‘yes’ to update archive.

 

4.       And play normal.

 

And you can also do this with agent Mist if you like.

 

 

Warning: This is the instruction for people who don’t know how take mod characters, if you know how to mod, don’t read this part of this post.

 

 

 

D. Development Cheat(the craziest cheat,the most boring):

 

1. Open the Invisible, Inc.

 

2. Open Main.Lua file.

 

3. Go Down To Line 41, you’ll see they write: ’DEV = false,’.

 

4. Rewrite the word ‘false’ to ‘true’.

 

5. Save file.

 

6. Open game, press Ctrl + backquote(`).

 

 

è The development cheat table is appear, so many funny things, but they’ll make you fell bore after an hour of cheating.

 

èMy advise is not to take this cheat, just leave the DEV in ‘False”.

 

 

You can also change the game time right in the Main.Lua, but once again, I think you shouldn’t try this, if want to fell fun for few hour, fine, no prob, just change.

 

 

 

 

 

 

Have Nice Hacking Days.

 

 

 

Oh, almost forgot,if any body know how to change the number of ammo and item cooldown, please post that in the comment box below, thank you very much.

post-735091-0-56904500-1449568093_thumb.

post-735091-0-85269400-1449568096_thumb.

post-735091-0-91019300-1449568100_thumb.

post-735091-0-28245900-1449568108_thumb.

post-735091-0-55886600-1449568115_thumb.

post-735091-0-24734100-1449568123_thumb.

post-735091-0-48701000-1449568130_thumb.

post-735091-0-39476200-1449568133_thumb.

post-735091-0-72135000-1449568147_thumb.

Link to comment
Share on other sites

Oh, I'm forgot again. To change agents in the contingency plan downloadable content(Olvia, Derek, Draco, Rush), you just need to:


 


1. Open Invisible Inc Contingency Plan folder.


 


2. Open 'dlc' folder -> Open 'dlc1' folder


 


3. Open that folder own 'scripts.zip' file.


 


4. Open agentdefs.lua file.


 


5. Look down to the code line with the same form as the Example of Agent Internationale in upstair topic.


 


6. Now, change their profile like i've show you in the previous step.


 


 


 


Have Nice Hacking Days


post-735091-0-07907800-1449631109_thumb.

post-735091-0-33667200-1449631117_thumb.

post-735091-0-34798400-1449631125_thumb.

post-735091-0-88465000-1449631133_thumb.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.