Jump to content

Gun smoke + Muzzle Flash


marauder2k9
 Share

Recommended Posts

Hey guys first time new topic for me please dont go hard on me cos im irish and new at this lol

 

Does any1 know how to get a muzzle flash to emit from the barrel of the gun? and also smoke? i know this will need to be done wit some sort of emitter but Lua code is kinda new to me =/ if ne1 can help it will be much appreciated :D

Link to comment
Share on other sites

Have a look through this thread

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Actually, the FPS example has both of these, I believe. If it doesn't have a muzzle flash, you can just...

 

1. Add a quad mesh where the end of the gun is.

 

2. Paint it with a muzzle flash material, with an additive blend.

 

3. Show the muzzle flash mesh when the gun is fired, then gradually darken and then hide it.

 

The smoke is already programmed in that example. It just uses an emitter that gets turned on when the gun is fired.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

When i load up the FPS Example it creates a point light at the end of the gun when it is fired no smoke =/. What i want to do is create a muzzle flash similar to the likes of bf2 and crysis, uno a big flash lol i dnt know ne other way to describe it soz lol i will try wat you said josh thanks for replying :) also is there any kind of limit on the amount of emitters that can be created at the end of the gun? like say i wanted to create the gun smoke and a heat haze? gun smoke as soon as its fired and then heat haze for a few seconds wen it stops? i seen this in a game once (cant remember the name) and it looked really well lik ;)

Link to comment
Share on other sites

Why dont you get Josh to change your Group you'd get alot more help with this on the registered users forums, just send him the details

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

o yea i sent that before .... i think =/ lol hmm ill send it again :) thanks

 

 

You're welcome, no point cutting yourself off from resources.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...