ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1587

Disable Cinematic Cam

by Torxi - 08-03-2019 - 09:30 AM
#1
Got this code, from a friend, everyone knows that determined, you sit in the car and drives, you press the circle button, and the cinematic cam changes the view.
This code disables this cinematic camera.

Credits: I do not know who did it, sorry but still have fun .....!


bool nocine = false;

if (nocine)
{
CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);
CAM::STOP_GAMEPLAY_HINT(true);
AUDIO::STOP_AUDIO_SCENE("HINT_CAM_SCENE");
::_STOP_SCREEN_EFFECT("FocusIn");
::_STOP_SCREEN_EFFECT("FocusOut");
}


static void SET_CINEMATIC_BUTTON_ACTIVE(Any p0) { invoke<Void>(0x3FBC5D00, p0); } // 0x3FBC5D00
static void STOP_GAMEPLAY_HINT(Any p0) { invoke<Void>(0x1BC28B7B, p0); } // 0x1BC28B7B
static void STOP_AUDIO_SCENE(char *scene) { invoke<Void>(0xA08D8C58, scene); } // 0xA08D8C58


void _STOP_SCREEN_EFFECT(char *effectName)
{
NativeArg_l.argPointer = (uint32_t*)Args;
NativeArg_l.returnParam = (uint32_t*)Return;
NativeArg_l.numOfArgs = 1;
SetArg(Args, 0, effectName);
opd_s _STOP_SCREEN_EFFECT = { 0x01578234, TOC };
((void(*)(NativeArg_ss*))&_STOP_SCREEN_EFFECT)(&NativeArg_l);
}


struct NativeArg_ss
{
uint32_t* returnParam;
uint32_t numOfArgs;
uint32_t* argPointer;
}
NativeArg_l;
char Args[4 * 30];
char Return[0x20];
template<typename T>
void SetArg(char* arg, int index, T val)
{
*(T*)(arg + (index * 4)) = val;
}
Reply
#2
(08-03-2019 - 09:30 AM)Torxi Wrote: Got this code, from a friend, everyone knows that determined, you sit in the car and drives, you press the circle button, and the cinematic cam changes the view.
This code disables this cinematic camera.

Credits: I do not know who did it, sorry but still have fun .....!


bool nocine = false;

if (nocine)
{
CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);
CAM::STOP_GAMEPLAY_HINT(true);
AUDIO::STOP_AUDIO_SCENE("HINT_CAM_SCENE");
::_STOP_SCREEN_EFFECT("FocusIn");
::_STOP_SCREEN_EFFECT("FocusOut");
}


static void SET_CINEMATIC_BUTTON_ACTIVE(Any p0) { invoke<Void>(0x3FBC5D00, p0); } // 0x3FBC5D00
   static void STOP_GAMEPLAY_HINT(Any p0) { invoke<Void>(0x1BC28B7B, p0); } // 0x1BC28B7B
static void STOP_AUDIO_SCENE(char *scene) { invoke<Void>(0xA08D8C58, scene); } // 0xA08D8C58


void _STOP_SCREEN_EFFECT(char *effectName)
{
NativeArg_l.argPointer = (uint32_t*)Args;
NativeArg_l.returnParam = (uint32_t*)Return;
NativeArg_l.numOfArgs = 1;
SetArg(Args, 0, effectName);
opd_s _STOP_SCREEN_EFFECT = { 0x01578234, TOC };
((void(*)(NativeArg_ss*))&_STOP_SCREEN_EFFECT)(&NativeArg_l);
}


struct NativeArg_ss
{
uint32_t* returnParam;
uint32_t numOfArgs;
uint32_t* argPointer;
}
NativeArg_l;
char Args[4 * 30];
char Return[0x20];
template<typename T>
void SetArg(char* arg, int index, T val)
{
*(T*)(arg + (index * 4)) = val;
}

i think just "CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);" should work.
Reply
#3
I think I had tried that, it did not work for me. No idea why that did not work

(08-03-2019 - 01:48 PM)magiccarpet Wrote:
(08-03-2019 - 09:30 AM)Torxi Wrote: Got this code, from a friend, everyone knows that determined, you sit in the car and drives, you press the circle button, and the cinematic cam changes the view.
This code disables this cinematic camera.

Credits: I do not know who did it, sorry but still have fun .....!


bool nocine = false;

if (nocine)
{
CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);
CAM::STOP_GAMEPLAY_HINT(true);
AUDIO::STOP_AUDIO_SCENE("HINT_CAM_SCENE");
::_STOP_SCREEN_EFFECT("FocusIn");
::_STOP_SCREEN_EFFECT("FocusOut");
}


static void SET_CINEMATIC_BUTTON_ACTIVE(Any p0) { invoke<Void>(0x3FBC5D00, p0); } // 0x3FBC5D00
   static void STOP_GAMEPLAY_HINT(Any p0) { invoke<Void>(0x1BC28B7B, p0); } // 0x1BC28B7B
static void STOP_AUDIO_SCENE(char *scene) { invoke<Void>(0xA08D8C58, scene); } // 0xA08D8C58


void _STOP_SCREEN_EFFECT(char *effectName)
{
NativeArg_l.argPointer = (uint32_t*)Args;
NativeArg_l.returnParam = (uint32_t*)Return;
NativeArg_l.numOfArgs = 1;
SetArg(Args, 0, effectName);
opd_s _STOP_SCREEN_EFFECT = { 0x01578234, TOC };
((void(*)(NativeArg_ss*))&_STOP_SCREEN_EFFECT)(&NativeArg_l);
}


struct NativeArg_ss
{
uint32_t* returnParam;
uint32_t numOfArgs;
uint32_t* argPointer;
}
NativeArg_l;
char Args[4 * 30];
char Return[0x20];
template<typename T>
void SetArg(char* arg, int index, T val)
{
*(T*)(arg + (index * 4)) = val;
}

i think just "CAM::SET_CINEMATIC_BUTTON_ACTIVE(0);" should work.
I think I had tried that, it did not work for me. No idea why that did not work
Reply
#4
i already saw this before
Reply
#5
what this code?
this work?
This account is currently banned
Ban reason: Leeching/spamming
Reply
#6
(08-11-2019 - 05:50 PM)EL_Dev Wrote: what this code?
this work?

This deactivates the Camera Switch function of the Circle Button (Cinematic Cam Perspectives), which is sometimes annoying, yes the code works.
Reply
#7
(08-13-2019 - 04:27 PM)Torxi Wrote:
(08-11-2019 - 05:50 PM)EL_Dev Wrote: what this code?
this work?

This deactivates the Camera Switch function of the Circle Button (Cinematic Cam Perspectives), which is sometimes annoying, yes the code works.
Thank you.
This account is currently banned
Ban reason: Leeching/spamming
Reply

Users browsing: 3 Guest(s)