View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:17 am



Reply to topic  [ 6 posts ] 
 Need Help Creating Ammo Effect 
Author Message
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Need Help Creating Ammo Effect
Hey guys, just me failing at lua again, need a bit of help making a cool bullet effect so I'm going to explain this the best I can.

The ammo type my faction fires is pretty much a normal machine gun round, the same sort of thing the coalition fire but with a small and cool difference. Rounds have a core of plasma that heat up when fired from a smg/assault rifle, they glow while shooting through the air and burn when they are in the flesh of their target. I've tried all sorts of trickery using my .ini knowledge. I tried using longer glows for a quick fix but found when fired at an angle the glow doesn't follow the direction of the bullet. Screenie below:

Image

But yeah not sure how I could resolve this without using lua which I still suck at. -.-

If I'm going to achieve a cool bullet effect using lua I may as well push the boat out and make it a bit cooler than just a glow so all suggestions/diagrams/inspiration/code would be all be greatly appreciated. xP


Fri Aug 10, 2012 11:59 pm
Profile WWW
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Need Help Creating Ammo Effect
The easiest way is to use emitters emitting glow particles both forward and backward. But this can be really hard to balance right and get looking good.


Sat Aug 11, 2012 12:04 am
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Need Help Creating Ammo Effect
Yeah I tried something like that, it made it look a bit fizzly, not really what I was going for. I wanted more of a consistent glow on the bullet like it is glowing hot. It'd make them a little more visible too.


Sat Aug 11, 2012 12:10 am
Profile WWW
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Need Help Creating Ammo Effect
Some simple lua that created glowing particles in front of, on and behind the damaging particle would probably be the way forward,


Sat Aug 11, 2012 12:32 am
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Need Help Creating Ammo Effect
Cooleh, I'll look into how I can do that.


Sat Aug 11, 2012 12:42 am
Profile WWW
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Need Help Creating Ammo Effect
Right... think I know how to add the emitters but how do I reference the damage particle? o.O


Sat Aug 11, 2012 8:11 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.041s | 13 Queries | GZIP : Off ]