Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,761 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  
Function-X-

Different muzzle flash for each weapon

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-

Share this post


Link to post
Share on other sites
Bad.boy!

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

Share this post


Link to post
Share on other sites
kmlwin.1996

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

Share this post


Link to post
Share on other sites
yair1221

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

Share this post


Link to post
Share on other sites
uNi

Moved back on request.

Share this post


Link to post
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-

Share this post


Link to post
Share on other sites
kmlwin.1996

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

Share this post


Link to post
Share on other sites
DK22Pac

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.

Share this post


Link to post
Share on other sites
Function-X-

And it's possible !

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

Share this post


Link to post
Share on other sites
DK22Pac

 

@Function - As you wish^^

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.