Model Size "Mod" / Cheat Eninge Script

Posts 1–9 of 9 · Page 1 of 1
Model Size "Mod" / Cheat Eninge Script
Hi here is the code to make heads bigger in the division. I think it is also possible to make the heads smaller but i havent managed to do it cause the game crashes when i changed some values. Screenshot: imgur. com/ vGSNdTD
*EDIT* **You might need to use a buypass for this script (or game will crash).

Code:
[ENABLE]

aobscanmodule(BigHeadAOB,TheDivision.exe,55 44 0F 29 14 02) // should be unique
alloc(newmem,$1000,"TheDivision.exe"+414D4E)

label(code)
label(return)
label(exit)
label(BigHeadData)

newmem:

code:
cmp rdx,140
jne exit
movups [BigHeadData+10],xmm1
movups xmm1,[BigHeadData]
mulps xmm10,xmm1
mulps xmm5,xmm1
mulps xmm4,xmm1
movups xmm1,[BigHeadData+10]

exit:
movaps [rdx+rax],xmm10
movaps [rdx+rax+10],xmm5
movaps [rdx+rax+20],xmm4

jmp return

BigHeadData:
dd (float)3
dd (float)3
dd (float)3
dd (float)1

BigHeadAOB+01:
jmp code
db 90 90 90 90 90 90 90 90 90 90
return:
registersymbol(BigHeadAOB)

[DISABLE]

BigHeadAOB+01:
db 44 0F 29 14 02 0F 29 6C 02 10 0F 29 64 02 20

unregistersymbol(BigHeadAOB)
dealloc(newmem)
any screenies?
im not allowed to post links so i cant insert screenshot...
Quote Originally Posted by Vacationsenpai View Post
im not allowed to post links so i cant insert screenshot...
format it like everyone else does; ww w. website . com or w/e it's fine as long as it's to a .jpg or w/e no one will mind.
ah ok lol.....

- - - Updated - - -

here you go: imgur. com /vGSNdTD
Might also be nice to edit the first post and credit the person who made it. pox911 at UC made it. Also the one you posted is the old, buggy version that makes stuff other than heads big. He made a fix to it.
Quote Originally Posted by TechnoJacker View Post
Might also be nice to edit the first post and credit the person who made it. pox911 at UC made it. Also the one you posted is the old, buggy version that makes stuff other than heads big. He made a fix to it.
Yep, and here's a modified version of pox's updated script that registers the data label so you can individually edit the X/Y/Z scale multipliers. (Or modify all 3 by editting the Head Scale group header)

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>1997</ID>
      <Description>"Big Heads"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(BigHeadAOB,TheDivision.exe,55 44 0F 29 14 02) // should be unique
alloc(newmem,$1000,"TheDivision.exe"+414D4E)

label(code)
label(return)
label(exit)
label(BigHeadData)

registersymbol(BigHeadData)

newmem:

code:
  push r10
  push rbx
  push rax
  push rdx
  mov r10,[rbx+10]
  mov eax,edx
  cdq
  mov ebx,40
  idiv ebx
  imul rax,10
  cmp [r10+rax],#1684104520
  pop rdx
  pop rax
  pop rbx
  pop r10
  jne exit
  movups [BigHeadData+10],xmm1
  movups xmm1,[BigHeadData]
  mulps xmm10,xmm1
  mulps xmm5,xmm1
  mulps xmm4,xmm1
  movups xmm1,[BigHeadData+10]

exit:
  movaps [rdx+rax],xmm10
  movaps [rdx+rax+10],xmm5
  movaps [rdx+rax+20],xmm4

  jmp return

BigHeadData:
  dd (float)3
  dd (float)3
  dd (float)3
  dd (float)1

BigHeadAOB+01:
  jmp code
  db 90 90 90 90 90 90 90 90 90 90
return:
registersymbol(BigHeadAOB)

[DISABLE]

BigHeadAOB+01:
  db 44 0F 29 14 02 0F 29 6C 02 10 0F 29 64 02 20

unregistersymbol(BigHeadAOB)
unregistersymbol(BigHeadData)

dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>1998</ID>
          <Description>"Head Scale"</Description>
          <Options moHideChildren="1" moRecursiveSetValue="1" moAllowManualCollapseAndExpand="1"/>
          <LastState Value="" RealAddress="00000000"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>1999</ID>
              <Description>"X Scale"</Description>
              <VariableType>Float</VariableType>
              <Address>BigHeadData</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>2000</ID>
              <Description>"Y Scale"</Description>
              <VariableType>Float</VariableType>
              <Address>BigHeadData+4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>2001</ID>
              <Description>"Z Scale"</Description>
              <VariableType>Float</VariableType>
              <Address>BigHeadData+8</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

The code is [IM G]http://i.imgur.com/vGSNdTD.jpg?1[/IM G]
Take out the space bettween M and G.
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us