BattleTech [Engine:Unity]

Upload your cheat tables here (No requests)
Post Reply
User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Fri Apr 27, 2018 11:43 pm

Info
  • The table enables Mono Data Collector, hooks the Update function in BattleTech.UI.CombatDebugHUD to fetch an instance pointer
  • A key handler listens to key presses and intercepts whether or not Numpad 0 has been pressed
How to use
  1. Run the game, target the process in Cheat Engine's Process List (BattleTech.exe)
  2. Activate the [ Enable ] script
  3. Activate the Cheat Handler script
  4. Go back in-game, press Numpad 0 and have a look at the screen
You should see something like this:



Image



Effects
  • reduced damage (all damage multipliers are set to normal value * 0.1f, so a tenth of the normal damage) from enemies
  • no pilot injuries
  • maximum mech weapon accuracy (accuracy modifiers reduced to normal value - 20.0f chance of missing; very rare chances your mech misses the target)
  • increased damage (damage per shot modifier is set to normal value * 10.0f, so times ten the normal damage)
Additional Info
Enjoy!
Attachments
BattleTech.CT
(4.3 KiB) Downloaded 63 times
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 9 times in total.

willdunz
Noobzor
Noobzor
Posts: 13
Joined: Sun Mar 12, 2017 6:02 pm
Reputation: 1

BattleTech [Engine:Unity]

Post by willdunz » Fri Apr 27, 2018 11:52 pm

FIRST thanks for the table
Last edited by willdunz on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

kanggg
Expert Cheater
Expert Cheater
Posts: 115
Joined: Wed Apr 19, 2017 12:27 pm
Reputation: 3

BattleTech [Engine:Unity]

Post by kanggg » Sat Apr 28, 2018 12:09 am

[S]Thank you, but I don't see any table.[/S] Everything's OK now. Thank you![S][/S]
Last edited by kanggg on Sat Apr 28, 2018 12:21 am, edited 1 time in total.

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Sat Apr 28, 2018 12:22 am

[QUOTE="willdunz, post: 43732, member: 1094"]FIRST thanks for the table[/QUOTE]

I prefer it this way :)



[img]https://i.imgur.com/C0E8sHp.png[/img]



[QUOTE="kanggg, post: 43736, member: 2899"]Thank you, but I don't see any table.[/QUOTE]



It's up now :P

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Sat Apr 28, 2018 1:32 am

[TABLE][TR][TH]Date[/TH]

[TH]Table Version[/TH]

[TH]Game Version[/TH]

[TH]Platform[/TH]

[TH]Notes[/TH][/TR]

[TR][TD]

28.04.2018

[/TD]

[TD]

1.1

[/TD]

[TD]

5.6.5.64727 (from EXE Properties/Details)

[/TD]

[TD]

Steam

[/TD]

[TD]

Added [B]ToggleFreeCamera[/B] and [B]ToggleSpeed[/B]

[/TD][/TR][/TABLE]

[B][U]Update #1[/U][/B]



[LIST]

[*]Some minor script fixes and missing/orphan entries (using [I]{$strict}[/I] now)

[*][B]Numpad 1[/B] now toggles [I]free camera[/I]; what this means if you will get a StarCraft feel of the game, without those frequent close-ups on attacks; [B]right-click[/B] allows you to control camera look

[*][B]Numpad 2[/B] now toggles [I]mech movement speed[/I]; what this does is to allow your bots to move fast across the map (animation is faster); affects enemy movement as well

[/LIST]

Till we get the attachment replacement mod, I will post these short updates with their tables as individual posts. Will merge them later in main post :p



Enjoy!
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 5 times in total.

damienhell
What is cheating?
What is cheating?
Posts: 3
Joined: Sat Apr 28, 2018 1:44 am
Reputation: 0

BattleTech [Engine:Unity]

Post by damienhell » Sat Apr 28, 2018 1:46 am

Hi, it works great.

Can you add money mod in it please :)

KS212
Expert Cheater
Expert Cheater
Posts: 294
Joined: Fri Mar 03, 2017 5:29 pm
Reputation: 11

BattleTech [Engine:Unity]

Post by KS212 » Sat Apr 28, 2018 2:03 am

This is interesting... Is this 'god mode' feature something already in the engine and simply locked away? Makes me wonder what other fun toys are hidden under the surface, hmmmm.... :P

TonganJedi
What is cheating?
What is cheating?
Posts: 1
Joined: Sat Apr 28, 2018 2:46 am
Reputation: 0

BattleTech [Engine:Unity]

Post by TonganJedi » Sat Apr 28, 2018 2:49 am

May I suggest putting those effects into their own activations so each one can be turned on or off (assuming that is feasible)?

AManlyMan
Noobzor
Noobzor
Posts: 8
Joined: Fri Mar 16, 2018 10:43 pm
Reputation: 0

BattleTech [Engine:Unity]

Post by AManlyMan » Sat Apr 28, 2018 2:52 am

Hello, thank you for the table. Just want to report that this is not working with the GOG version of the game. Causes the game to fail when cheat handler activates.

