Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

Different muzzle flash for each weapon


Function-X-
 Share

Recommended Posts

Function-X-

So yeah i think it would be great to have that feature, Specially that half of SA mods is military based tounge.gif

And i actually think it would eliminate the muzzle flash bugs, So it will be a win win feature !

 

If it's possible i will do all the required effects inlove.gif

Edited by Function-X-
Link to comment
Share on other sites

the muzzle flash is in the .txd of each weapon, you can replace that texture with an other texture.

Link to comment
Share on other sites

kmlwin.1996

It's all about effects that you make Function -X-. Not CLEO theme.

Link to comment
Share on other sites

if you are talking about the shape of the muzzle flash, its in the weapon dff(assuming you have a default weapon)

Link to comment
Share on other sites

Function-X-

Thanks Uni biggrin.gif !

---------------

Nope you guys don't get it tounge.gif

In SA theres two kinds of muzzle flash:

 

1- Using particle effects, The effect name is gunflash

2- Adding the muzzle flash DFF to the weapon model, Which is not really necessary !

 

Because if you don't add the DFF muzzleflash to the weapon model, The game will use the particle effect muzzleflash which is way better, But it's has a couple of small bugs, usually when you use duel welding aim's and driveby's they (point) at the wrong directions, But if sombody do this script, we will no longer have those bugs, Because i noticed when you spawn it using cleo those bugs disappear.

 

The DFF version look extremely awful, I'm not really sure why they did it in the first place, Maybe because it doesn't have bugs, But it's a very bad choice.

 

I try to show photo comparison:

 

Thats the DFF muzzle flash:

I think it's your photo yair1221, i Googled and found it, Because i no longer have weapons with DFF muzzle flash

user posted image

 

And now thats the particle effect muzzle flash i was working on recently:

user posted image

user posted image

user posted image

user posted image

 

Thats how you remove the DFF muzzle flash from your weapon model, And Unlock the particle effect version:

user posted image

----------------------------------

So Now the point of this topic is I can do muzzle flash's types like IV, So each weapon have it's own muzzle flash, Not all of them share the same particle effect.

So the cleo script should totally disable the muzzle flash's, and Reattach new ones to each weapon group for example.

Is it possible ?

Edited by Function-X-
Link to comment
Share on other sites

kmlwin.1996

Sorry Function-X-. Uni, thanks for moving this topic back. I was wrong.

Link to comment
Share on other sites

Hey bro, nice idea)

Removing original particle

 

0A8C: write_memory 0x4A0F26 size 23 value 0x90 virtual_protect 1

 

^^Finally found it in IDA lol.gif

Note that it will removes ALL "gunflash" particles in game.

And creating a new particle... Something like...

 

if   0AE1: [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 100.0 find_next false pass_deads truethen   repeat       0470: [email protected] = actor [email protected] current_weapon       if and           [email protected] > 22           [email protected] < 34       then           if               02D6: actor [email protected] fires_weapon [email protected] in_rectangle_cornerA -3000.0 -3000.0 cornerB 3000.0 3000.0           then               0AB1: call_scm_func @getParticleNameByWeaponID 1 [email protected] [email protected] [email protected] [email protected] [email protected] // [email protected]               0AB1: call_scm_func @getCoordsAndAnglesForParticle 1 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]               066A: [email protected] = attach_particle [email protected] to_actor [email protected] with_offset [email protected] [email protected] [email protected] rotation [email protected] [email protected] [email protected] type 1               064C: make_particle [email protected] visible           end       end   until 8AE1: not [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 100.0 find_next true pass_deads trueend

 

^^ Just an example.

Link to comment
Share on other sites

Function-X-

And it's possible !

Great job man, Should i start doing new muzzle flashes tounge.gif ?

Link to comment
Share on other sites

 

@Function - As you wish^^

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
 Share

  • 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.