1up Clan Forums

[1upZ] => Zombie Info => Topic started by: Replay on May 16, 2011, 12:27:18 PM

Title: Fast knife script
Post by: Replay on May 16, 2011, 12:27:18 PM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m
Title: Re: Fast knife script
Post by: Zangetsu on May 20, 2011, 06:33:02 AM
Your 5.5 wait time is way too long..... could be even faster if it's just "+attack;-attack;+attack;-attack" on your MWHEELUP and MWHEELDOWN. Then you just scroll your wheel and attack insanely fast.
Title: Re: Fast knife script
Post by: Underachiever on May 20, 2011, 07:49:29 AM
/bind mwheelup +attack; +attack
/bind mwheeldown +attack; +attack
Title: Re: Fast knife script
Post by: Replay on May 20, 2011, 12:32:50 PM
hmm, oke thanks
Title: Re: Fast knife script
Post by: Replay on May 20, 2011, 12:45:09 PM
/bind mwheelup +attack; +attack
/bind mwheeldown +attack; +attack

Could you put your part in the script pls,
i dont know where to put it
Title: Re: Fast knife script
Post by: Zangetsu on May 20, 2011, 12:52:29 PM
Just open your console in UrT and type /bind mwheelup "+attack;-attack" and bind mwheeldown "+attack;-attack"
Title: Re: Fast knife script
Post by: Replay on May 21, 2011, 03:06:44 AM
Just open your console in UrT and type /bind mwheelup "+attack;-attack" and bind mwheeldown "+attack;-attack"

but i like the switch human/zombie.
Title: Re: Fast knife script
Post by: TurbanError on May 29, 2011, 05:54:15 PM
Your 5.5 wait time is way too long.....

This is dependent on your fps.  At maxed out fps my wait is generally 7 and its still too fast for the server to pick it up on occasion.  The test server doesn't seem to have whatever restriction that slows this down.  But the current zombie servers and super TS, I need a wait of at least 7 and even then some commands are too fast.   
Title: Re: Fast knife script
Post by: Defcon on June 03, 2011, 05:04:04 PM
I'm on a Macbook Pro, so scrolling to knife means that I lose all ''steering''. Is there a way to fast knife without scrolling? I usually run at 60 FPS.
Title: Re: Fast knife script
Post by: AuXAuV on June 03, 2011, 08:48:47 PM
No way without descending into the dark world of cheats.

I've found that I can knife with a slow knife, and instead rely
on thinking and maneuvering to defeat my enemy, rather than simple luck and high end computers.
Title: Re: Fast knife script
Post by: Defcon on June 03, 2011, 09:24:37 PM
No way without descending into the dark world of cheats.

I've found that I can knife with a slow knife, and instead rely
on thinking and maneuvering to defeat my enemy, rather than simple luck and high end computers.

Eek, cheats  ???

I can knife fairly fast with my regular fire key, just thought it might be possible another way.
Title: Re: Fast knife script
Post by: TurbanError on June 03, 2011, 10:05:52 PM
First step, get an external mouse, it will greatly improve your game.

Play around with different wait times, you can probably get by without a wait time.

/bind X +attack; -attack; +attack; -attack; +attack; -attack; +attack; -attack; +attack; -attack;

