Data Realms Fan Forums
http://45.55.195.193/

AR-4 Customizable Assault Rifle
http://45.55.195.193/viewtopic.php?f=61&t=24961
Page 1 of 2

Author:  Coops [ Fri Aug 05, 2011 5:43 am ]
Post subject:  AR-4 Customizable Assault Rifle

This is a small mod that contains a single rifle that can be customized (Minorly, so far).

Image

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 1380 times

Author:  Roast Veg [ Fri Aug 05, 2011 12:39 pm ]
Post subject:  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.

Author:  Coops [ Fri Aug 05, 2011 12:54 pm ]
Post subject:  Re: AR-4 Customizable Assault Rifle

Updated for those who were experiencing crashes when switching weapons.

Author:  ItsMozy [ Fri Aug 05, 2011 5:47 pm ]
Post subject:  Re: AR-4 Customizable Assault Rifle

I love it, not to powerfull, not to weak. just right.

Author:  111herbert111 [ Fri Aug 05, 2011 7:45 pm ]
Post subject:  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.

Author:  Darlos9D [ Sun Aug 07, 2011 8:28 pm ]
Post subject:  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.

Author:  Miggles [ Sun Aug 07, 2011 8:46 pm ]
Post subject:  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.

Author:  Lizardheim [ Sun Aug 07, 2011 8:47 pm ]
Post subject:  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.

Author:  Miggles [ Sun Aug 07, 2011 9:20 pm ]
Post subject:  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.

Author:  Darlos9D [ Sun Aug 07, 2011 10:28 pm ]
Post subject:  Re: AR-4 Customizable Assault Rifle

The wiki doesn't say that it's a read-only value, but I guess it is?

Author:  Coops [ Sun Aug 07, 2011 10:39 pm ]
Post subject:  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.

Author:  Miggles [ Sun Aug 07, 2011 10:41 pm ]
Post subject:  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.

Author:  carriontrooper [ Mon Aug 08, 2011 1:24 pm ]
Post subject:  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.

Author:  Superjuden [ Mon Aug 08, 2011 2:10 pm ]
Post subject:  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.

Author:  Darlos9D [ Mon Aug 08, 2011 11:32 pm ]
Post subject:  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.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/