| Author |
Topic:
Muzzle Flashes with Expressions
|
BenMcEwan
Registered:
Jul '08
|
Date Posted:
7/18 7:37pm
Subject:
Muzzle Flashes with Expressions
|
Well I'm creating a bunch of muzzle flashes for a machine gun, and need an expression to randomly turn the opacity value to either 100 or 0, nothing in between...
I tried a simple wiggle expression with a super-high value, but that didn't really do the trick.
Another problem is that the muzzle flash lasts more then 1 frame most of the time, so this expression would need to include something to correct that as well..
Any ideas?
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
elemental_fantasy
Registered:
Mar '06
|
Date Posted:
7/18 10:21pm
Subject:
RE: Muzzle Flashes with Expressions
|
|
Just to throw it out there, I have a lot of plates from Combustion 4 of muzzle flashes if you want the library on wmv. I'll send it over to aurellia tomorrow if you want them.
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
BenMcEwan
Registered:
Jul '08
|
Date Posted:
7/18 10:41pm
Subject:
RE: Muzzle Flashes with Expressions
|
|
That'd be great, thanks!
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
Vidina
Registered:
Jan '06
|
Date Posted:
7/19 12:28am
Subject:
RE: Muzzle Flashes with Expressions
|
|
Did adobe fix the lack of WMV support yet? Not that I see the need for it, just asking.
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
BenMcEwan
Registered:
Jul '08
|
Date Posted:
7/19 1:42am
Subject:
RE: Muzzle Flashes with Expressions
- Date Edited:
7/19 2:06am (1 edits total)
Edited By:
BenMcEwan
|
I thought it always supported wmv's... I remember back when I started trying to do vfx, I was using Windows S*** Maker and exporting to wmv, then roto-ing lightsabers with it in AE.
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
bobaandy123
Registered:
Jan '05
|
Date Posted:
7/19 10:23am
Subject:
RE: Muzzle Flashes with Expressions
|
|
Why does the wiggler not work? Make it 30 times at second at a max amplitude of 100 in the layers opacity.
-----signature-----
"I know the movies! Why don't Spielberg?!" ~Michael “Dorkman” Scott, Geekza! Episode 50
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
liambauckham
Registered:
Jul '05
|
Date Posted:
7/19 11:02am
Subject:
RE: Muzzle Flashes with Expressions
|
how i made my muzzle flashes was to make a pre-comp then get a couple frames of machine gun fire then a blank frame then another two and so on, i would then change the scale slightly so it looks like a slightly different flash. i did this for about 10 seconds and exported it as a video i then paste over my footage
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
BenMcEwan
Registered:
Jul '08
|
Date Posted:
7/19 6:55pm
Subject:
RE: Muzzle Flashes with Expressions
- Date Edited:
7/19 6:56pm (1 edits total)
Edited By:
BenMcEwan
|
bobaandy123 posted: Why does the wiggler not work? Make it 30 times at second at a max amplitude of 100 in the layers opacity.
Well when trying that, two things would happen.
1) The Muzzle flash would always stay "on" for more then 1 frame
2) Sometimes it was transparent. The values shifted like 10% or so from the start/end points.
I tried making the max amplitude up to something rediculously high to fix that, but no luck...
I guess doing it manually will get me the results I'm after...
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
Lord_Charisma
Registered:
Feb '01
|
Date Posted:
7/20 8:18am
Subject:
RE: Muzzle Flashes with Expressions
|
|
Yeah, when I did all the muzzles for The Forest II it was manual opacities with copied-and-pasted keyframes. I haven't gotten round to learning expressions properly, yet (I've still to go through some of Rhys's video tutorials properly) but unless you have a huge amount of muzzle flashes to add, manual keyframes should suffice.
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
liambauckham
Registered:
Jul '05
|
Date Posted:
7/27 12:26am
Subject:
RE: Muzzle Flashes with Expressions
|
BenMcEwan posted:
bobaandy123 posted: Why does the wiggler not work? Make it 30 times at second at a max amplitude of 100 in the layers opacity.
Well when trying that, two things would happen.
1) The Muzzle flash would always stay "on" for more then 1 frame
2) Sometimes it was transparent. The values shifted like 10% or so from the start/end points.
I tried making the max amplitude up to something rediculously high to fix that, but no luck...
I guess doing it manually will get me the results I'm after...
i do recall an expression where you would set 3 keyframes i.e. opacity to 0-100-0 then add an expression to repeat. think i saw it on a hologram tutorial to get that flicker effect
i make my flashes from existing ones just make a pre-comp and then setup a pattern to get a flicker. render out and then i have a pre-made muzzle video i just screen over the footage, the rest is just animating it to the gun
-----signature-----
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|
Nosh_Dir85
Registered:
Jun '03
|
Date Posted:
7/29 2:20pm
Subject:
RE: Muzzle Flashes with Expressions
|
|
Create a seperate comp, make one black solid the comp size and one white the comp size. To the top layer(doesnt matter which one is on top) apply a strobe light effect, then go to the effect setting that says "operates on color only" or something like that and change it to "Makes layer Transparent" You need to tweak the strobe duration and period, but now you have yourself a perfect track matte. Nest this comp in your video comp, place it above the image of the muzzle flash layer, then change the muzzle flash layer to use the "Luma Matte (Comp name)". You'll see this option in the time line to the right of the transfer mode tab. Everytime the comp has a white screen, the muzzle flash will be visible, and everytime its black, the muzzle flash will disappear. PM me if you need more info
-----signature-----
"Violent people see violent images, peaceful people see violent people seeing violent images "-Me
|
|
|
Quote Reply |
Active Topic Notification |
Private Message |
Post History
|