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



Reply to topic  [ 9 posts ] 
 How would you make a burst fire gun? 
Author Message
User avatar

Joined: Sat Jun 23, 2012 2:03 pm
Posts: 340
Location: At home, drinking some tears (probably mine)
Reply with quote
Post How would you make a burst fire gun?
So I was thinking of making a rifle that fired in bursts of 3. So basically three 'pews' per click/firing. I couldn't think of any way to modify the Fire Rate number, so I thought that I could probably increase the amount of emitted particles to 3 instead of 1, but it doesn't really give the effect. I would need a new sound file for it but i'll worry about that later.

Any ideas? Thanks for anything you can think of!


Wed Jul 04, 2012 1:37 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: How would you make a burst fire gun?
There is a lua script for burst firing used on the Coalition's Auto Pistol in Coalition.rte\Devices\Weapons\Burst.lua

Using it on the HDFirearm should work fine.


Wed Jul 04, 2012 1:55 am
Profile

Joined: Fri Dec 30, 2011 3:33 am
Posts: 276
Reply with quote
Post Re: How would you make a burst fire gun?
Just adjust the burst timer until it works like you want, it's really easy :-)


Wed Jul 04, 2012 3:39 am
Profile
User avatar

Joined: Sat Jun 23, 2012 2:03 pm
Posts: 340
Location: At home, drinking some tears (probably mine)
Reply with quote
Post Re: How would you make a burst fire gun?
Thanks for the help! Its looking nice.

One thing I want to make clear is what counts as 'copying' or using other people's work. I haven't used anybody's sprites, they are of my own creation, but one thing im kindof unsure about is the code that im using for the Katana, Shuriken and Bow from the Unitec mod.

I didn't use the .lua files where you can restore weapon health or anything like that b/c not only do I not understand how it works, its also not my work so none of those three have it. I did use the .ini code as a template, and I adjusted some numbers and offsets.
Have I violated anything so far, or should I just pm the author of Unitec now before I am publicly shamed?


Wed Jul 04, 2012 3:38 pm
Profile
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: How would you make a burst fire gun?
Usually, crediting someone in the opening post of your mod release is enough. Some mod makers however would like you to PM them before using their works. Some flat out disallow using their code as is and need some major changes before allowing usage. If you want to be on the safe side, PM the mod creator.


Wed Jul 04, 2012 4:12 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: How would you make a burst fire gun?
Gotcha is a nice guy, so once he knows via PM I'm sure he'll be cool with it.


Wed Jul 04, 2012 5:45 pm
Profile
User avatar

Joined: Sat Jun 23, 2012 2:03 pm
Posts: 340
Location: At home, drinking some tears (probably mine)
Reply with quote
Post Re: How would you make a burst fire gun?
Ok thanks! Im actually reconsidering what kind of mod im actually going to make though, I think im going to change the theme so I wont really need to borrow the Katana and Shuriken. If im going to make a mod, its going to be with my things!
Again, thanks for the replies!


Thu Jul 05, 2012 1:59 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: How would you make a burst fire gun?
Roast Veg wrote:
Gotcha is a nice guy...


Aw you. <3

Yeah, do borrow that coding from unitec. I really don't mind. Duh102 made some code for that bow, but I doubt she's wanting for credits. No need to credit me either.

Don't feel afraid to pm someone for permission to use something. I do it all the time. :lol:


Thu Jul 05, 2012 5:28 pm
Profile
User avatar

Joined: Sat Jun 23, 2012 2:03 pm
Posts: 340
Location: At home, drinking some tears (probably mine)
Reply with quote
Post Re: How would you make a burst fire gun?
Great to know :) . Its not right to not credit people though. Anyways, back to making HDFirearms

To anybody who wants to know about my mod...


Fri Jul 06, 2012 11:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 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.067s | 13 Queries | GZIP : Off ]