darkdex52
Cheater
Cheater
Posts: 40
Joined: Sun Apr 30, 2017 3:38 pm
Reputation: 0

BattleTech [Engine:Unity]

Post by darkdex52 » Sat Apr 28, 2018 2:59 am

Thanks for the tables. The only problem is there's no way to unload the cheat. God Mode persists through game exit/load. So if I need god mode for one mission, I guess I'm stuck with it forever.

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Sat Apr 28, 2018 3:12 am

[TABLE][TR][TH]Date[/TH]

[TH]Table Version[/TH]

[TH]Game Version[/TH]

[TH]Platform[/TH]

[TH]Notes[/TH][/TR]

[TR][TD]

28.04.2018

[/TD]

[TD]

1.2

[/TD]

[TD]

5.6.5.64727 (from EXE Properties/Details)

[/TD]

[TD]

Steam

[/TD]

[TD]

Added [B]AddFunds[/B] and [B]AddMorale[/B] functions to the handler

[/TD][/TR][/TABLE]

[B][U]Update #2[/U][/B]



[LIST]

[*][B]Numpad 3 [/B]will increase [B]Morale[/B] by [I]5[/I] points (can be changed in the table) with each key press

[*][B]Numpad 4[/B] will increase [B]Funds[/B] by [I]10000[/I] (can be changed in the table) with each key press

[/LIST]

All of the above works while here:



[IMG]https://i.imgur.com/Om4ahYG.png[/IMG]



Haven't tested if this works in-game (during in a mission). Just an FYI in case you report crashes :p (the [I]pSimGameState[/I] pointer might not be valid/updated while in a mission).



So:



[IMG]https://i.imgur.com/V2SW2Rw.png[/IMG]

[TABLE][TR][TD]



[CENTER][IMG]https://i.imgur.com/n9hg2qw.png[/IMG][/CENTER]



[/TD]

[TD]



[CENTER]+ [I]Numpad 3[/I] x 5 times ?[/CENTER]



[/TD]

[TD]



[CENTER][IMG]https://i.imgur.com/qSJl9EI.png[/IMG][/CENTER]



[/TD][/TR][/TABLE]



[IMG]https://i.imgur.com/AVDMPTW.png[/IMG]

[TABLE][TR][TD]



[CENTER][IMG]https://i.imgur.com/g8VPdsR.png[/IMG][/CENTER]



[/TD]

[TD]



[CENTER]+ [I]Numpad 4[/I] x 2 times ?[/CENTER]



[/TD]

[TD]



[CENTER][IMG]https://i.imgur.com/HmjlWL6.png[/IMG][/CENTER]



[/TD][/TR][/TABLE]

Enjoy!
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 2 times in total.

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Sat Apr 28, 2018 3:21 am

[QUOTE="damienhell, post: 43743, member: 16665"]Hi, it works great.

Can you add money mod in it please :)[/QUOTE]

Added both [B]Funds[/B] and [B]Morale[/B] in version 1.2 of the table.



[QUOTE="KS212, post: 43745, member: 426"]This is interesting... Is this 'god mode' feature something already in the engine and simply locked away? Makes me wonder what other fun toys are hidden under the surface, hmmmm.... :p[/QUOTE]

Not that many under the hood that would be useful to the player. Am mainly adapting Unity logic to ASM (fetching [I]this[/I] pointer and properly feeding the parameters through rdx, r8, r9).



[QUOTE="AManlyMan, post: 43751, member: 14164"]Hello, thank you for the table. Just want to report that this is not working with the GOG version of the game. Causes the game to fail when cheat handler activates.[/QUOTE]

If game crashes, don't close it. Instead open [I]Memory Viewer[/I], hit Ctrl+G and paste in [I]BattleTech.UI:CombatDebugHUD:Update[/I]. Take a screenshot. Repeat the process, Ctrl+G and paste in [I]BattleTech:SimGameState:Update[/I]. Take a screenshot. I wanna see if the hooks are fine.



[QUOTE="darkdex52, post: 43752, member: 3747"]Thanks for the tables. The only problem is there's no way to unload the cheat. God Mode persists through game exit/load. So if I need god mode for one mission, I guess I'm stuck with it forever.[/QUOTE]

[S]Didn't know, nor do I care. It's how the [I]developer[/I] feature works, ask them. Or I invite you to change the way the feature works if you care so much about God Mode preserved across whole game. Why do you cheat in the first place? T_T[/S]



God Mode is reset after a mission (or re-loading the whole game). You don't mind re-opening it if you want to play without God Mode, do you? Cool!
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 4 times in total.

User avatar
vegimata
Novice Cheater
Novice Cheater
Posts: 22
Joined: Tue Mar 07, 2017 5:42 pm
Reputation: 0

BattleTech [Engine:Unity]

Post by vegimata » Sat Apr 28, 2018 3:32 am

[QUOTE="darkdex52, post: 43752, member: 3747"]Thanks for the tables. The only problem is there's no way to unload the cheat. God Mode persists through game exit/load. So if I need god mode for one mission, I guess I'm stuck with it forever.[/QUOTE]

