News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: Fast knife script  (Read 22107 times)

0 Members and 1 Guest are viewing this topic.

Offline TurbanError

  • Posts: 613
  • Karma: 60
  • Since: 12/11/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #30 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;"
« Last Edit: December 29, 2011, 03:05:49 PM by TurbanError[1up] »

Offline Replay

  • Posts: 986
  • Karma: 0
  • lmao
  • Since: 05/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #31 on: December 29, 2011, 05:23:26 PM »
Well I never had problems with it so I dont think im gonna change it.

Offline (DEAD) Revolution

  • Posts: 10
  • Karma: 0
  • Since: 24/12/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #32 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
« Last Edit: December 30, 2011, 01:21:53 AM by (DEAD) Revolution »

Offline BLU

  • Posts: 53
  • Karma: 2
  • Im Blu
  • Since: 27/12/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #33 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

Offline BLU

  • Posts: 53
  • Karma: 2
  • Im Blu
  • Since: 27/12/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #34 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

Offline Zhalix[1up]

  • Cheddar
  • *[1up] Dev Admin
  • [1up] Global Mod
  • [1up] UrT Admin
  • Posts: 839
  • Karma: 76
  • Derpty
  • Since: 07/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Youtube's channel
Re: Fast knife script
« Reply #35 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"
« Last Edit: January 09, 2012, 04:25:40 AM by Zhalix[1up] »



Offline BLU

  • Posts: 53
  • Karma: 2
  • Im Blu
  • Since: 27/12/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #36 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

Offline BlAcK[F]!r3'

  • Posts: 24
  • Karma: 0
  • run will not help you , equally you will die...
  • Since: 16/11/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Fast knife script
« Reply #37 on: April 11, 2012, 07:59:44 PM »
This is more easy

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

see it ;D
 B∫Å<K[ƒ]!R3'