Page 1 of 1

Trying to make this weapon

Posted: Sun Nov 25, 2007 12:01 pm
by Ultamis
I was watching the military channel the other day and saw this weapon:
http://www.military.com/soldiertech/0,1 ... 0,,00.html

I think this would make a great human bruteshot but I'm having some problems making it work right.If someone could try making this,or just tell me what to do,Id really appreciate it

Clip size:6
ROF:1.5 rounds per second/6 rounds in 3 seconds

Heres where I have the problem.It fires a maximum of 18 shots in a minute,heres some quick math

3(seconds)x3(clips)=9(seconds out of a minute)
60(seconds)-9(seconds)=51(seconds)
51/2(reloads)=25.5 second reload

Is there a way to change the reload times on weapons?

Posted: Sun Nov 25, 2007 11:03 pm
by bumlove
yeah theres a few options for changing chamber time with in the weap tag one changes chamber time in the weapon (time between each shot) I think theres at least two others and one will probably be for magazine

I had a look at the picture and wow I know what I want for christmas

Posted: Mon Nov 26, 2007 4:00 pm
by CaptainPoopface
There are a few ways you can manipulate the reload time, although 25.5 seconds is very long, to the point that you would probably just blow your 18 rounds and then drop the gun rather than wait for it to reload. I don't understand why such a long reload time would be desirable, even if it's realistic...

Anyway:
1) You can manipulate the heat generated per round, the heat threshold, and the heat loss per second in the weap tag, so that firing 18 rounds as rapidly as possible overheats the gun, and then it takes 25.5 seconds to recover.

2) Set the max holding ammo to 2 clips' worth, so that you can hold a max of 3 clips, including the one loaded in the gun. Make the ammo recharge. Unfortunately, the ammo recharge rate is an integer, so for a 25.5 second recharge, you have to do some math:

6 shots per clip -> 25.5 seconds to recharge 6 shots... And you need integers.
-> 306 ammo per clip, 51 ammo per shot, 12 rounds recharged per second
So, after 25.5 seconds, the clip will have fully recharged. The drawback to this method is that the gun is constantly recharging, so judicious use of the gun would mean you never have to reload.

3) Each gun has a different reload time, depending on the chamber time and the jmad animation time, so you'll have to experiment. If a reload jmad takes 1 second (hypothetical example), you'll want that animation to happen ~25 times before the gun is fully reloaded (this will be incredibly obnoxious to watch in-game, just so you know...). Similar to how you have to load every round of the shotgun manually.

4) You can add a second trigger that fires a zero-damage invisible grenade with a very short fuse that chain spawns ammo for your gun, so that you have to "reload" your gun by holding the L trigger. Play with the ROF on the left trigger, the rounds per clip, etc. as described above to make it take 25.5 seconds.

Etc.