Change X to button of choice, sprinkle with waits as you see fit.
Title: Re: Fast knife script
Post by: Defcon on June 03, 2011, 10:23:53 PM
Yeah, I've got an external mouse, only issue is I play in areas where mice don't work too well  :P
Title: Re: Fast knife script
Post by: Soul on June 09, 2011, 05:12:14 PM
how do i undo it? i cant attack now it wont let me :(
Title: Re: Fast knife script
Post by: Zhalix[1up] on June 10, 2011, 02:26:35 AM
Soul, make sure you delete anything you just added to your autoexec that could overwrite these changes.

Here's how to get the defaults back.  Go into Urban Terror, pull down the console by pressing the "~" key, and type the following things each on their own line, pressing enter between each:

/bind MWHEELDOWN weapprev
/bind MWHEELUP weapnext
/bind MOUSE1 +attack
Title: Re: Fast knife script
Post by: Perdition[1up] on June 10, 2011, 03:07:50 AM
wait so for these fast knife scripts, not everyone just sets their scroll wheel to attack? u guys have all these weird scripts when that works just fine. idk maybe im just a noob
Title: Re: Fast knife script
Post by: Zhalix[1up] on June 10, 2011, 03:35:50 AM
I just use the scrollwheel.  I don't really see the need for these scripts.  I can attack plenty fast without them.

Perhaps I didn't experiment enough, but I've found that even the lowest possible wait time that will be picked up by the server will cause movement lag when I scroll.

You can get more +attack with one click, but the consequence is generally a lag on your movement.  If you aren't using wait commands at all, you're probably not getting any extra attacks in unless you have 50 "+attack"s in a row.  Obviously that would be ridiculous.

Also, if you're using the left mouse button rather than the scrollwheel, you also actually have to time your attacks when going by enemies when using a script that does just a few attacks with one click.  With the scrollwheel, I just get going into a powerslide, start scrolling up and down, and pwn 'em as I slide on by.
Title: Re: Fast knife script
Post by: Replay on June 10, 2011, 09:12:22 AM
wait so for these fast knife scripts, not everyone just sets their scroll wheel to attack? u guys have all these weird scripts when that works just fine. idk maybe im just a noob
Yeah, youre just a noob ;)
Jking*.
Youre a good player
Title: Re: Fast knife script
Post by: TurbanError on June 10, 2011, 07:09:17 PM
Scripts won't make you any better than the regular scroll wheel.  Depending on how it is set up (and wait time) it will often make you a bit worse.  I prefer using a script over a scroll wheel though, just for comfort.
Title: Re: Fast knife script
Post by: Defcon on June 10, 2011, 07:55:57 PM
Scripts won't make you any better than the regular scroll wheel.  Depending on how it is set up (and wait time) it will often make you a bit worse.  I prefer using a script over a scroll wheel though, just for comfort.

I'm on a computer with a trackpad, so to scroll you need to push two fingers up or down on the pad. This takes away any sort of movement left and right.
Title: Re: Fast knife script
Post by: Zohan on June 10, 2011, 11:16:33 PM
Zhalixs binds ftw
Title: Re: Fast knife script
Post by: Roberto-ninja on June 19, 2011, 05:24:20 PM
(sorry about my poor english. this time i took extra time to make sure i spell everything right and ill try to be more clear about what im asking.)

i would like help with 2 separate scrollwheel scripts. 1 a zoom script and the 2nd a weapon change script.

1. "zoom script"

i want to make a script where when i scroll up (mwheelup) it zooms in

(2x -> 3x -> 6x -> reset/zoomout -> back to 2x and repeat...)

so when i "scroll up" once with MWHEELUP/mousewheelup it zooms in at x2 and if I "scroll up" again it goes to x3 and again x6 and if i "scroll up" one more time with mwheelup it will "reset zoom" and unscope me.

part2 of this script is with MWHEELDOWN. its like opposite(right word?) where if I scroll down it will go to x6, scroll down it will go to x3, scroll down it will go to x2 and scroll down again it will zoom out.

x6 -> x3 -> x2 -> zoom out -> repeat

but i want it so if I scroll up twice (x2 -> x3) then scroll down it will "zoom down" from x3 to x2. so like (scroll up + scroll up + scroll down) = (x2 -> x3 -> x2)

-------------------------------------------------

ok now for 2nd scroll wheel script. i want it so its a different kind of weapon change so i dont miss a weapon when im scrolling

PS: in example below i start with primary, secondary and sidearm, but i start with primary in my hand.

so i need help with a script where if im holding my primary and i scroll down once it will bring out my secondary (UMP, SPAS, MP5K) over my sidearm (RETTA, DE). if im not using a secondary it will bring out my sidearm. BUT if im using a secondary and i scroll down once to bring it out, i want it so that if i scroll down AGAIN (2nd time) it will bring out my sidearm.

and if im using any weapon, secondary, sidearm, knife, nade i want it so that if i scroll up once it will bring out my primary.

