Data Realms Fan Forums
http://forums.datarealms.com/

AR2 Pulse Rifle/Hunter Flechette Gun*Update(2-12-10) Fixed
http://forums.datarealms.com/viewtopic.php?f=61&t=16869
Page 1 of 5

Author:  CaveCricket48 [ Sun Oct 18, 2009 1:43 am ]
Post subject:  AR2 Pulse Rifle/Hunter Flechette Gun*Update(2-12-10) Fixed

Image
Standard weapon for Combine soldiers in Half-Life 2. This high-tech device has 2 firing modes: Normal bullet plasma sprayer, and alt fire energy ball launching mode. To toggle between the two modes, open up your Pie Menu and select the Gold Dig AI Mode.

Normal mode, where the plasma bolts are fired from the top barrel:
Image

Alt fire mode, with energy balls coming out of the bottom barrel which disintegrates targets:
Image
Note the red indicator light on the botton barrel, signalling that alt mode is on.


Weapon 2: Hunter Pulse Rifle
A modified Pulse rifle with explosive Flechettes for the Alt Fire that detonate after a set time. Contains 8 flechettes per mag.
Image
*outdated gif, stickiness is better in-game


Note to modders: Feel free to use any part of this script for your own mods, private or public. If you want to make mode switching weapons, you can use this.

Updates:
(2-12-10)
-Mac compatable for sure

(1-31-10)
-Fixed switching scripts and flechette scripts to reduce crashing for mac users
-Improved energy ball script

(11-15-09)
-Flechettes have better sticking and will better rotate correctly with their targets

(11-13-09)
-Increased durability all both devices
-The game shouldn't crash when either Pulse Rifle is destroyed

(11-11-09)
-Changed many sounds
-Sprite tweaks to H-Pulse Rifle
-Re-sprited flechettes
-Flechettes have a pre-detonation sound
-Energy Ball has a bounce sound
-Energy Ball can now accurately hit large objects such as crafts
-The Overwatch Pulse Rifle has a charge-up time when in Alt-Fire mode

(11-01-09)
-Added the "Hunter Pulse Rifle," an AR2 with flechettes for the alt fire
-Fixed the bug where the gun would switch modes when you didn't have it out
-Sprite tweaks
-Energy ball now has a constant velocity

(10-18-09) Again
-Changed ball sprites
-Enemies emit particles while disintegrating
-Disintegrating sound plays when enemies are struck

(10-18-09)
-Switching weapon modes is super-reliable, no more jams
-Added a blue muzzle-flash glow on the standard weapon mode

(10-17-09)
-AR2 wouldn't work when bought in bunker build menu, now it does

Credits:
Duh102 - Flechette explosion glow
CaveCricket48 - Spriting, Lua scripting, coding
Valve - sounds

Attachments:
Overwatch Pulse Rifle.rte.rar [1017.34 KiB]
Downloaded 1352 times

Author:  Azukki [ Sun Oct 18, 2009 2:01 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

The toggle script is broken, and the rifle without the altfire is lame and uninteresting.
ERROR: Overwatch Pulse Rifle.rte/SwitcherA.lua:25: attempt to index field 'parentgun' (a nil value)

Author:  CaveCricket48 [ Sun Oct 18, 2009 2:25 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

Tested the download, works perfectly fine for me. What operating system do you have? Does anyone else have these problems?

Author:  Contrary [ Sun Oct 18, 2009 3:06 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

Works well for me. And I'd like to say that two firing modes is very innovative and all that, but I can't get over how unreasonably fun the goddamn plasma ball is.

Seriously that alone would be worth a download.

Author:  Tendrop [ Sun Oct 18, 2009 3:09 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

I'm just hoping it has original HL2 sounds.
Dl'ed

Author:  CaveCricket48 [ Sun Oct 18, 2009 3:14 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

Ok, I got the error when I bought the gun in the build menu, and only there. I'm off to fix the problem now.

Tendrop - You bet it does.

Author:  TorrentHKU [ Sun Oct 18, 2009 3:28 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle

Ahhhh, the satisfying *Thunkathunkathunkathunka* of the AR2. But AR2's are for country folk. Here in the city, we only use AR3's. Place is lousy with em.

Author:  CaveCricket48 [ Sun Oct 18, 2009 3:41 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Bug Fix

Bug fix. Now you can by the gun anywhere, anytime and it should work.

Hyperkultra - Never heard of no AR3 before. You city folk an yo fancy doo-hickeys.

Author:  Tendrop [ Sun Oct 18, 2009 4:02 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Bug Fix

Pretty cool, but needs a blue shiny muzzleflash.

Author:  Yoshiyoman [ Sun Oct 18, 2009 4:19 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Bug Fix

Dude! i've got two words for ya: Freakin awesome! this gun is great and the alt-fire is perfect for taking care of those flea crabs you made without lagging CC to death :P ! nicely done if there was a rating system, i would give a 5/5!
going to test against dropship and rockets :twisted:

Author:  Miles_T3hR4t [ Sun Oct 18, 2009 4:36 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Bug Fix

from a first glance, the sprite needs work.

thats it... i'm DLing it.

Author:  deathbringer [ Sun Oct 18, 2009 4:41 am ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Bug Fix

Looks pretty decent imo. I always loved that gun and the strong Thakatakatakata it did.
I'll try that a little later, if I actually remember that I downloaded it :/

Also you should put all that stuff into one Half-life.rte with the grav guns, manhacks and all.

T'would be better that way.

Author:  CaveCricket48 [ Sun Oct 18, 2009 5:51 pm ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Super Reliability

Great update: reliable switching modes! That's right, no more jams when swithcing weapon modes, meaning, uh, no more jams. Also added that blue muzzle flash suggested by tendrop.

Author:  Lizardheim [ Sun Oct 18, 2009 8:08 pm ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Super Reliability

"glitch": No reload needed if you just push the gold dig ai button twice.
Not sure if you can fix that tho...

Author:  CaveCricket48 [ Sun Oct 18, 2009 8:20 pm ]
Post subject:  Re: Overwatch Standard Issue: AR2 Pulse Rifle *Super Reliability

I realized that too, but I was debating whether or not to put a delay on the toggle. Or maybe you can have those Pulse Rifle grenades in your inventory. Firing the alt fire would remove one and they regenerate over time. But I haven't found a good way of removing something from your inventory without you having to switch to it.

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