Page 1 of 1

[REQUEST] Borderlands 3 Third Person script / will pay

Posted: Tue Sep 17, 2019 12:40 pm
by harkenuphi
Hi,

Game Name: Borderlands 3
Game Engine: Unreal Engine 4
Game Versions: 1.0.0 CL 2005984

I'm looking for a borderland 3 third person script.

I have tried modifying the existing borderlands 2 3rd person script to no avail, would be willing to pay for this mod, if proven to work.

I've attached the script for borderlands 2 below, this script had a problem with guns shooting backwards, so would like that fixed if it is still a problem:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="14">
  <CheatEntries>
    <CheatEntry>
      <ID>3656</ID>
      <Description>"Third Person Mode v3 (press F5 to toggle)"</Description>
      <Options moHideChildren="1"/>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(thirdpersonsubAOB1,F6 81 AC 0A 00 00 14 75 ** B8)
label(thirdpersonsubAOB1_jmp)
registersymbol(thirdpersonsubAOB1_jmp)
aobscan(thirdpersonsubAOB2,55 8b ec 83 ec 14 53 56 8b f1 8b 9e 94)
label(thirdpersonsubAOB2_jmp)
registersymbol(thirdpersonsubAOB2_jmp)
globalalloc(bToggleKeyPressed,4)
globalalloc(bScriptEnabled,4)
globalalloc(bFirstPersonSet,4)
globalalloc(bThirdPersonSet,4)
globalalloc(pCameraMode,4)

///
bToggleKeyPressed:
dd 0
bScriptEnabled:
dd 0
bFirstPersonSet:
dd 0
bThirdPersonSet:
dd 0
pCameraMode:
dd 0
///

alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
label(togglescript)
label(checktoggle)
label(thirdpersonmodestart)
label(pre_setfirstperson)
label(pre_setthirdpsrson)
label(setfirstperson)
label(setthirdperson)
label(dochangecamera)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp dword ptr [ecx+00000190],0
je originalcode

mov [pCameraMode],ecx

pushad
push 0x74  // key G, change to 0x74 for key F5
call GetAsyncKeyState
shr ax,#15
cmp ax,1
popad
je togglescript
mov [bToggleKeyPressed],0
jmp checktoggle

togglescript:
cmp [bToggleKeyPressed],1
je originalcode
mov [bToggleKeyPressed],1
xor [bScriptEnabled],1
jmp checktoggle

checktoggle:
cmp [bScriptEnabled],1
je thirdpersonmodestart
jmp pre_setfirstperson

thirdpersonmodestart:
pushad
push 02      //key mouse right
call GetAsyncKeyState
shr ax,#15
cmp ax,1
popad
je pre_setfirstperson
jmp pre_setthirdpsrson

pre_setfirstperson:
cmp [bFirstPersonSet],0
je setfirstperson
jmp originalcode

pre_setthirdpsrson:
cmp [bThirdPersonSet],0
je setthirdperson
jmp originalcode

setfirstperson:
mov [bFirstPersonSet],1
mov [bThirdPersonSet],0
pushad
mov esi,ecx
mov byte ptr [esi+00000AAC],08  // 1st person
jmp dochangecamera

setthirdperson:
mov [bFirstPersonSet],0
mov [bThirdPersonSet],1
pushad
mov esi,ecx
mov byte ptr [esi+00000AAC],0C  // 3rd person
jmp dochangecamera

dochangecamera:
mov dword ptr [esi+00000694],0  // unknown
mov ecx,esi
mov eax,dword ptr [esi+00000190]  // data
push eax
call thirdpersonsubAOB2_jmp
popad
jmp originalcode

originalcode:
test byte ptr [ecx+00000AAC],14

exit:
jmp returnhere

thirdpersonsubAOB1:                 //"Borderlands2.exe"+61F640:
thirdpersonsubAOB1_jmp:
jmp newmem
nop
nop
returnhere:

thirdpersonsubAOB2:                 //
thirdpersonsubAOB2_jmp:
 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
thirdpersonsubAOB1_jmp:             //"Borderlands2.exe"+61F640:
db F6 81 AC 0A 00 00 14
//Alt: test byte ptr [ecx+00000AAC],14
thirdpersonsubAOB2_jmp:

unregistersymbol(thirdpersonsubAOB1_jmp)
unregistersymbol(thirdpersonsubAOB2_jmp)
dealloc(bToggleKeyPressed)
dealloc(bScriptEnabled)
dealloc(bFirstPersonSet)
dealloc(bThirdPersonSet)
dealloc(pCameraMode)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>3657</ID>
          <Description>"aac"</Description>
          <Color>80000008</Color>
          <VariableType>Byte</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AAC</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3661</ID>
          <Description>"ae0"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AE0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3663</ID>
          <Description>"ae4"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AE4</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3662</ID>
          <Description>"ae8"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AE8</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3658</ID>
          <Description>"af0"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AF0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3660</ID>
          <Description>"af4"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AF0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>3659</ID>
          <Description>"af8"</Description>
          <Color>80000008</Color>
          <VariableType>Float</VariableType>
          <Address>pCameraMode</Address>
          <Offsets>
            <Offset>AF0</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>

Re: [REQUEST] Borderlands 3 Third Person script / will pay

Posted: Tue Sep 17, 2019 3:39 pm
by sands101
Yeah, I tried as well to mess with that on B3 but that script is unfortunately not compatible with B3. I would also gladly pay for B3 third-person script right now, but I am sure that someone out there is going to create one soon enough. We just have to wait patiently until then.

Re: [REQUEST] Borderlands 3 Third Person script / will pay

Posted: Thu Sep 19, 2019 1:14 pm
by harkenuphi
I'm not skilled in CE at all, but found some AOBs that alter aspects of camera.

18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - alters position of weapon
01 00 00 00 00 01 00 00 80 4D 59 83 00 00 00 00 - will pull camera inside of character

Re: [REQUEST] Borderlands 3 Third Person script / will pay

Posted: Thu Sep 19, 2019 7:27 pm
by sands101
Yeah, I'm also not very skilled in CE. Where would you input those AOB's in the script?

Re: [REQUEST] Borderlands 3 Third Person script / will pay

Posted: Mon Sep 23, 2019 10:22 am
by neburas
"Camera 3rd" works in console command but I want to change camera position.
It will also enable vehicle first person view.

[REQUEST] Borderlands 3 Third Person script / will pay

Posted: Thu Jun 18, 2020 9:13 am
by darsad1
did you find a solution?