Just a quick and messy stealth code. (I noticed that H:CE's stealth disables when you shoot, so I thought it might be useful to note that you can disable decloak on attack. I have other basic codes (ammo/grenades), but I'm only mentioning this one since that is the only thing that this table
might be missing (I haven't tested Dread Pony Robert's H2 table so I am basing this on H:CE's table where shooting causes enemies to detect you and you stay detected.)).
This code should disable most stealth breaks from attacking, though it won't disable enemies from noticing if you are too close (that would be a different code). Some weapons will still cause enemies to move towards the sound source or even attack. This
should make it so that after each attack, the enemies lose their detection. (I noticed that in H4, decloaking then recloaking can also force enemies to re-detect, so that may be an option as well.)
Code: Select all
[ENABLE]
aobscanmodule(fNoAttackStealthBreak,halo2.dll,C6 F3 0F 5C CF F3 0F 11 80 CC 02 00 00) // should be unique
fNoAttackStealthBreak+01:
nop 4
registersymbol(fNoAttackStealthBreak)
[DISABLE]
fNoAttackStealthBreak+01:
db F3 0F 5C CF F3 0F 11 80 CC 02 00 00
unregistersymbol(fNoAttackStealthBreak)
This code makes you and dead npcs invisible. Also makes most NPCs invisible in classic mode.
Code: Select all
[ENABLE]
aobscanmodule(fStealthTest2,halo2.dll,F3 0F 11 8F C4 02 00 00 76 17) // should be unique
alloc(newmem,$1000,fStealthTest2)
label(code)
label(return)
newmem:
code:
/*
cmp rbx,101000 //101000 == Crouch. Can be used for invisible only when crouched
jne @f
cmp r10,7FF //Makes almost everyone invisible
jne @f
cmp r14,630 //Arbit mission 1? //684 //Arbit mission 2?
jne @f
/**/
/**/
cmp rcx,4 //Makes dead invisible as well
je @f
/**/
movss [rdi+000002C4],xmm6
comiss xmm6,xmm6
jmp return
@@:
movss [rdi+000002C4],xmm1
jmp return
fStealthTest2:
jmp newmem
nop 3
return:
registersymbol(fStealthTest2)
[DISABLE]
fStealthTest2:
db F3 0F 11 8F C4 02 00 00
unregistersymbol(fStealthTest2)
dealloc(newmem)
Also attaching what I have. Don't have anything for reach and I don't have stealth codes for H4 since I can't find anything close to the H2/H3 stealth codes (though I do have codes for cloak skill duration). H1, I stopped partway through since I used Dread_Pony_Roberts' table.
For H4:
(Added No Boost Limit (Tested for Wraith), No Skill Limit 2 (For Hardlight Shield), No Fire Delay (Weapon), No Fire Delay (Tested for Wraith))
(Note: As this table is more for reference than use, these are not sanitized to only affect the player, so some enemies will fire a massive stream of attacks.)
(Note: the fast charge will not work on the large mech and will cause it to be unable to fire the missiles, although I do have a version that enables the missiles, this table is just for reference in case it might help Dread Pony Roberts finish his tables even a little faster).