123. Dynamic Machine Gun
• Create a machine gun with dynamic ricochets types
• Use Expressions to emit unique particles on each surface
26:00
494,135 Views
Tutorial Notes:
No information available at this time.

COMMENT NOW!


* Email will not be published
312 Responses to "Dynamic Machine Gun"
LUNTK
03/07/2014
Hey great Tutorial! I have a question: I finished the script without an error, but there is still an AEwarning sign, and the debris are not moving.
ibrahim krimat
12/20/2013
you are the best
sarang khopker
09/13/2013
This website has been the tutorial site for after effects compositing ,but what for nuke compositing
chris
08/05/2013
guys help me.am new with after effects.whats the best way to learn it nd where can i get gud tutorials for after nd 3d max. pliz help
epic0217
08/07/2013
You've already found the best website for tutorials on how to use after effects. That website is video copilot.
Miles K
07/08/2013
When I alt click position x and y, it does not bring up the buttons next to the expression: position x and y. I am using a mac and adobe after effects cs6. Thanks.
adi
06/10/2013
how can i do it with my video not picture
Trust Yardley
06/01/2013
Andrew Kramer, is the "Particular" you use in this tutorial the same "Particular" that you sell on your website?
Felix
02/19/2014
Yeah it is
Sebastián
05/29/2013
Hi andrew, great job, but in this tutorial would have preferred to have done from a video, not a picture, even so it is still impressive, congratulations.
nizar
05/22/2013
this guy is the F***ING best at what he do and he makes every thing looks HARDER but he's the MAN
John
03/08/2013
nice~
Bret
03/05/2013
Ok, I tried using the forum without success. How do I add the sound of a machine gun for each shot? I tried putting the sound of a gun shot in each comp, but nothing comes out.
j.shokri
03/04/2013
Hi andrew , i take comment for you from iran , yor are realy proffesional , end of this tutorial video you make 2layer adjastment but you dont say any thing about that , becuas you creat awesome color for this movie , can i ask you learn it to me or take that 2layer adjusment tu project , please andrew , my work is edit of wedding film and sport clip , i need it
larz
02/22/2013
oh yeah eamony youre right .. this is very awesome ..
eamonv
01/25/2013
wow this is awesome just wanted to say you should do a final cut pro x toturoil
Vova
01/23/2013
Thank you for your lesson, Andrew, Thanks to you I have learned a lot already, Thank you Andrew, I teach not only the magic of your vidio and USA language for your lessons)))))
Benjamin
10/17/2012
Nice tutorial! But I the effect doesn't work for me! Cause there is no particles coming out!! PLEASE HELP ME!!
kippy
10/16/2012
this is one of your best by far.
dont get me wrong all of them are chocked-full of
helpful tips.but this technique can be used in so many ways.
Lewis
09/09/2012
Your kids must be so lucky if they wanna go into video editing! I mean, they would know eveything within a wekk with you as their dad!

Anyway, Great Tutorial Annnndrew Kramer :D
David
09/02/2012
I can't even get particular to follow my Null even though I have parented everything correctly. The dirt charges aren't even showing !!??
Usama
08/21/2012
Hey, good work. Just needed to ask what I can do to make bullet marks, the one from your Action essentials 2 pack. Instead of just going everywhere the gun hits, placing holes one by one, is there any faster way?

Thanks :)
Roman
07/15/2012
Hi !
It's AWESOME tutorial, thank you Andrew !

But I have a problem! When i finish the script Dirt footages like a texture are no seen any more. No misstakes, I checked many times, I've done all right. Why are they gone? Null object saved the trajectory but there are no dirt charges following.

P.S. Big fan of you, done almoust all your tutorials, you're genius of video design.
Sorry for my bad english.
Jessi
07/30/2012
I had the same issue until I shut off the background layer then realized the debris image was there but very small, I just cranked up the particle size to about 200 and now I could see it, then I just brought back the background.
javeedbhat
07/11/2012
hello friends
John
07/03/2012
What stock footages of action essentials 2 did Andrew Kramer use to get his wall hits it looks really good!!! Please someone tell me im filming an action scene and i want to make it as realistic as i can!!!!!!

