mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-07-18 09:27:56 +08:00
almost finished
This commit is contained in:
@ -15,6 +15,16 @@ struct Interface_Structure
|
||||
|
||||
Interface_Structure Interface_Extra_Commands;
|
||||
|
||||
Interface_Structure Interface_Interpolate_Extra_Commands;
|
||||
|
||||
Interface_Structure Interface_Target_On_Simulation;
|
||||
|
||||
Interface_Structure Interface_Riot_Deprioritize;
|
||||
|
||||
Interface_Structure Interface_Penetrate_Teammates;
|
||||
|
||||
Interface_Structure Interface_Equipment_Distance;
|
||||
|
||||
Interface_Structure Interface_Storm_Rotation_Radius;
|
||||
|
||||
Interface_Structure Interface_Storm_Radius;
|
||||
@ -25,17 +35,13 @@ Interface_Structure Interface_Storm_Iterations;
|
||||
|
||||
Interface_Structure Interface_Storm_Speed;
|
||||
|
||||
Interface_Structure Interface_Test;
|
||||
Interface_Structure Interface_Test2;
|
||||
Interface_Structure Interface_Test3;
|
||||
|
||||
void Implement_Extended_Interface()
|
||||
{
|
||||
auto Create_Console_Interface = [](Interface_Structure* Interface, char* Name, char* Value, void* Handler)
|
||||
{
|
||||
using Create_Console_Variable_Type = void(__thiscall*)(Interface_Structure* Interface, char* Name, char* Value, void* Unknown_Parameter_1, void* Unknown_Parameter_2, void* Handler);
|
||||
|
||||
Create_Console_Variable_Type((unsigned __int32)Engine_Module + 2635296)(Interface, Name, Value, nullptr, nullptr, Handler);
|
||||
Create_Console_Variable_Type((unsigned __int32)Engine_Module + 2636656)(Interface, Name, Value, nullptr, nullptr, Handler);
|
||||
|
||||
*(__int32*)((unsigned __int32)Interface + 20) &= ~10;
|
||||
|
||||
@ -46,6 +52,16 @@ void Implement_Extended_Interface()
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Extra_Commands), (char*)"4", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Interpolate_Extra_Commands), (char*)"1", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Target_On_Simulation), (char*)"0", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Riot_Deprioritize), (char*)"0", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Penetrate_Teammates), (char*)"0", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Equipment_Distance), (char*)"2048", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Storm_Rotation_Radius), (char*)"24", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Storm_Radius), (char*)"8", nullptr);
|
||||
@ -55,8 +71,4 @@ void Implement_Extended_Interface()
|
||||
Create_Console_Interface(Pointer_Name(Interface_Storm_Iterations), (char*)"16", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Storm_Speed), (char*)"512", nullptr);
|
||||
|
||||
Create_Console_Interface(Pointer_Name(Interface_Test), (char*)"0", nullptr);
|
||||
Create_Console_Interface(Pointer_Name(Interface_Test2), (char*)"0", nullptr);
|
||||
Create_Console_Interface(Pointer_Name(Interface_Test3), (char*)"0", nullptr);
|
||||
}
|
Reference in New Issue
Block a user