so overview is: scroll down once for secondary over sidearm if im carrying it. if yes to carrying secondary then scrolling down again will bring out a sidearm. scrolling down more will do nothing. scroll up once to bring out primary weapon, scrolling up again will do nothing.


--------------


those are my two scripts i need help with. again sorry for my poor english, it isnt my first language. if you could please help me with this it would be most appreciated. thanks  :D
Title: Re: Fast knife script
Post by: jabba on June 20, 2011, 12:59:35 PM
for zoom in and zoom out i believe you can do that in setup  :P

zoom in: scroll wheel up
zoom out: scroll wheel down
Title: Re: Fast knife script
Post by: Zod on June 29, 2011, 08:04:52 AM
Easy bind is easy:

/bind MWHEELUP "ut_zoomin"
/bind MWHEELUP "ut_zoomout"

see if it works, it should cause zoomin goes forward, and zoomout goes backwards.
Title: Re: Fast knife script
Post by: Replay on June 29, 2011, 08:51:19 AM
i have scroll for switching weapons
Title: Re: Fast knife script
Post by: Steez on June 29, 2011, 10:35:21 AM
Yeah if your playing as zombie just make your attack mwheel scroll up, and mwheel scroll down. simple as that  :P

Next map when you switch back to human make your attack left click
Title: Re: Fast knife script
Post by: Staples, that was easy on June 29, 2011, 04:01:52 PM
i have scroll for switching weapons
Me too, and my right mouse button is to zoom in :D I'm a player with a classic setup lol
Title: Re: Fast knife script
Post by: Replay on June 29, 2011, 04:45:38 PM
Yeah if your playing as zombie just make your attack mwheel scroll up, and mwheel scroll down. simple as that  :P

Next map when you switch back to human make your attack left click

Or you paste an awesome knifescript in your autoexe.cfg file :p
Btw, i deleted the screenshot for ya :p
Title: Re: Fast knife script
Post by: (DEAD) Revolution on December 29, 2011, 02:05:01 AM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m

i tested it out for you. isnt your human/ zombie script mixed up?
Title: Re: Fast knife script
Post by: Replay on December 29, 2011, 11:21:32 AM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m

i tested it out for you. isnt your human/ zombie script mixed up?
Ermm.. Don't think so. Maybe you're fps is to low?
Btw I'm using another script now, this one is old.
Title: Re: Fast knife script
Post by: TurbanError on December 29, 2011, 03:03:26 PM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m

i tested it out for you. isnt your human/ zombie script mixed up?
Ermm.. Don't think so. Maybe you're fps is to low?
Btw I'm using another script now, this one is old.

FPS should have nothing to do with your script other than wait time.  Looking through the script you do have your hum and zom variables mixed up... atleast for the variables you are setting... having the echo for human mode run the zom variable... but the zom variable is actually set for regular human attack.  The script as written appears like it should work right though, this is why I am not in favor of only setting variables when needed.  The corrected script should look like this:

Code: [Select]
set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr hum;"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr zom;"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f;" // Replace "m" with a key of choice
set hum "bind MOUSE1 "+attack;";"
set zom "bind MOUSE1 "vstr att;";"
set att "+attack; -attack; wait #; +attack; -attack; wait #; +attack; -attack;"
Title: Re: Fast knife script
Post by: Replay on December 29, 2011, 05:23:26 PM
Well I never had problems with it so I dont think im gonna change it.
Title: Re: Fast knife script
Post by: (DEAD) Revolution on December 30, 2011, 12:18:17 AM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m

i tested it out for you. isnt your human/ zombie script mixed up?
Ermm.. Don't think so. Maybe you're fps is to low?
Btw I'm using another script now, this one is old.

i tested your script out. but when i went to zombie mode it appeared to have the scripts for humans. and when i went to human mode, i had the scripts for zombies. my suggestion is you should change the "zom" and "hum" around in the first two lines. and to everyone out there, this script is not for those who prefer to have their mwheels as attack.

