Jump to content

WEapon help!


Recommended Posts

i made a lot guns in san andreas but it has a muzzle glitch liike when i point the gun upward the muzzle flash is in the front all i am telling is the muzzle flash is in the wrong places

 

this is what i did when i export the gun it has no muzzle flash model because it won't allow to export two models

 

 

 

please help mercie_blink.gif

Link to comment
https://gtaforums.com/topic/467822-weapon-help/
Share on other sites

  • 2 weeks later...
why is there when i import a gun there are two models the gun and the muzzle flash i did what Ddoodm said in youtube is there another video that will fix this glitch happy.gif

There are two models because the flash needs to be separate from the gun for the game to properly activate the flash when firing. If the flash were part of the gun model then it would be harder to program to turn the flash on and off when firing or not. Done their way, you simply suppress the flash model until the appropriate time ie. when firing. It's much easier to work with when it's a separate model.

 

The reason you're having trouble exporting is because the flash model needs to be a CHILD object of the gun. To do this, link the flash to the gun use the Link tool. This way you'll have the right hierarchy setup and the exporter will see it as one group and the problem goes away!

 

If you want to see for yourself how guns should be set up, run GGMM, select Weapons, right-click over the model then pick 'View Model Details' and select the Hierarchy tab. There you'll see that the flash is a child object of the gun.

 

Link to comment
https://gtaforums.com/topic/467822-weapon-help/#findComment-1060326858
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
  • 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.