quick knife script!
2013-07-18, 08:10 AM
#1
quick knife script!
this is a quick knife script i foun on AC forum. its by slow_old_man so all credits to him! link: forum.cubers.net/thread-38.html sorry i cant post the code, im on ipod-and ipods suck.

[Image: cooltext1203588761_zps9cfa0053.gif]
Post Reply Quote this message in a reply
2013-07-18, 09:31 AM
#2
RE: quick knife script!
So here's the code that I copy+pasted onto here. If somebody could show me how to include these into ACR, that'd be nice. =)

Quick Knife - Credits go to Kirin/AizeN
Code:
alias quickknife [
    if (!= (curweapon) 6) [melee]
    attack
    onrelease [ sleep 1 [ if (= (curweapon) 0) [weapon (prevweapon)] ] ]
]
bind Q quickknife

Can somebody instead change the Q bind to V? The Q currently is for fire selection in ACR. I could probably change it, but I might fudge it up.

Zoom script by stef:
Code:
//zoom script by stef with fog 1024 trick added, a must for a sniper
alias adjustsens [
scopefov 40
scopesensscale = (divf $scopefov $fov)
]
alias altaction_4 [ alias oldfog $fog;fog 1024
adjustsens; domodifier 1; zoom 1;
onrelease [ zoom 0; adjustsens; fog $oldfog ]
]
alias delta_game_1 [
  if (= $arg1 1) [
    if (> $scopefov 5) [scopefov (- $scopefov 5) ]
  ][
    if (< $scopefov 60) [scopefov (+ $scopefov 5) ]
  ];
  sensitivity (divf (*f (*f $oldsens $scopesensscale) $scopefov) 40)
With this script you can zoom with your sniper. Just scroll with your scrollwheel while you scope.
Seems like a must for ACR.

DSO
Windows 8 fanboy =D
"Not dead, can't quit"
Post Reply Quote this message in a reply
2013-07-18, 10:05 AM
#3
RE: quick knife script!
This has been a pretty old issue report: https://code.google.com/p/assaultcuber/i...etail?id=7

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-07-18, 11:51 AM
#4
RE: quick knife script!
i think for now you would have to put it in the autoexec.cfg

[Image: cooltext1203588761_zps9cfa0053.gif]
Post Reply Quote this message in a reply
2013-07-18, 01:38 PM
#5
RE: quick knife script!
Or maybe a native quickknife (40 damage?) would be better, so you can knife quicker, but with less damage.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-07-18, 08:06 PM
#6
RE: quick knife script!
Hi Victor,

A bug on ACR with the quick knife is that it's stuck on the knife, even if you release V

Also, i cant get the zoom script to work

DSO
Windows 8 fanboy =D
"Not dead, can't quit"
Post Reply Quote this message in a reply
2013-07-18, 08:15 PM
#7
RE: quick knife script!
I also can't get the zoom script to work... it just switches weapons Sad

[Image: name_zps459dc421.gif]
[Image: cooltext1206791925_zps58ab60b5.gif]

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." - Bjarne Stroustrup
Post Reply Quote this message in a reply
2013-07-19, 09:38 AM
#8
RE: quick knife script!
Remember how knife worked in Counterstrike: Right mouse=quick, less damage, left mouse=slow, lots of damage. I think thats best for a knife.

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-07-19, 10:39 AM
#9
RE: quick knife script!
Hi all,

rXn, i suggest the same thing. quick knife could be a slashing motion, while a normal knife would be slower, and would basically be a stab. Stabbing requires more time, as you probably know from camping.

Eh, this might create too much coding and modeling though.

DSO
Windows 8 fanboy =D
"Not dead, can't quit"
Post Reply Quote this message in a reply
2013-07-19, 11:30 AM (This post was last modified: 2013-07-19, 11:55 AM by rXn.)
#10
RE: quick knife script!
Mostly animation... I'm nto good at this but should be possible

Maybe with two different pseudo-weapons?

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply


Forum Jump: