I reveal to you: My Chaingun Auto-sniping alias

General discussion of the port and Doom-related chat.
Post Reply
Theshooter7
Forum Regular
Posts: 262
Joined: Wed Jun 06, 2012 2:15 am

I reveal to you: My Chaingun Auto-sniping alias

#1

Post by Theshooter7 » Wed Sep 26, 2012 12:59 am

Some time ago, I took a shot at creating an alias that would allow me to fire the Doom Chaingun with perfect timing, allowing for near full-auto fire that was perfectly accurate, and all at just the push and hold of a single button.

My initial attempts failed, I couldn't figure out how to fix the timing of some commands and how to get the Chaingun to react the way I wanted.

However, about two months ago, I took another stab at it and ended up with successful results! The alias works perfectly.

Just bind it to a single button and with just one push of a button in-game, your chaingun fire will be as accurate as a sniper rifle. All the time. So long as you are pressing the button that belongs to the alias. No need to press mouse1 to fire, this alias does that for you (hence it's purpose; to time the shots down to the tic to allow precise firing).

Enjoy!

[spoiler]

Code: Select all

alias doattack "+attack; wait 1; -attack; wait 8; doattack"

alias +cgunsnipe "cl_capfps 1; alias doattack \"+attack; wait 1; -attack; wait 8; doattack\"; doattack"
alias -cgunsnipe "cl_capfps 0; alias doattack \"\"; -attack; wait 12; alias doattack \"+attack; wait 1; -attack; wait 8; doattack\""
[/spoiler]

[EDIT] Mind you, I mean you should bind +cgunsnipe to a key. Although it looks like, from a test I just did, that cl_capfps may not be needed (bugfix in Zandronum?). So if you don't like the FPS cap taking place while using this, try taking it off and seeing if the sniping still works.
Last edited by Theshooter7 on Wed Sep 26, 2012 1:04 am, edited 1 time in total.
Image

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: I reveal to you: My Chaingun Auto-sniping alias

#2

Post by Llewellyn » Wed Sep 26, 2012 4:16 pm

Code: Select all

alias doattackrage "+attack; wait 1; -attack; wait 4; doattackrage"

alias +cgunsniperage "alias doattackrage \"+attack; wait 1; -attack; wait 8; doattackrage\"; doattackrage"
alias -cgunsniperage "alias doattackrage \"\"; -attack; wait 6; alias doattackrage \"+attack; wait 1; -attack; wait 4; doattackrage\""
There now you can make one for ragerune
Last edited by Llewellyn on Wed Sep 26, 2012 4:17 pm, edited 1 time in total.

Synert
Forum Regular
Posts: 228
Joined: Mon Jun 04, 2012 12:54 pm
Contact:

RE: I reveal to you: My Chaingun Auto-sniping alias

#3

Post by Synert » Wed Sep 26, 2012 4:51 pm

Excellent, I had one myself but lost it a while ago. Cheers for this!

User avatar
Zeberpal
Forum Regular
Posts: 457
Joined: Mon Jun 04, 2012 6:55 am

RE: I reveal to you: My Chaingun Auto-sniping alias

#4

Post by Zeberpal » Wed Sep 26, 2012 4:54 pm

what a hax!
It may be even worse than sr50 in good sence, cheers!
Last edited by Zeberpal on Wed Sep 26, 2012 4:55 pm, edited 1 time in total.
Image Image

Theshooter7
Forum Regular
Posts: 262
Joined: Wed Jun 06, 2012 2:15 am

RE: I reveal to you: My Chaingun Auto-sniping alias

#5

Post by Theshooter7 » Wed Sep 26, 2012 5:48 pm

Llewellyn wrote:There now you can make one for ragerune
Good catch! A simple edit but oh well. :p
Image

User avatar
Xenaero
Retired Staff / Community Team Member
Posts: 75
Joined: Fri Jun 01, 2012 8:51 pm
Clan: Unidoom
Clan Tag: UD
Contact:

RE: I reveal to you: My Chaingun Auto-sniping alias

#6

Post by Xenaero » Wed Sep 26, 2012 6:10 pm

Simple but effective. PROBLEM IS I RAN OUTTA KEYS TO BIND THINGS TO MANG

You know actually you could technically use this as your mouse1.
Last edited by Xenaero on Wed Sep 26, 2012 6:15 pm, edited 1 time in total.

Theshooter7
Forum Regular
Posts: 262
Joined: Wed Jun 06, 2012 2:15 am

RE: I reveal to you: My Chaingun Auto-sniping alias

#7

Post by Theshooter7 » Wed Sep 26, 2012 7:34 pm

Xenaero wrote: Simple but effective. PROBLEM IS I RAN OUTTA KEYS TO BIND THINGS TO MANG

You know actually you could technically use this as your mouse1.
Yes, but you will end up with odd timings on some weapons, like the plasma gun for instance. You could bind it to a different mouse button, of course.
Image

Bloax
Forum Regular
Posts: 411
Joined: Mon Jun 04, 2012 5:11 pm

RE: I reveal to you: My Chaingun Auto-sniping alias

#8

Post by Bloax » Wed Sep 26, 2012 8:17 pm

If you're a real bastard, you could actually make an alias to bind mouse1 to it on "4" and rebind 1-7 (except 4, duhh) and the scrolling wheel to undo that.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: I reveal to you: My Chaingun Auto-sniping alias

#9

Post by Llewellyn » Wed Sep 26, 2012 11:29 pm

Theshooter7 wrote:
Xenaero wrote: Simple but effective. PROBLEM IS I RAN OUTTA KEYS TO BIND THINGS TO MANG

You know actually you could technically use this as your mouse1.
Yes, but you will end up with odd timings on some weapons, like the plasma gun for instance. You could bind it to a different mouse button, of course.
No you wont. Not if you're cool and know what you're doing with aliases:

Code: Select all

alias +mouse1key "shootalias
alias -mouse1key "alias shootalias -attack; -attack

alias dochaincheck "test $cgvar firstshoot secondshoot; test $cgvarrage thirdshoot

alias firstshoot "alias shootalias chainshoot
alias secondshoot "alias shootalias defaultshoot
alias thirdshoot "alias shootalias chainshootrage

bind shift +cgalias
alias +cgalias "set cgvar 1; dochaincheck
alias -cgalias "set cgvar 0; dochaincheck

Bind alt +ragecgalias
alias +ragecgalias "set cgvarrage 1; dochaincheck
alias -ragecgalias "set cgvarrage 0; dochaincheck

alias defaultshoot "+attack; wait 1; shootalias
alias chainshoot "+attack; wait 1; -attack; wait 8; shootalias
alias chainshootrage "+attack; wait 1; -attack; wait 4; shootalias
I made it simple to read. What it does is: If you holding mouse1 and press shift, it fires chaingun bursts. If you hold alt with mouse1 it fires RageChaingun bursts.
Last edited by Llewellyn on Thu Sep 27, 2012 12:32 am, edited 1 time in total.

User avatar
Xenaero
Retired Staff / Community Team Member
Posts: 75
Joined: Fri Jun 01, 2012 8:51 pm
Clan: Unidoom
Clan Tag: UD
Contact:

RE: I reveal to you: My Chaingun Auto-sniping alias

#10

Post by Xenaero » Thu Sep 27, 2012 7:31 pm

I think its more effective to burst fire the plasma gun anyway. That's just personal preference, however.

Post Reply