View unanswered posts | View active topics It is currently Thu Dec 26, 2024 4:28 pm



Reply to topic  [ 4 posts ] 
 Muzzle effect problems 
Author Message
User avatar

Joined: Sun May 30, 2010 5:30 am
Posts: 853
Location: Auckland, NZ
Reply with quote
Post Muzzle effect problems
I want the Smoke to come out of the barrel, but the ejection offset doesn't bloody work, the ejection is always at 0,0 on the center of mass no matter what the ejection offset is.

This is the code, any help would be apperciated.

Attachment:
Sugiura .50 Revolver.ini [9.63 KiB]
Downloaded 238 times


Mon Oct 22, 2012 3:44 am
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Muzzle effect problems
Isn't ejection-offset angle kinda wonky anyway? I'm not sure though, so don't quote me on that.

Your best bet for a workaround is probably to have the gun fire an AEmitter that emits the smoke and actual bullet.


Mon Oct 22, 2012 4:44 am
Profile YIM
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Muzzle effect problems
The ejection angle is, like, thirty degrees upward of backward. You can make it a negative speed so it's around thirty degrees down of forward. Or at zero speed, it's not really at a particular angle.

But, it doesn't seem that's the problem he's having, he's concerned with the position, not the angle, if I'm understanding correctly.
So let's take a look at that.
Ctrl+F "EjectionOffset" on your code, and take a look. You have it defined twice, once for the offhand version, and once for the primary one.
The ejection offset for the primary one is probably at 0,0 because that's what you have it defined as. :P


Mon Oct 22, 2012 8:17 pm
Profile
User avatar

Joined: Sun May 30, 2010 5:30 am
Posts: 853
Location: Auckland, NZ
Reply with quote
Post Re: Muzzle effect problems
:oops:
Well... This is... Embarasing. I completely forgot about the Offhand version.
Err, thanks guys.


Mon Oct 22, 2012 8:28 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.060s | 14 Queries | GZIP : Off ]