Jump to content

CLEO 2.0


ThirteenAG

Recommended Posts

Install modloader and upload its log here.

Link to comment
Share on other sites

  • 11 months later...
On 7/31/2015 at 6:04 PM, ThirteenAG said:

I promised to throw in some scripts, but the progress is a bit slow. Anyway, let's start somewhere:

 

III.IVPickups.cs VC.IVPickups.cs SA.IVPickups.cs

 

3/VC versions support v1.0, v1.1 and steam exe. GTA SA version(as a bonus) is for 1.0 only. Original script was made by DK.

 

DMqpiAh.jpg FPA6Qcd.jpg

 

I'm providing temporary sendspace links for now, but all scripts will be reuploaded eventually to updated gtagarage if it ever happens, or github.

I did the Android version of IV_Pickups, but there are two issues that I can't solve. First, the flip of the pickup is a bit delayed. Second, 016F can't be used in Android, I think you know it. I can't effectively create particle effects. I seem to have found a memory function that creates shadow particles, but I don't know how to use it. Can you help me?

http://imgur.com/gallery/tjprTcR

Edited by China·XMDS
Link to comment
Share on other sites

1@ = X  2@=Y  4@=Z

0DD8: 3@ = read_mem_addr 0x0068CDA8 size 4 add_ib 1
0DD0: 11@ = get_label_addr @CVectorposn
0DD9: write_mem_addr 11@ value 1@ size 4 add_ib 0 protect 1
11@ += 4
0DD9: write_mem_addr 11@ value 2@ size 4 add_ib 0 protect 1
11@ += 4
0DD9: write_mem_addr 11@ value 4@ size 4 add_ib 0 protect 1
11@ -= 8
0DD0: 12@ = get_label_addr @StoreStaticShadowE
0DD1: 12@ = get_func_addr_by_cstr_name 12@
0DD3: context_set_reg 16 value 10.0
0DD3: context_set_reg 15 value 0
0DD3: context_set_reg 14 value 10.0
0DD3: context_set_reg 13 value 5.0
0DD3: context_set_reg 12 value 10.0
0DD3: context_set_reg 11 value 255
0DD3: context_set_reg 10 value 0
0DD3: context_set_reg 9 value 255
0DD3: context_set_reg 8 value 255
0DD3: context_set_reg 7 value 0.0
0DD3: context_set_reg 6 value 0.0
0DD3: context_set_reg 5 value 0.0
0DD3: context_set_reg 4 value 0.0
0DD3: context_set_reg 3 value 11@
0DD3: context_set_reg 2 value 3@
0DD3: context_set_reg 1 value 1
0DD3: context_set_reg 0 value 3
0DD2: context_call_func 12@
 

:CVectorposn
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00
end

 

:StoreStaticShadowE

hex

 "_ZN8CShadows17StoreStaticShadowEjhP9RwTextureP7CVectorffffshhhfffbf" 00

end

 

//CShadows::StoreStaticShadow(unsigned int id, unsigned char type, RwTexture* texture, CVector* posn, float frontX, float frontY, float sideX, float sideY, short intensity, unsigned char red, unsigned char green, unsigned char blue, float zDistane, float scale, float drawDistance, bool temporaryShadow, float upDistance)

 

@ThirteenAG

I want to create a particle shadow with this function, but the game crashes. Is my usage wrong? Can you help me?

Edited by China·XMDS
Link to comment
Share on other sites

Not really, I've not used mobile cleo in a long time.

Link to comment
Share on other sites

6 minutes ago, ThirteenAG said:

Not really, I've not used mobile cleo in a long time.

That's a pity. Maybe you can install an Android emulator. Say the point, what is wrong with this call to the function code itself?

Link to comment
Share on other sites

  • 2 years later...
gangsteris123

Am i the only one having this problem or not after i download cleo for gta3 i cant extract because the file has bin deleted

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.