Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,169 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
TheGodfather.

GTA VC to SA Weapon Pickup

Recommended Posts

TheGodfather.

Hi guys I made a script to make the SA Pickups look like VC Having corona on them :)

But there is a strange bug in it.Whenever I pickup the pickup the pickup is destroyed but the corona doesn't get removed.

 

Is it possible to remove the corona ??

 

gta_sa14.jpg

 

 

Share this post


Link to post
Share on other sites
Danikov

Hi guys I made a script to make the SA Pickups look like VC Having corona on them :)

But there is a strange bug in it.Whenever I pickup the pickup the pickup is destroyed but the corona doesn't get removed.

 

Is it possible to remove the corona ??

 

gta_sa14.jpg

 

 

I think about doing it like this.

Use Opcode 0214 to check if a pickup has been taken,and then use the opcode that removes the corona(don't know what opcode number is it) after Opcode 0214 returns true.

I am talking theoritically,never tried doing so,but I think it should do the trick.

Opcode 0214: http://gtag.gtagaming.com/opcode-database/opcode/0214/

 

Edit: Or maybe set the coronas alpha to 0 after you take the pickup?

Edited by Danikov

Share this post


Link to post
Share on other sites
TheGodfather.

Well I already did that sorry I forgot to give the script my bad ...Check it out :

 

 

{$CLEO}wait 500003F0: enable_text_draw 1while true wait 0{$I forallpickups}065B: store_pickup pick position_to [email protected] [email protected] [email protected]: create_corona_with_radius 0.5 type 9 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected] {$I for_end} end0a93:

Share this post


Link to post
Share on other sites
Danikov

 

Well I already did that sorry I forgot to give the script my bad ...Check it out :

{$CLEO}wait 500003F0: enable_text_draw 1while true wait 0{$I forallpickups}065B: store_pickup pick position_to [email protected] [email protected] [email protected]: create_corona_with_radius 0.5 type 9 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected] {$I for_end} end0a93:

 

Alright,sorry,I thought the coronas are stored into a variable,my bad.

A way I see is to check if the corona has not been picked up,so it will create the corona.

{$CLEO}wait 500003F0: enable_text_draw 1while true wait 0{$I forallpickups}065B: store_pickup pick position_to [email protected] [email protected] [email protected]: NOT pickup pick picked_up then024F: create_corona_with_radius 0.5 type 9 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected]{$I for_end} end0a93:

This is untested,but I think it should work.

Share this post


Link to post
Share on other sites
TheGodfather.

Nah..It doesn't work either..:p

Any other idea dude ??

Share this post


Link to post
Share on other sites
TheGodfather.

Well the main problem is with removing the corona as there is no way I am able to remove the corona!!

Share this post


Link to post
Share on other sites
Silent

Coronas lifetime is only a frame, so they'll vanish by themselves.

Last @Danikov's example looked accurate enough, but the IF...THEN...END construction is messed up. Corrected:

 

 

{$CLEO}0000: CORONASwhile true	wait 0	{$I forallpickups}	065B: store_pickup pick position_to [email protected] [email protected] [email protected]	if		8214:	NOT pickup pick picked_up	then		024F: create_corona_with_radius 0.5 type 9 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected]	end	{$I for_end}end
EDIT:

Jesus these tabulators are messed up.

Edited by SilentPL

Share this post


Link to post
Share on other sites
TheGodfather.

Thanks dude that worked :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

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