View unanswered posts | View active topics It is currently Tue Apr 16, 2024 4:43 am



Reply to topic  [ 12 posts ] 
 Select Fire V1.3: G3, MP5, SCAR à la L4D2 
Author Message
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
 Select Fire V1.3: G3, MP5, SCAR à la L4D2
Correct me if I'm wrong, but select fire seems to have not been done well yet, so that's why these otherwise unspectacular guns are kinda special.
Image
Sorry for the awful image quality, I lazily wanted just one gif to deal with, and there were filesize limitations. Shadow Echelon Operator not included.

There's a HK G3 Battle Rifle, a HK MP5-SD Submachine Gun, and a FN SCAR-L Assault Rifle.
The G3 and MP5 both have conventional 4-position firing modes, (safe/semi/burst/auto) while the SCAR has special delay modes.
These modes can be selected by changing the AI mode of the actor operating the weapon.

Patrol AI Mode: Fully Automatic
Gold Dig Mode: 3 Round Burst (Auto Bursts for the SCAR)
Sentry (or any other) Mode: Semi-Automatic (Delayed Automatic for the SCAR)
Actually incorporating the safety would have been silly.

In fully automatic mode, recoil can accumulate and un-align your sharp aiming. This can also happen when you fire subsequent bursts immediately.
In semi-automatic or delayed automatic, your firing rate is drastically reduced, so you don't have to worry about recoil.
Attachment:
Select Fire V1.32.rte.rar [873.58 KiB]
Downloaded 583 times

Known issues:
-Above the screen, the script fails to find the actor, and it doesn't fire automatically/bursts. Not a big deal.
-Uses AI modes to select a firing mode, which can be an annoyance.
-In burst fire, the "cam doesn't reset", so it's acting like a M16A2 trigger cam mechanism, instead of emulating a HK trigger cam design.

Credits:
Some bits of script and the recoiling method were taken from Abdul Alhazred's recoil demo.
The sounds are taken from the 2009 Valve game Left 4 Dead 2
The MP5SD firing sounds are taken from this video of Spanish GEO officers firing one.
The module icon is from a hkparts.net image
The MP5 and MP5 magazine sprites are from the sprite dump, made by p3lb0x

Feel free to use these scripts for stuff, crediting accordingly would be swell. PM me if you need some help adapting the script to your application.


Last edited by Azukki on Sat Nov 13, 2010 10:05 pm, edited 25 times in total.



Sun Oct 31, 2010 8:43 pm
Profile
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
This is really cool, and recoil would be awesome.
The only thing I might change would be possibly having golddig or whatever cycle through the modes, so you can still use patrol and such while keeping on a specific mode.


Sun Oct 31, 2010 9:17 pm
Profile WWW
User avatar

Joined: Sun Feb 28, 2010 5:29 am
Posts: 172
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
WOW! this is great! the fact that you cant quick reload by switching is amazing! very very good! if it was a contest, id give it 10/10


Sun Oct 31, 2010 9:27 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
Yeah, good idea, Pete, but then I'd need to fiddle with a manager particle and/or or a global list, or something like that. I guess I'll need that anyways for a Lua recoil system, so maybe I'll switch the selecting method over to that after I get a Lua recoil system incorporated.

Thanks for the comment, Cmdr 5ir. What's kinda funny about that is that the method of switching modes that would cause quick reloading would be more complex and difficult to manage than what I'm doing.

I have a RecoilDemo.rte installed, which I was going to partially use for the recoil, but I can't seem to find it on the forum, so I'm not sure who made it. It had a SMG and a Rifle. Anyone know? [see below]


Last edited by Azukki on Sun Oct 31, 2010 11:13 pm, edited 2 times in total.



Sun Oct 31, 2010 9:32 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
Thanks. I had a suspicion that it was Abdul's, and I searched accordingly, so it's kinda odd that I didn't find it. Oh well.


Sun Oct 31, 2010 9:42 pm
Profile
User avatar

Joined: Mon Jun 21, 2010 1:40 am
Posts: 208
Location: Hiding in a freezer at Wal-mart
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
Nobody has done a good MP5 to my knowledge, that would be NICE.


Sun Oct 31, 2010 9:58 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
Eh, why not?
I'll have one up in a bit.

Aaannd it's up! MP5-SD [suppressed] with a 40 round mag, sprites courtesy of p3lb0x.


Last edited by Azukki on Sun Oct 31, 2010 11:36 pm, edited 3 times in total.



Sun Oct 31, 2010 10:34 pm
Profile
User avatar

Joined: Mon Jun 21, 2010 1:40 am
Posts: 208
Location: Hiding in a freezer at Wal-mart
Reply with quote
Post Re: Select Fire HK G3 Battle Rifle
Azukki wrote:
I have a RecoilDemo.rte installed, which I was going to partially use for the recoil, but I can't seem to find it on the forum, so I'm not sure who made it. It had a SMG and a Rifle. Anyone know?

Wait a second, i remember that in the minor mod dump! Give me a sec to find it.
EDIT: Nevermind, I didn't see the post above.
Nice! Liking the new MP5, perfect for my stealth ta-ly-ard :-P


Sun Oct 31, 2010 11:05 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Select Fire V1.3: G3, MP5, SCAR
Update:
Recoil, thanks to Abdul.
SCAR, with auto-burst fire à la L4D2! And semisemiauto kinda like HL2's pistol, where it fires again if you hold the trigger until after the recoil from the last shot is over, except there isn't an option to click sooner and fire with that recoil... Not sure how I'd do that...

SCARs don't actually have fancy electronic delay select fire, but neither does anything else real, and a completely fictional gun would seem a bit out of place in the mod. And it made things a little easier since I could emulate L4D2's Combat Rifle to get started.

Poor mans sniper wrote:
stealth ta-ly-ard :-P
Uhh, what?


I goofed up and still had the SE Operator perk in there, when that was supposed to be the stats for everyone. Fixed in V1.32 Also, a slight SCAR buff, for range and penetration.


Sat Nov 13, 2010 7:30 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Sun Nov 01, 2009 3:00 pm
Posts: 4144
Location: Hell.
Reply with quote
Post Re: Select Fire V1.3: G3, MP5, SCAR à la L4D2
A good handgun would make this pack even better.


Sat Nov 13, 2010 10:59 pm
Profile WWW
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Select Fire V1.3: G3, MP5, SCAR à la L4D2
Feel free to Luaify the Gal-23
viewtopic.php?f=61&t=19789


Sat Nov 13, 2010 11:02 pm
Profile
User avatar

Joined: Mon Jun 21, 2010 1:40 am
Posts: 208
Location: Hiding in a freezer at Wal-mart
Reply with quote
Post Re: Select Fire V1.3: G3, MP5, SCAR
Azukki wrote:
Poor mans sniper wrote:
stealth ta-ly-ard :-P
Uhh, what?

Oh, I re-did the sprite slightly to look like a Cobra Ninja from G.I. Joe :-P . It looks kind of awkward, but it is my first time. It's sprite is so bad that I am embarrassed to show. :-(


Sun Nov 14, 2010 4:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 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.048s | 18 Queries | GZIP : Off ]