Thanks
Pat
12/20/2012
Just take a bullet hole image and stick it in the same comp as Wall_Debris.mov, scale it down to fit and snap you got bullet holes.
francis anthony
06/28/2012
Can this work in final cut pro 7
Naail Khan
06/08/2012
You should make a tutorial on audio react templates and implement it in some advanced Andrew Kramer type way
Fauzan
06/01/2012
how to drag piston XY with after effect cs4
Uzair 3d
06/01/2012
plz plz plz teach how to make anaglyph 3d plzzzzzzzzz
moshtaq
05/24/2012
hello gus could some help me ...when i write expression ....it says wrong in line expected ;
...i have been too carfull...and written it so many times ....pls help this is my expression


Alpha =thisComp.layer("dirt").sampleImage(thisComp.layer("gun").transform.position,[1,1])[3];

on = thisComp.layer("gun").effect("fire rate")("Slider");
off= 0

if (Alpha < 1){
off
}else{
one
Ben
06/09/2012
change it to else{
on
}
(not one) I saw Andrew make that mistake but he must have edited it out
jeff
06/08/2012
Pretty sure it's else{on , not else{one , he typo'd
mushtaq
05/24/2012
hello man ...........when i write expression it till me there is wrong in line ...........i have been carful in writing the exprssion ...with capital or samll.....this my expression

Alpha =thisComp.layer("dirt").sampleImage(thisComp.layer("gun").transform.position,[1,1])[3];

on = thisComp.layer("gun").effect("fire rate")("Slider");
off= 0

if (Alpha < 1){
off
}else{
one
HOOMAN-TEXT
05/14/2012
thank you
shankor
05/02/2012
and what if i cracked it? i mean the trapcode plug-in?
guzpluks
04/11/2012
idk why but i dont have the trapcode D: help
Nathan
04/21/2012
Its a 400$ third party plug-in search it up
Nathan
04/21/2012
Its a 400$ third party plug-in http://www.redgiantsoftware.com/products/all/trapcode-particular/
Owen
04/20/2012
You have to buy it
They sell it in the products page for ~$400 but there is a NAB sale going on so if you get it in the next few days you get 25% off.
Hope I helped!
jamshid
03/30/2012
helow shap cd as compane videocopilot



Lee Geordie
03/21/2012
Totally amazed mate....must admit the best tutorials seem to come from the States....
amir
03/20/2012
hi plz more text project
Bijo
03/19/2012
OLDEST DOOM VERSION I EVER SEEN O_O
Guy Jocelyn
03/12/2012
You're my master,the best of the best,from Ivory Coast(West Africa)to you.
Keep make me dreaming...
brooke
03/12/2012
hi andrew i wat you to know that i like your tutorials!! tnx!!! i just have one question? i am using AE cs4 but it seems that i dont have trapcode on my effects channel. is that a plug in? where can i download it? tnx
Fgmaniac
03/15/2012
Trapcode is the name of the company that produces the plugin. You can download Trapcode Particular for $399 from their website
Jeffrey
03/11/2012
bullet holes in the wall came with the wall debris??
Arn
03/10/2012
I dont have the sprite option in the particle type.

Im using AE CS5.5
Danjalo
03/08/2012
Hi Andrew,
I thank you for all the tutorial, Now i can create things on own with the help of your technics.I was able to buy all your elements such ACTION MOVIE ESSENTIAL and PRO SCORES, TWICH and so on. Once again I thank you for your kind support. Please always keep us update. Thans
DANJALO

ivan
03/06/2012
is great!... :D
bright
03/06/2012
Andrew you are great.
I wish to Meet you in the Future
sam
02/27/2012
hey, would you be able to something similar to this in FinalCut Express??
Fgmaniac
03/15/2012
Ha ha ha! Wow you are hilarious!
Brenden
02/26/2012
I have been following you from day 1 and this is by far your best tutorial IMO.

Thank you for your many years of dedication to teaching. I have gone from noob to paid VAE.

Sincerely,
Brenden
BWingMedia
Kim Reinhold
02/14/2012
@ Andrew Kramer: You should add Particular in 3rd Party Tools!
jorge
02/14/2012
andrew- your the best..
sharon
02/07/2012
slow the crap down your going to fast!!!!!!
Michael
02/25/2012
Try using the pause button. I have to backup a few frames every so often to catch details I may have missed.
jompi
02/04/2012
Hi,i cant find trapcode or i dont have it?im using adobe after effects CS5
Manual Shock
02/23/2012
Trapcode is a plug-in from Red Giant. Just google Trapcode and it should be the first hit.
WesNyle
02/04/2012
HOW can I get my Machine Gun sounds to sound so perfect like that? I am having trouble getting the fast gun sounds to sound perfect like that! I have the samples, but they just arent turning out right! Please help!!!
michaelhaseth
01/29/2012
Some of the "new" first person shooters! I was litterly lmao!
Sam
01/28/2012
Thank you for this nice tutorial. It's useful for me to create a film by my own.
jason
01/28/2012
hello , nice tutorial , but how did you change the background and add the trees and the building ,, please i wana now how you did it
thanks
mace window
01/27/2012
hey guys how to install plug-ins
Paul Baran
01/27/2012
Awesome!!! I've used this technique for a little project for my media course exercise, THX a lot!!!

http://vimeo.com/35737993
Magnus
01/22/2012
Greetings from Norway!! <3 I love your work, Andrew! But, I'm mad at you for using these expensive effects!! cx I can't afford that trapcode particular effect thingy..... damn you.... <3
bob
04/27/2012
u can download the epensive effects for free if ur naughty and hav the know -how :)
daniel
01/27/2012
You can download the trials for free... I was reluctant at first but there is really no disadvantage to downloading the trial, except you can't publish your works... but if you want to publish a work that uses Particular, you should probably pay 'em
Glorious Eagle
01/17/2012
help bro when u said to go to the particle settings and get sprite i cant finde sprite on my Adobe after effects i have CS4 eney idears from u or anyone
stefan
01/12/2012
you really are a god, aren't you?
Sophia
01/12/2012
awesome. thanks.
Felix
01/10/2012
cool
killr0y
01/08/2012
Andrew, awesome effect as per your usual. One thing that you may want to add is a lingering dust in the air that builds as you fire more bullets. As the sprites/particles fade, they would disperse microscopically. Minor detail but it may help in the future!
MOSTAPHA
01/04/2012
YOU ARE AWESOME AK
StanvdM
12/21/2011
"I'll trust you guys will be more careful. We're talking about guns here." hahah LOL
Graham
12/18/2011
Hey what's up!
Man I've REALLY been away from VC. Excellent tutorial as usual!! I especially love your use of expressions. Would love to learn them.
simon
12/17/2011
I am trying to do this, and for some reason it just looks like the sprite is moving from left to right and not playing the full video?. hope that makes sense
santiago
12/15/2011
Grate tip but how do you give it depth of field or work with z space for the particles??????
Adrian
12/15/2011
As always it was fantastic . . .
tanx andrew
Robert
12/14/2011
You are an inspiration.
I want to get a faster computer and get creative.

Thanks
TheMightyThor
12/13/2011
Right after this Video, i immediately whipped out my 3.5 floppy disk of DOOM and started playing it, Andrew was right its AWESOME! :P
henk loorbach
12/13/2011
amazing. thanks.
Marc
12/10/2011
You got a lot of useful tutorials, but this one is reaaally really useful.
MOHAMMED_500
12/10/2011
thank you very mach andrew but ithink if make the lesson on the footage that in the blog will be much beter

any way thanks

oh forget i have download Action Essentials 2

its have realy coool thinks and irealy like the blood effects

thank you mannnnnnnnn
Ewan
12/10/2011
Hi Andrew I love your tutorials and they have really helped me if you can please tell me what screen recorder you use to record the computer. Thanks
Name
12/09/2011
Look at my name HEHEH
Jack
01/17/2012
dude, naming yourself "name" just makes you look like a noob on steriods. Jus' sayin'.
Daddy_C
12/09/2011
Andrew! RAT TAT TAT TAT TAT!!!!!!!!!! Hit da deck ya dirty rat!!!!...CLASS once again Master Kramer. A true Legend in the making. Peace my brother!
John Johnson
12/08/2011
Cool
x35mm
12/08/2011
Instead of using 3 different particular layers, if you create a slider expression that is limited to 3 values, (0,1,2) you can use a single layer. I haven't tested this though, so this is all theory..


Particles / second
AlphaDirt = thisComp.layer("Dirt").sampleImage(thisComp.layer("Gun").transform.position,[1,1][3];
AlphaFloor = thisComp.layer("Floor").sampleImage(thisComp.layer("Gun").transform.position,[1,1][3];
AlphaWall= thisComp.layer("Wall").sampleImage(thisComp.layer("Gun").transform.position,[1,1][3];
if (AlphaDirt < 1 && AlphaWall < 1 && AlphaWater < 1){
Off;
} else {
On;
if (AlphaDirt > 1) {
thisComp.layer("GlobalLayer").effect("Slider").setValue(0); }
else if (AlphaWall > 1) {
thisComp.layer("GlobalLayer").effect("Slider").setValue(1);}
else if (AlphaWater > 1) {
thisComp.layer("GlobalLayer").effect("Slider").setValue(2); }
}
}

Sprite Expression
if (thisComp.layer("GlobalLayer").effect("Slider").Value == 0)
{
thisComp.layer("Particular").Sprite = thisComp.layer("Dirt_Debris");
}
else if (thisComp.layer("GlobalLayer").effect("Slider").Value == 1)
{
thisComp.layer("Particular").Sprite = thisComp.layer("Wall_Debris");
}
else
{
thisComp.layer("Particular").Sprite = thisComp.layer("Water_Debris");
}

I know the syntax isn't correct, so this WONT work, but if you fix the compile errors and use the correct functions, it should work? The slider control just acts as a holder for a global variable so the other expressions can reference the value set from sampling the different layers.

Maybe Andrew can comment and fix it for me, I don't even know if it is possible to use an expression on the Trapcode Particle Sprite part..
=)
RedHeart
02/03/2012
and do u think AK will care a bit to your explaining of the expressions in here,he always wants to keep things simple as possible as he could to let people learn faster,not to sell his products,but to make all people know how to change the realty footage they take into something else and thats what mason's wants if u come to my opinion,but dont ;) keep the simplicity of your work Andrew,no offence bro,its just an opinion,i have a tall bread thats why i think like that and there's a point or two in my words,maybe more,not sure enough to admit,God knows i like good things,but masons didn't left any good without a... end of my short story.
Harkirat Singh Lal
12/05/2011
Fantastic work Andrew...keep rocking
FamilyFirstJ
12/04/2011
You Are a F****in genius! Sorry...I meant to write F****IN MASTERMIND! I s it cool to use words like, Mastermind
Azhar
12/03/2011
Fabulous work "Andrew Kramer"
Jacard
12/03/2011
Dude... This is really gonna come in handy. I was actually trying to figure something like this out yesterday.

Thank you.
Maik
12/03/2011
"...just water or so... who cares..." :D :D :D
Thomas
12/03/2011
Very good tutorial. A lot of ideas can come from this concept.

I really appreciate you sharing your knowledge.
Faiz Poerwita
12/03/2011
can you give me link for particular because my particular is demo
Fgmaniac
03/15/2012
That's cause ypu have to pay $399 for Trapcode Particular.
Farshad
12/03/2011
Hi
I can't download Project Files
Brus
12/02/2011
Hi Andrew. El tutorial esta exelente y se comprende claramente muy bueno ... saludos.
Mj
12/02/2011
LOL the Doom jokes were hilarious.
Awesome tutorial as always! :)
mustafa
12/02/2011
I love/admire/die for/kill for every tutorial of yours. I'm not overreacting, right.
Raphael
12/02/2011
I can't find trapcode on CS5, anyone plz help!?
Danjalo
03/08/2012
TRAPCODE IS DESIGN BY RED GIANT. YOU HAVE TO BUY IT AND ADD IT TO YOUR PLUG-IN. THANKS
FamilyFirstJ
12/04/2011
trapcode is a red giant plugin they do have free trials
drew
12/03/2011
trapcode is a red giant plugin that doesnt come with AE CS5, it runs around $400
richard
12/03/2011
Trapcode is the plug-in of a third-party, it's not available on AE, you have to buy or open google page and...you know what to do!
Volkar
12/03/2011
You must install it !!
JJ
12/03/2011
It's not a free plugin. You have to buy it.
HS
12/03/2011
Trapcode is a third party plugin, usually costs about $300
Anthony
12/03/2011
just go to effect and presets and type it in if ints not in there you didnt install it right
Vrumona
12/03/2011
Trapcode Particular is a separate non-standard AE plugin.
This you have to buy, visit: http://www.videocopilot.net/proshop/.
virat
12/02/2011
if you have not installed on your root drive (the windows one) go on to it search for trapcode copy all the files and paste them on to the folder with plugins
Juan
12/02/2011
TrapCode is a plug-in
tim
12/02/2011
yea me neither
Jay Five
12/02/2011
Trapcode Particular is a plug-in, made by Red Giant.
It's well worth the ticket!
Jack
12/02/2011
Trapcode is a 3rd party plug in from Red Giant.
http://lmgtfy.com/?q=trapcode
Chinese Dragon
12/01/2011
I was just thinking maybe you can try to produce a plugin for Action Movies' gunfire, shooting lines and explosion. The plugin can be selected the gunfire start point and end point, and then create a realistic shooting, which by a easy method and save us lots of time.

Certainly we'll buy that to support you, dear AK!
Nommers
12/05/2011
Like VideoCopilot's optical flare's?! That would be great!
Drew Collins
12/03/2011
That would be so awesome!
Chinese Dragon
12/01/2011
Very practical tutorial! We all like to create Action Movies, and this is very useful for our creation!

Mr. Kramer! We love you, hope to see more magical secrets about gun fire and shooting!
Brodie Gwilliam
12/01/2011
i love your sense of humor, i was killing myself with the doom stuff and putting the computer on turbo comment........ its the only reason i watch your videos
rainny
12/01/2011
i love your design :)
mada
12/01/2011
SOO COOL!!
dang
12/01/2011
How can i get more information about making my own expressions? Like Andrew said "it's not that hard you just have to know what your doing", I'm good with math but i don't know programing language. where can i learn more about the AE expression syntax?
Anthony Coffee
12/01/2011
Clearly, if I lived in Cali we would hang out. My girl even knows who you are just by your voice. She gives me that look which makes me laugh. Thanks again and again and keep making new plugins!
LACHOTA
12/01/2011
AWESOME THANKS MAN!!!!
Mogen
12/01/2011
battlefield3 bro lol
lol
12/13/2011
lol thats what i thought :D
HAO Yucheng
12/01/2011
excellent!!!
Mark
12/01/2011
As someone living right outside Detroit, I thought your Detroit joke was 'particular'ly not funny. And by that I mean I laughed really hard.
Currently showing 100 of 312 Comments.