Re: REQ :Jagged Alliance 3 table
Posted: Sat Jul 15, 2023 2:30 am
So you can give your custom merc 100 all stats if you want. Worked fine for me.
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Quote Fitgirl:Soylent_Greene wrote: ↑Sat Jul 15, 2023 2:02 amCannot DL the cheat
My AV claims it's hazardous
Reports a trojan embedded in the zip
Trojan:Script/Wacatac.B!ml
please do me a favour and delete your worthless AVFitGirl: Modern AVs are paranoid. They usually see danger in safe files and skip real malware. This is more actual for compressed/protected software and cracks, especially from Chinese groups, such as 3DM.
This may sound scary, but in the real world THERE IS NO ANTIVIRUS, which will protect you from modern trojans, bitcoin miners and similar stuff. In most cases harmful apps won’t be blocked, but absolutely safe programs – will be, as false positives. And since AVs usually work silently, without even notifying you about blocked stuff – you will wonder, why the installer don’t work or why the game don’t want to launch.
One of the biggest downfalls of AVs is they resident mode, when ALL open files, even not executables, arc checked on the fly. This mode can slow down a fast installer for HOURS, because every unpacked file will be checked with AVs engine. Complex repacks do lots of HDD read/writes, and it alone is not fast, but coupled with AV will ruin your experience
thank you for the explanation, this will help me for my next lua game!
Using this technique, I can confirm changing stat values to 99 works.scheel wrote: ↑Fri Jul 14, 2023 6:45 pmI got it working, thank you!Parkan1986 wrote: ↑Fri Jul 14, 2023 6:30 pmnot exatly.you need again made all atats to 55 to make points pool 0 and then edit in cheat engine all stats to 85 again.then click next two times and create merc.perks will staysame when you return again.
how I did it:
1. find every single stat in cheatengine by increasing/decreasing it (its 4 byte, if it finds nothing restart game and cheatengine till it works)
2. set all stats manually to 55 ingame, now use cheat engine and set all stats to 85. click next and select perks
3. go back to stats (since you now got a negative value for stats and cant continue anyway), change all of them (again, ingame) to 55
4. click next (so you're in the perk screen, where your previous perk selection should still be active)
5. now tab out to cheat engine and change all the stat values to 85
6. click next ingame and finish creating your char with the selected perks and stat values of your choosing
money is 4 Bytes, inventory stuff (parts, medicine...) is 2 Bytes. Happy hunting
Code: Select all
local function ApplyMod()
local options = CurrentModOptions or {}
if options.FlyCamera then
cameraFly.Activate()
end
if not options.FlyCamera and cameraFly.IsActive() then
cameraTac.Activate()
end
if options.MaxStats then
const.Imp.MaxStatPoints = 850
end
if not options.MaxStats then
const.Imp.MaxStatPoints = 550
end
if options.Cheats then
Platform.cheats = true
end
if not options.Cheats then
Platform.cheats = false
end
if options.Developer then
Platform.developer = true
end
if not options.Developer then
Platform.developer = false
end
end
OnMsg.ModsReloaded = ApplyMod
OnMsg.ApplyModOptions = ApplyMod
Code: Select all
return {
PlaceObj('ModItemCode', {
'CodeFileName', "Code/Script.lua",
}),
PlaceObj('ModItemOptionToggle', {
'name', "MaxStats",
'DisplayName', "Max Stats",
}),
PlaceObj('ModItemOptionToggle', {
'name', "FlyCamera",
'DisplayName', "Fly Camera",
}),
PlaceObj('ModItemOptionToggle', {
'name', "Cheats",
'DisplayName', "Enable Cheats",
}),
PlaceObj('ModItemOptionToggle', {
'name', "Developer",
'DisplayName', "Enable Developer",
}),
}
I don't think so, try to earn an achievement with this mod on, and you get your answer.
I modified the merc's data in Data/UnitDataCompositeDef and recompressed it (with only hpk), rechecked with uncompress again, but the game doesn't show their new attributes, only their old. What could be the problem?awatar wrote: ↑Sat Jul 15, 2023 1:49 amI used
[Link]
for decompilation, and tools
[Link] /
for compilation. Packed\unpacked via
[Link]
for lua files, the options --cripple-lua-files --dont-compress-files (for packaging) and --fix-lua-files (for unpacking) are needed
Changed the number of skill points from 550 to 850.
You need to modify the CharName.generated.lua inside Lua\Lua\UnitDataCompositeDef aswell.MightyDuck wrote: ↑Sat Jul 15, 2023 7:02 amI modified the merc's data in Data/UnitDataCompositeDef and recompressed it (with only hpk), rechecked with uncompress again, but the game doesn't show their new attributes, only their old. What could be the problem?awatar wrote: ↑Sat Jul 15, 2023 1:49 amI used
[Link]
for decompilation, and tools
[Link] /
for compilation. Packed\unpacked via
[Link]
for lua files, the options --cripple-lua-files --dont-compress-files (for packaging) and --fix-lua-files (for unpacking) are needed
Changed the number of skill points from 550 to 850.
That was helpful, thank you so much!Aurata wrote: ↑Sat Jul 15, 2023 3:16 amEasy way to change your Imp Statpoints. I changed Chapis Mod.
After enabling the options you need to restart the game. It works.
Script.lua
items.luaCode: Select all
local function ApplyMod() local options = CurrentModOptions or {} if options.FlyCamera then cameraFly.Activate() end if not options.FlyCamera and cameraFly.IsActive() then cameraTac.Activate() end if options.MaxStats then const.Imp.MaxStatPoints = 850 end if not options.MaxStats then const.Imp.MaxStatPoints = 550 end if options.Cheats then Platform.cheats = true end if not options.Cheats then Platform.cheats = false end if options.Developer then Platform.developer = true end if not options.Developer then Platform.developer = false end end OnMsg.ModsReloaded = ApplyMod OnMsg.ApplyModOptions = ApplyMod
Code: Select all
return { PlaceObj('ModItemCode', { 'CodeFileName', "Code/Script.lua", }), PlaceObj('ModItemOptionToggle', { 'name', "MaxStats", 'DisplayName', "Max Stats", }), PlaceObj('ModItemOptionToggle', { 'name', "FlyCamera", 'DisplayName', "Fly Camera", }), PlaceObj('ModItemOptionToggle', { 'name', "Cheats", 'DisplayName', "Enable Cheats", }), PlaceObj('ModItemOptionToggle', { 'name', "Developer", 'DisplayName', "Enable Developer", }), }
it doesn't. just unlocked 1000 damage in 1 round