Lol doesnt seem like much until u hit those spoilers, then, holy crap thats a lot :D . Good work but already got my knife perfect.Whats your fps?
Why not just use a mouse with scripting? This way you can use a wait command and it won't stop all input in urt. The problem is cooking nades, but there are probably work arounds. This is probably illegal in most leagues.
I agree, but with scripting I feel that you take away another facet of concentration zombie players don't have to worry about so they can put all their energy into look the direction of their enemy and jumping to catch their enemy.That's exactly how we want the zombie team to play.
Why does this matter with zombie mode? Humans probably need to master several times the apm of a zombie player, switching between weapons, aiming at body parts, cooking grenades, jumping and evading zombies while doing all that.That's exactly how we want the human team to play.
Zombie players with a knife script essentially have to do two things. Jump to reach the enemy, and look in the general direction of the human prey. That makes it that much easier for zombies as they don't have to do as much multitasking, they can focus on just killing.Precisely.
Lol, I came back and lost another -2 karma. I don't understand who would do such a thing to me for voicing an opinion?As opposed to you doing nothing...?
I agree, but with scripting I feel that you take away another facet of concentration zombie players don't have to worry about so they can put all their energy into look the direction of their enemy and jumping to catch their enemy.That's exactly how we want the zombie team to play.Why does this matter with zombie mode? Humans probably need to master several times the apm of a zombie player, switching between weapons, aiming at body parts, cooking grenades, jumping and evading zombies while doing all that.That's exactly how we want the human team to play.Zombie players with a knife script essentially have to do two things. Jump to reach the enemy, and look in the general direction of the human prey. That makes it that much easier for zombies as they don't have to do as much multitasking, they can focus on just killing.Precisely.Lol, I came back and lost another -2 karma. I don't understand who would do such a thing to me for voicing an opinion?As opposed to you doing nothing...?
I am not a fan of script. HOWEVER, is there a way for the script to work only in zombie server so I don't got to go and change everything when I play at superTS?
That would be awesome
How do you find out your fps?You can find your fps on your heads up display on your screen. By default it is located in the upper right hand corner by your timer. FPS is how many frames your computer can render in a second, it also used as a timeline for game actions (everything with a duration is measured in fps). Certain situations can cause your fps to drop, like lots of smoke nades and your gpu not being able to render them properly, taking more time to render each frame, slowing your game down.
Don't we set our fps in the setting?
yeah thanks for your idea. i find this extremely interesting. although i consider myself a very experienced zombie, im extremely noob at scripting. i get very annoyed having to change scripts everytime i switch from red to blue, or blue to red.
When i go to human team (blue) with a fast knife script, i can't change my weapons and im stuck with one wepon in my hand. number keys are useless because in zombie you have more than one main and secondary weapons and weapons come out random.
When i go to zombie (red) with a weapon switch script, i dont have the advantage of fast knifing. , so i find myself constantly having to type in another script to change it from this to that, and on and on every time i switch teams which is very tiring and annoying.
but your script told me that you can switch from both fast knife to human with one push of a button. WOW :omg: but even though i read your post very thoroly, i dont completely understand what to type in the urt console. :| :-\ :o i know you were just explaining what is happening, but it's because of that why i'm confused what to type.
could someone please tell me what to type in the console? like no explanation, just a straight forward line by line command im supposed to type. sort of like what im about to show at the bottom.
PS, the script below is an untested script from an unexperienced beginner (me).
What it's supposed to do is when i press Z, it will say "zombie mode activated" and the scroll wheel will be attack commands (for fast knifing). when i press X it will say "human mode activated" and the scroll wheel will for switching weapons instead. i dont know if it works. it may have a few gimiks and mistakes or somthing i didnt add. could someone tell me if this would work? and any feed back, suggestion and improvement is very helpful and appreciated. thanks for your time.
/set exec zombie.cfg "bind MWHEELUP +attack; -attack; +attack; -attack"
/set exec zombie.cfg "bind MWHEELDOWN +attack; -attack; +attack; -attack"
/set exec human.cfg "bind MWHEELUP weapon prev"
/set exec human.cfg "bind MWHEELDOWN weapon next"
/bind Z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
/bind X "exec human.cfg; ut_echo "Human Mode Activated";"
/set exec zombie.cfg "bind MWHEELUP +attack; -attack; +attack; -attack"
/set exec zombie.cfg "bind MWHEELDOWN +attack; -attack; +attack; -attack"
/set exec human.cfg "bind MWHEELUP weapon prev"
/set exec human.cfg "bind MWHEELDOWN weapon next"
/bind Z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
/bind X "exec human.cfg; ut_echo "Human Mode Activated";"
//Main zombie, human switch
bind z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
bind x "exec human.cfg; ut_echo "Human Mode Activated";"
//Normal Weapon Scrolling
bind MWHEELUP "weapon prev;"
bind MWHEELDOWN "weapon next;"
//Normal Firing
bind MOUSE1 "+attack;"
//Fast knife Scroll
bind MWHEELUP "+attack; -attack; wait #; +attack; -attack;"
bind MWHEELDOWN "+attack; -attack; wait #; +attack; -attack"
The "set" command defines a step in a recursive script.
//Main zombie, human switch
bind z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
bind x "exec human.cfg; ut_echo "Human Mode Activated";"
//Normal Weapon Scrolling
bind MWHEELUP "weapon prev;"
bind MWHEELDOWN "weapon next;"
//Fast knife Scroll
bind MWHEELUP "+attack; -attack; wait #; +attack; -attack;"
bind MWHEELDOWN "+attack; -attack; wait #; +attack; -attack"
bind x "vstr n_tog"
//Do not change anything below this line unless you know
//what you are doing.
//Declare settings
//---------------------------------------------------------------------------
seta zombie_m1 "weapnext"
seta zombie_mu "+attack; -attack; wait 1; +attack; -attack"
seta zombie_md "+attack; -attack"
seta human_m1 "+attack; set next_mouse1 vstr zombie_mouse1"
//Note: swap weapnext/weapprev if desired. Not everyone
//goes the same way.
seta human_mu "weapnext"
seta human_md "weapprev"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
seta m1 "vstr human_m1"
seta mu "vstr human_mu"
seta md "vstr human_md"
//---------------------------------------------------------------------------
//Set the binds for mouse control.
bind MOUSE1 "vstr m1"
bind MWHEELUP "vstr mu"
bind MWHEELDOWN "vstr md"
//Set toggle
seta tog1 "set m1 vstr zombie_m1; set mu vstr zombie_mu; set md vstr zombie_md; ut_echo ^1Zombie ^7Mode Active.; set n_tog vstr tog2"
seta tog2 "set m1 vstr human_m1; set mu vstr human_mu; set md vstr human_md; ut_echo ^4Human ^7Mode active.; set n_tog vstr tog1"
seta n_tog "vstr tog1"
A block of code, alright.Code: [Select]bind x "vstr n_tog"
//Do not change anything below this line unless you know
//what you are doing.
//Declare settings
//---------------------------------------------------------------------------
seta zombie_m1 "weapnext"
seta zombie_mu "+attack; -attack; wait 1; +attack; -attack"
seta zombie_md "+attack; -attack"
seta human_m1 "+attack; set next_mouse1 vstr zombie_mouse1"
//Note: swap weapnext/weapprev if desired. Not everyone
//goes the same way.
seta human_mu "weapnext"
seta human_md "weapprev"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
seta m1 "vstr human_m1"
seta mu "vstr human_mu"
seta md "vstr human_md"
//---------------------------------------------------------------------------
//Set the binds for mouse control.
bind MOUSE1 "vstr m1"
bind MWHEELUP "vstr mu"
bind MWHEELDOWN "vstr md"
//Set toggle
seta tog1 "set m1 vstr zombie_m1; set mu vstr zombie_mu; set md vstr zombie_md; ut_echo ^1Zombie ^7Mode Active.; set n_tog vstr tog2"
seta tog2 "set m1 vstr human_m1; set mu vstr human_mu; set md vstr human_md; ut_echo ^4Human ^7Mode active.; set n_tog vstr tog1"
seta n_tog "vstr tog1"
Pressing "x" (or whatever you change it to)
Will swap your controls.
Copy this into your autoexec.cfg if you want.
(controls:
Human Mouse1 fire, mwheel to swap weaps.
Zombie Mouse1 next weapon, mouse wheel to attack)
The "set" command defines a step in a recursive script.
Wrong.
First off, it's not recursive, it's just looped, USUALLY.
Second, it's just a variable, that may be a step in a script.
and the part about the #, that i should put in a number depending on my fps, if my ingame fps was 94, what number should i put in the #?... 94??
PS. on your next post could you put in the complete codes for me to just copy and paste into the autoexec.cfg and will just work? remember, (press z. system says zombie mode activated. mousewheel up and down becomes attacks..... press x. system says human mode activated. mousewheel up and down switches weapons) could you put in ONE BIG, COMPLETE code to make this happen? thank you.
thank you TurbanError[1up] for the:Code: [Select]//Main zombie, human switch
bind z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
bind x "exec human.cfg; ut_echo "Human Mode Activated";"
In your human.cfg file:Code: [Select]//Normal Weapon Scrolling
bind MWHEELUP "weapon prev;"
bind MWHEELDOWN "weapon next;"
In your zombie.cfgCode: [Select]//Fast knife Scroll
bind MWHEELUP "+attack; -attack; wait #; +attack; -attack;"
bind MWHEELDOWN "+attack; -attack; wait #; +attack; -attack"
Note: We rebind +attack as the key it would have been bindined to (wheelup/down) is no longer bound to that in human mode.
A block of code, alright.Code: [Select]bind x "vstr n_tog"
//Do not change anything below this line unless you know
//what you are doing.
//Declare settings
//---------------------------------------------------------------------------
seta zombie_m1 "weapnext"
seta zombie_mu "+attack; -attack; wait 1; +attack; -attack"
seta zombie_md "+attack; -attack"
seta human_m1 "+attack; set next_mouse1 vstr zombie_mouse1"
//Note: swap weapnext/weapprev if desired. Not everyone
//goes the same way.
seta human_mu "weapnext"
seta human_md "weapprev"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
seta m1 "vstr human_m1"
seta mu "vstr human_mu"
seta md "vstr human_md"
//---------------------------------------------------------------------------
//Set the binds for mouse control.
bind MOUSE1 "vstr m1"
bind MWHEELUP "vstr mu"
bind MWHEELDOWN "vstr md"
//Set toggle
seta tog1 "set m1 vstr zombie_m1; set mu vstr zombie_mu; set md vstr zombie_md; ut_echo ^1Zombie ^7Mode Active.; set n_tog vstr tog2"
seta tog2 "set m1 vstr human_m1; set mu vstr human_mu; set md vstr human_md; ut_echo ^4Human ^7Mode active.; set n_tog vstr tog1"
seta n_tog "vstr tog1"
Pressing "x" (or whatever you change it to)
Will swap your controls.
Copy this into your autoexec.cfg if you want.
(controls:
Human Mouse1 fire, mwheel to swap weaps.
Zombie Mouse1 next weapon, mouse wheel to attack)
I don't know whats wrong with this but human mode doesn't work. The only way to fire your weapon is to hit t then hit enter or to open the console and close it again. Also when you do that to get the weapon to fire it never stops.
Just keeps on firing until the clip/slip is unloaded and just keep dry firing. You can't even change weapons after you fire the one time.
:|
bind x "vstr n_tog"
//Do not change anything below this line unless you know
//what you are doing.
//Declare settings
//---------------------------------------------------------------------------
seta zombie_m1 "weapnext"
seta zombie_mu "+attack; -attack; wait 1; +attack; -attack"
seta zombie_md "+attack; -attack"
seta human_m1 "+attack"
//Note: swap weapnext/weapprev if desired. Not everyone
//goes the same way.
seta human_mu "weapnext"
seta human_md "weapprev"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
seta m1 "vstr human_m1"
seta mu "vstr human_mu"
seta md "vstr human_md"
//---------------------------------------------------------------------------
//Set the binds for mouse control.
bind MOUSE1 "vstr m1"
bind MWHEELUP "vstr mu"
bind MWHEELDOWN "vstr md"
//Set toggle
seta tog1 "set m1 vstr zombie_m1; set mu vstr zombie_mu; set md vstr zombie_md; ut_echo ^1Zombie ^7Mode Active.; set n_tog vstr tog2"
seta tog2 "set m1 vstr human_m1; set mu vstr human_mu; set md vstr human_md; ut_echo ^4Human ^7Mode active.; set n_tog vstr tog1"
seta n_tog "vstr tog1"
Code: [Select]bind x "vstr n_tog"
//Do not change anything below this line unless you know
//what you are doing.
//Declare settings
//---------------------------------------------------------------------------
seta zombie_m1 "weapnext"
seta zombie_mu "+attack; -attack; wait 1; +attack; -attack"
seta zombie_md "+attack; -attack"
seta human_m1 "+attack"
//Note: swap weapnext/weapprev if desired. Not everyone
//goes the same way.
seta human_mu "weapnext"
seta human_md "weapprev"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
seta m1 "vstr human_m1"
seta mu "vstr human_mu"
seta md "vstr human_md"
//---------------------------------------------------------------------------
//Set the binds for mouse control.
bind MOUSE1 "vstr m1"
bind MWHEELUP "vstr mu"
bind MWHEELDOWN "vstr md"
//Set toggle
seta tog1 "set m1 vstr zombie_m1; set mu vstr zombie_mu; set md vstr zombie_md; ut_echo ^1Zombie ^7Mode Active.; set n_tog vstr tog2"
seta tog2 "set m1 vstr human_m1; set mu vstr human_mu; set md vstr human_md; ut_echo ^4Human ^7Mode active.; set n_tog vstr tog1"
seta n_tog "vstr tog1"
That should work. For obvious reasons, I can't double check.
PPS: TURBAN ERROR for an odd reason i cant access the mediafire thing. could you just put in your script word for word? kinda like what AuXAuV wrote? i think thats the easiest way.
What you want looks like this:
In your Autoexec.cfg file:Code: [Select]//Main zombie, human switch
bind z "exec zombie.cfg; ut_echo "Zombie Mode Activated";"
bind x "exec human.cfg; ut_echo "Human Mode Activated";"
In your human.cfg file:Code: [Select]//Normal Weapon Scrolling
bind MWHEELUP "weapon prev;"
bind MWHEELDOWN "weapon next;"
//Normal Firing
bind MOUSE1 "+attack;"
Note: We rebind +attack as the key it would have been bindined to (wheelup/down) is no longer bound to that in human mode.
In your zombie.cfgCode: [Select]//Fast knife Scroll
bind MWHEELUP "+attack; -attack; wait #; +attack; -attack;"
bind MWHEELDOWN "+attack; -attack; wait #; +attack; -attack"
--snip--
ahh i managed to test out your script but sorry to burst your bubble but.. theres something wrong with it.
on red team it works absolutely perfectly. But the most problematic part is the human team. you can switch weapons yes. but if you just shoot ONCE on your first shot, on ANY weapon, after the first shot it wont shoot again. for example: i used a sr8 for my first shot. (BOOM/ reload/ gun never is ready for next shot.) same thing for the shotgun. (BOOM/ reload/ reload freezes/ gun is never ready for next shot.) i tried switching to a different gun using my scroll wheel but only one gun appears which is the gun you fired your first shot with, and you guessed it, still not ready for its next shot. no other gun appears. i tried reloading clips in the lr after exiting and reattempting. (Reload/ reload freezes halfway/ gun is never ready for next shot.) so i am basically stuck with no guns to fire after the first shot on human team. but AuXAuV farr out man, that is one helluva script right there. but remember, a complicated script comes with very annoying problems if something's wrong. is there a possibility that you can downsize this script into a more simpler one?
PS:
The gun will only fire when you open up the console, then close. also when you press t to talk and then enter.
funny thing heppened to me when i tested out the script. in game i typed "dont kill me im testing out my script" to the reds cuz they kept camping (not that i cared). the moment i hit enter, my shotgun whent BOOM to a red's face. they though i tricked them and they killed me xD >:(
PPS: TURBAN ERROR for an odd reason i cant access the mediafire thing. could you just put in your script word for word? kinda like what AuXAuV wrote? i think thats the easiest way.
thanks for the help everyone :D ;)
bind x "vstr toggle_mode"
seta toggle_mode "vstr zombie_mode"
seta zombie_mode "set toggle_mode vstr human_mode; exec zombie.cfg; echo ^1Zombie ^6Mode Active."
seta human_mode "set toggle_mode vstr zombie_mode; exec human.cfg; echo ^4human ^6Mode Active."
Well, the simplest is 2 configs, human and zombie, that have an exec toggle.Code: [Select]However, that's what Turban has been trying to tell you the whole time.bind x "vstr toggle_mode"
seta toggle_mode "vstr zombie_mode"
seta zombie_mode "set toggle_mode vstr human_mode; exec zombie.cfg; echo ^1Zombie ^6Mode Active."
seta human_mode "set toggle_mode vstr zombie_mode; exec human.cfg; echo ^4human ^6Mode Active."
I am against scripting. But what choice do I got with pingers these days.
Can you recommend how many +attack.
My fps is around 78-99 fps.
My ping is almost always 68-76
alright, i got another script which i modified to fit my game play.Code: [Select]try it and tell me what you think of it. im rather proud to have endured all those trial and errors. there still may be some mistakes in it but try it and tell me what you think of it. :Dset sl_00 "set sl_f vstr sl_01; ut_echo ^7Human Mode Activated; vstr hum"
set sl_01 "set sl_f vstr sl_00; ut_echo ^3Zombie Mode 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 MWHEELDOWN “+attack; -attack”;”
set zom “bind MWHEELUP “+attack; -attack”;”
set hum “bind MWHEELDOWN “weapprev”;”
set hum “bind MWHEELUP “weapnext”;”
set hum "bind MOUSE1 vstr att"
set att "+attack; -attack"