Author |
Message |
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
|
AR-4 Customizable Assault Rifle
This is a small mod that contains a single rifle that can be customized (Minorly, so far). The weapon can be customized in 3 ways: - Fire Mode can be adjusted to Semi Auto (Single Shot), Burst Fire (3 Shots), and Full Auto (Continuous). To change your fire mode, select Gold Dig AI and a display above your actor will show which fire mode you're on. - Ammo Feed can be changed from Standard Ammunition to Incendiary Ammunition. To change your Ammo Feed, select Patrol AI and you can see which Magazine you have by looking at your weapon. - An Accessory can be attached to the Under Barrel which can be either a Laser Sight or a Grenade Launcher, or you can attach an Optic Accessory which doesn't benefit the weapon and serves only as an asthetic to the weapon. To add/remove an Accessory on your weapon, Hold down then choose Patrol AI which will change your Under Barrel attachment. To change your Optic on your weapon, Press F. All Attachments will cycle and if you switch your Under Barrel attachment to the Grenade Launcher then your Magazine will automatically switch to the Grenade Launcher's ammo, you can switch back to your other Magazines with the respective way to do so and you can always switch back to your Grenade Launcher as long as it is still attached. If you remove your Grenade Launcher then a Standard Magazine will be loaded. One thing when using the weapon is you will experience Recoil. If you are holding the weapon from the hip and you fire then the weapon will slightly start to push up. This only happens if you are firing from the hip, not if you are sharp aiming. UPDATE: I remember CC48 telling me that the function "MovableMan:ValidMO()" was a useless function. Well, that function just made you able to switch weapons properly without crashing now.
Attachments:
File comment: Kewl Effects now!
Custom.rte.rar [121.28 KiB]
Downloaded 1381 times
Last edited by Coops on Sat Feb 25, 2012 9:42 am, edited 8 times in total.
|
Fri Aug 05, 2011 5:43 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: AR-4 Customizable Assault Rifle
Well you've successfully implemented a lot of the things we knew we'd be able to do with our new features, nice one.
|
Fri Aug 05, 2011 12:39 pm |
|
|
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
|
Re: AR-4 Customizable Assault Rifle
Updated for those who were experiencing crashes when switching weapons.
|
Fri Aug 05, 2011 12:54 pm |
|
|
ItsMozy
Joined: Thu Aug 04, 2011 6:32 pm Posts: 11
|
Re: AR-4 Customizable Assault Rifle
I love it, not to powerfull, not to weak. just right.
|
Fri Aug 05, 2011 5:47 pm |
|
|
111herbert111
Joined: Fri Jan 07, 2011 12:31 am Posts: 550 Location: error: location not found
|
Re: AR-4 Customizable Assault Rifle
I like this gun, it's balanced and is very versatile, when the icons feature is fixed this could become even more awesome.
|
Fri Aug 05, 2011 7:45 pm |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: AR-4 Customizable Assault Rifle
Sucks that we found out that we can't really have realistic "kicks up your aim" recoil during sharp-aim, though. At first I thought it was just a choice on your part, but then I tried it out and realized you didn't have any choice but to do it the way you did.
Oh well, I'll just figure out another way to handle recoil.
|
Sun Aug 07, 2011 8:28 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: AR-4 Customizable Assault Rifle
I think that if you have a separate optic on it should increase your aim distance, but not your accuracy. For balance reasons. Although if you switch to incendiary ammo it's pretty much a direct upgrade, so I dunno if balance is really an issue.
|
Sun Aug 07, 2011 8:46 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: AR-4 Customizable Assault Rifle
Miggles wrote: I think that if you have a separate optic on it should increase your aim distance, but not your accuracy. For balance reasons. Although if you switch to incendiary ammo it's pretty much a direct upgrade, so I dunno if balance is really an issue. Can't make guns look further.
|
Sun Aug 07, 2011 8:47 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: AR-4 Customizable Assault Rifle
You can't? I could have sworn that there was some sort of magic you could use to do so.
|
Sun Aug 07, 2011 9:20 pm |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: AR-4 Customizable Assault Rifle
The wiki doesn't say that it's a read-only value, but I guess it is?
|
Sun Aug 07, 2011 10:28 pm |
|
|
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
|
Re: AR-4 Customizable Assault Rifle
You would have to have separate weapons with separate SharpLength values and switch them up lua wise.
I feel rushed to get out my latest update before people start to comment.
Incendiary rounds now cost 5 gold for each shot (Ex. Firing off a full mag cost 150 gold, firing off 4 shots cost 20 gold.) and added some cool trail effects.
Im thinking of making attachables cost money too.
Last edited by Coops on Sun Aug 07, 2011 10:42 pm, edited 1 time in total.
|
Sun Aug 07, 2011 10:39 pm |
|
|
Miggles
Data Realms Elite
Joined: Mon Jul 12, 2010 5:39 am Posts: 4558
|
Re: AR-4 Customizable Assault Rifle
That is a steep-ass price. They may be a direct upgrade, but they still only do a bit more damage.
|
Sun Aug 07, 2011 10:41 pm |
|
|
carriontrooper
Joined: Mon Apr 13, 2009 12:27 pm Posts: 813 Location: Yogyakarta, Indonesia. A slice o' paradise.
|
Re: AR-4 Customizable Assault Rifle
Coops9753 wrote: You would have to have separate weapons with separate SharpLength values and switch them up lua wise.
I feel rushed to get out my latest update before people start to comment.
Incendiary rounds now cost 5 gold for each shot (Ex. Firing off a full mag cost 150 gold, firing off 4 shots cost 20 gold.) and added some cool trail effects.
Im thinking of making attachables cost money too. Suggestion: How about making each mag cost 5 gold instead? And you have, oh, 5 or 8 incendiary rounds each mag.
|
Mon Aug 08, 2011 1:24 pm |
|
|
Superjuden
Joined: Thu Mar 25, 2010 12:39 pm Posts: 25
|
Re: AR-4 Customizable Assault Rifle
Fantastic weapon. The grenade launcher has always been my favorite weapons and getting a combo gun really makes my day better. Now I can blow up people behind hills and then pepper them with bullets once I make my push without losing mobility.
|
Mon Aug 08, 2011 2:10 pm |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: AR-4 Customizable Assault Rifle
Hey, I just wanted to say, now that I've looked into how you did it: GREAT JOB on the HUD elements. I never would have thought to use glows like that.
|
Mon Aug 08, 2011 11:32 pm |
|
|
|