but if u want it, i made another script for that.
Code: [Select]
set sl_00 "set sl_f vstr sl_01; ut_echo ^4Human ^7Mode Activated; vstr hum"
set sl_01 "set sl_f vstr sl_00; ut_echo ^1Zombie ^7Mode Activated; vstr zom"
set sl_f "vstr sl_01" // Set Default
bind x "vstr sl_f" // Replace "x" with a key of choice
set zom "bind MWHEELUP “+attack; -attack”; bind MWHEELDOWN “+attack; -attack”;”
set hum "bind MWHEELUP "weapnext"; bind MWHEELDOWN "weapprev";"


just press x to change from zombie mode to human. it wil say either "Zombie Mode Activated" or "human Mode Activated". in human mode, the scroll wheels will become weapon switching, and in zombie mode the wheels will be for attacking. enjoy
Title: Re: Fast knife script
Post by: BLU on January 08, 2012, 06:21:16 PM
Hey guys,

I saw their was no topic for a zombie fast knife script.
(Maybe i just didn't look good enough)
But.. Here is the script i use

set sl_00 "set sl_f vstr sl_01; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_f "vstr sl_01" // Set Default
bind m "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

just copy past it in your, autoexec.cfg, folder.
to use it in game, press: m


Just wondering is there a possible way to add a 3rd option to this i tried messing around with it and had no luck
Title: Re: Fast knife script
Post by: BLU on January 08, 2012, 06:49:50 PM
Actually this is what i have so far:

set sl_00 "set sl_f vstr sl_02; ut_echo ^7Human; vstr zom"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie; vstr hum"
set sl_02 "set sl_f vstr sl_01; ut_echo ^2Sniper; vstr sni"
set sl_f "vstr sl_01" // Set Default
bind z "vstr sl_f" // Replace "m" with a key of choice
set zom "bind MOUSE1 +attack"
set hum "bind MOUSE1 vstr atz"
set sni "bind MOUSE1 vstr att"
set att "+attack; -attack; weapprev; wait 2; weapnext"
set atz "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

but i can't get the fast knife script to work for the zombie but my human and sniper modes work
Title: Re: Fast knife script
Post by: Zhalix[1up] on January 09, 2012, 03:20:28 AM
Blu, if this doesn't work, at least figuring out what is wrong should be much easier:
Code: [Select]
// Modes
set zombieMode  "set nextMode vstr humanMode; ut_echo ^7Zombie Mode; bind MOUSE1 vstr zombieAtk"
set humanMode   "set nextMode vstr sniperMode; ut_echo ^7Human Mode; bind MOUSE1 +attack"
set sniperMode  "set nextMode vstr zombieMode; ut_echo ^7Sniper Mode; bind MOUSE1 vstr sniperAtk"

// Zombie attack
set zombieAtk   "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

// Sniper attack
set sniperAtk   "+attack; -attack; weapprev; wait 2; weapnext"

// Initial mode to execute
set nextMode    "vstr zombieMode"

// Key to execute script
bind m          "vstr nextMode"
Title: Re: Fast knife script
Post by: BLU on January 09, 2012, 11:12:38 AM
Blu, if this doesn't work, at least figuring out what is wrong should be much easier:
Code: [Select]
// Modes
set zombieMode  "set nextMode vstr humanMode; ut_echo ^7Zombie Mode; bind MOUSE1 vstr zombieAtk"
set humanMode   "set nextMode vstr sniperMode; ut_echo ^7Human Mode; bind MOUSE1 +attack"
set sniperMode  "set nextMode vstr zombieMode; ut_echo ^7Sniper Mode; bind MOUSE1 vstr sniperAtk"

// Zombie attack
set zombieAtk   "+attack; -attack; wait 5.5; +attack; -attack; wait 5.5; +attack; -attack"

// Sniper attack
set sniperAtk   "+attack; -attack; weapprev; wait 2; weapnext"

// Initial mode to execute
set nextMode    "vstr zombieMode"

// Key to execute script
bind m          "vstr nextMode"


Thanks! Works Perfect
Title: Re: Fast knife script
Post by: BlAcK[F]!r3' on April 11, 2012, 07:59:44 PM
This is more easy

http://zd-clan.tk/index.php?topic=41.0

see it ;D