


I think you can learn some basics of bullet library and make your own mod. also this version is better that the last one because it is simpler. I can go back to the callbacks and try to guess what they are doing, Thanks to DK22Pac, I have the addresses of so many functions and structures I can find out what he is doing and rewrite the mod. And there you go, Now I know what the parameters are.

Then I can add the opcodes to SannyBuilder (No, Tommy killed Sunny, not Sanny) and decompile the script. Then I can jump to the address of the function to find out the number of parameters and their types: DWORD WINAPI CLEO_GetIntOpcodeParam(CScriptThread* thread) float WINAPI CLEO_GetFloatOpcodeParam(CScriptThread* thread) void WINAPI CLEO_SetIntOpcodeParam(CScriptThread* thread, DWORD value) void WINAPI CLEO_SetFloatOpcodeParam(CScriptThread* thread, float value) LPSTR WINAPI CLEO_ReadStringOpcodeParam(CScriptThread* thread, LPSTR buf, int size) void WINAPI CLEO_WriteStringOpcodeParam(CScriptThread* thread, LPCSTR str) Then I can read the code to get the Opcode (16bit integer) and the address of the function.

All I have to do is find out where he called this (the debugger will do that for me): BOOL WINAPI CLEO_RegisterOpcode(WORD opcode, _pOpcodeHandler callback) Still, callbacks or not, it is purely cleo, and there are more tools for it so, you can get the information you need, like you just said so i'm glad i was helpfull, i do want to see what you are promissing happen Add ragdoll simulation when the ped is shot with a big gun (Shotgun, AK.)Ĭan you give me some pointers (pun intended)? any help would be appreciated. Add ragdoll simulation when the ped is dead or flying When you run some fool over, your car slows down as if he weighs at least 400 kg. send the arms and legs flying around their joints, the limits of the joints.etc. I want to duplicate his work in pure C++, no cleo bull-poop. Sadly madleg has not been active for 3 months or so, asking him for the source code is a long shot. So madleg's ragdoll mod looks good, it makes SA more like IV, but it does not work for everyone and we don't have the source to fix it.