Looking at the script, it says toggle. So I think you can just press 0 again to disable it

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 1462
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 199

BattleTech [Engine:Unity]

Post by SunBeam » Sat Apr 28, 2018 3:36 am

[USER=809]@vegimata[/USER]: [S]My impression is whatever effects God Mode caused would be reset once mission ends. If these changes persist, then they were done to the Mechs you had during that mission. If you buy (haven't yet gotten there) others, they'll be spared from these changes if you don't use God Mode :p Again, it's how the developers conceived this. I may take a look at the individual functions, perhaps I can come up with an [I]undo[/I] feature...[/S]



I just tested a save game where I know for sure I used God Mode before the mission and all's back to normal; I'm getting my ass kicked by some turrets :p I dunno WTF [USER=3747]@darkdex52[/USER] is mumbling: the changes God Mode does get reset after a mission (or after closing the game).



There's no toggle for God Mode. It works just one way: enable on key press. And by enable I mean all the modifications below happen:



[code=cpp]

private void SetGodMode(Team team)

{

for (int i = 0; i < team.units.Count; i++)

{

AbstractActor item = team.units[i];

item.StatCollection.ModifyStat("debug", -1, "DamageReductionMultiplierAll", StatCollection.StatOperation.Float_Multiply, 0.1f, -1, true);

item.StatCollection.ModifyStat("debug", -1, "ReceivedInstabilityMultiplier", StatCollection.StatOperation.Float_Multiply, 0.1f, -1, true);

item.StatCollection.ModifyStat("debug", -1, "IgnorePilotInjuries", StatCollection.StatOperation.Set, true, -1, true);

for (int j = 0; j < item.Weapons.Count; j++)

{

Weapon weapon = item.Weapons[j];

weapon.StatCollection.ModifyStat("debug", -1, "DamagePerShot", StatCollection.StatOperation.Float_Multiply, 10f, -1, true);

weapon.StatCollection.ModifyStat("debug", -1, "AccuracyModifier", StatCollection.StatOperation.Float_Add, -20f, -1, true);

}

item.Combat.MessageCenter.PublishMessage(new FloatieMessage(item.GUID, item.GUID, "GOD MODE", FloatieMessage.MessageNature.Buff));

[/code]



BR,

Sun
Last edited by SunBeam on Thu Jan 01, 1970 12:00 am, edited 5 times in total.

yansenscc
What is cheating?
What is cheating?
Posts: 4
Joined: Tue Apr 03, 2018 2:37 am
Reputation: 0

BattleTech [Engine:Unity]

Post by yansenscc » Sat Apr 28, 2018 3:52 am

[QUOTE="SunBeam, post: 43731, member: 12587"]

[TABLE][TR][TH]Date[/TH]

[TH]Table Version[/TH]

[TH]Game Version[/TH]

[TH]Platform[/TH]

[TH]Notes[/TH][/TR]

[TR][TD]

28.04.2018

[/TD]

[TD]

1.0

[/TD]

[TD]

5.6.5.64727 (from EXE Properties/Details)

[/TD]

[TD]

Steam

[/TD]

[TD]

Simple starter script that allows enabling of a handler with just [B]God Mode[/B]

[/TD][/TR][/TABLE]

[B][U]Info[/U][/B]



[LIST]

[*]The table enables Mono Data Collector, hooks the [I]Update[/I] function in [B]BattleTech.UI.CombatDebugHUD[/B] to fetch an [I]instance[/I] pointer

[*]A key handler listens to key presses and intercepts whether or not [B]Numpad 0[/B] has been pressed

[/LIST]

[B][U]How to use[/U][/B]

[LIST=1]

[*]Run the game, target the process in Cheat Engine's [I]Process List[/I] (BattleTech.exe)

[*]Activate the [B][ Enable ][/B] script

[*]Activate the [B]Cheat Handler[/B] script

[*]Go back in-game, press [B]Numpad 0[/B] and have a look at the screen

[/LIST]

You should see something like this:



[IMG]https://i.imgur.com/SMUbFw0.png[/IMG]



[B][U]Effects[/U][/B]

[LIST]

[*]reduced damage (all damage multipliers are set to [I]normal value * 0.1f[/I], so a tenth of the normal damage) from enemies

[*]no pilot injuries

[*]maximum mech weapon accuracy (accuracy modifiers reduced to [I]normal value - 20.0f[/I] chance of missing; very rare chances your mech misses the target)

[*]increased damage (damage per shot modifier is set to [I]normal value * 10.0f[/I], so times ten the normal damage)

[/LIST]

[B][U]Additional Info[/U][/B]

[LIST]

[*][URL]https://fearlessrevolution.com/threads/battletech.6534/page-2#post-43422[/URL]

[*][URL]https://fearlessrevolution.com/threads/battletech.6534/page-2#post-43428[/URL]

[*][URL]https://fearlessrevolution.com/threads/battletech.6563/#post-43624[/URL]

[/LIST]

Enjoy![/QUOTE]

thanks man

you rock

Post Reply