Author |
Message |
AndyChanglee
Joined: Sat Jun 23, 2012 2:03 pm Posts: 340 Location: At home, drinking some tears (probably mine)
|
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 |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
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 |
|
|
xenoargh
Joined: Fri Dec 30, 2011 3:33 am Posts: 276
|
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 |
|
|
AndyChanglee
Joined: Sat Jun 23, 2012 2:03 pm Posts: 340 Location: At home, drinking some tears (probably mine)
|
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 |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
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 |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
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 |
|
|
AndyChanglee
Joined: Sat Jun 23, 2012 2:03 pm Posts: 340 Location: At home, drinking some tears (probably mine)
|
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 |
|
|
Gotcha!
Joined: Tue Apr 01, 2008 4:49 pm Posts: 1972 Location: The Netherlands
|
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.
|
Thu Jul 05, 2012 5:28 pm |
|
|
AndyChanglee
Joined: Sat Jun 23, 2012 2:03 pm Posts: 340 Location: At home, drinking some tears (probably mine)
|
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 |
|
|
|