View unanswered posts | View active topics It is currently Thu Jan 09, 2025 11:37 pm



Reply to topic  [ 5 posts ] 
 Burst fire pistol WIP 
Author Message
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Burst fire pistol WIP
The Thunderbolt is a large handgun capable of shooting a burst of three bullets in such close succession that it is almost as if they come out of the barrel at the same time.
Image
Burst first simulated via a standard AEmitter rather than Azukki's rather neat bullet spraying wound alternative. I would like to get the bullets to spawn closer together to get them to match with the above description, but when I make the ParticlesPerMinute much more than it is I was getting the same gab between the first and second bullet, but then often having a fourth or fifth bullet near the second and third bullet. I tried to go with three AEmitters with different StartTimeMS and StopTimeMS times, but either could not get it to work at all, or caused a similar problem to the issue I was having with a ParticlesPerMinute much over the 4160 that it is now.

Ejected casings could do with some work getting them to fly through the air less uniformly. They are currently three casings attached to a null.bmp object that I was hoping would have a weak enough joint that they would fall off. Previously I had been trying unsuccessfully to get them to be an object that gibs into three casings instantly on spawning, but I could not get that to work either.

I also suspect there is something off about the offsets, since it destroys itself rarely on shooting.


Attachments:
Thunderbolt.rte.zip [40.13 KiB]
Downloaded 230 times
Fri Jun 12, 2009 4:20 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Burst fire pistol WIP
Asatruer wrote:
Previously I had been trying unsuccessfully to get them to be an object that gibs into three casings instantly on spawning, but I could not get that to work either.

In a .lua file attached to an invisible object that gibs the three casings:
Code:
function Update(self)
self:GibThis();
end


Fri Jun 12, 2009 4:22 am
Profile
Banned
User avatar

Joined: Thu May 14, 2009 9:22 pm
Posts: 826
Location: Lookin' forward to mocking people on Jan 1st 2013.
Reply with quote
Post Re: Burst fire pistol WIP
Asatruer wrote:
I also suspect there is something off about the offsets, since it destroys itself rarely on shooting.

FireIgnoresThis = 1 or something like that should fix that problem.
Or move the muzzle a few pixels forward.


Fri Jun 12, 2009 11:04 am
Profile YIM
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Burst fire pistol WIP
No, he's using emitters so that won't work.
You should switch to TDExplosives so that the rounds inherit the velocity, that way you won't hit yourself no matter how fast you're moving assuming proper muzzleoffsets.


Fri Jun 12, 2009 1:21 pm
Profile WWW
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Re: Burst fire pistol WIP
I probably do not have a proper muzzleoffset. I essentially just copied the offsets used by the Ronin Desert Eagle, but later tried to follow the offset tutorial on the wiki, but that messed things up so I had to revert it.


Sat Jun 13, 2009 6:22 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]


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.080s | 15 Queries | GZIP : Off ]