Jump to content

Recommended Posts

  • 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
https://gtaforums.com/topic/807185-cleo-20/page/7/#findComment-1070532860
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
https://gtaforums.com/topic/807185-cleo-20/page/7/#findComment-1070533345
Share on other sites

  • 2 years later...
  • 3 years later...
26 minutes ago, James0Carter said:

Yeah bossman, 260 big hurty,

it really did my my head this path thing, but I found a way, I tried LongPath Tool Program and that sorted it.

Cleo 2 is really outdated now there's Cleo Redux now and Cleo 5.


Edit: I didn't see it was for 3 and VC. But there's Redux for it tho.

But not Cleo 5 (yet)

Edited by Davve95
Link to comment
https://gtaforums.com/topic/807185-cleo-20/page/7/#findComment-1072423845
Share on other sites

  • 4 months later...

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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