PDA

View Full Version : School Lesson: What is a Fire Script



A Soldier
09-24-2006, 03:14 PM
Ok, i made tihs topic because when i mentioned a fire script everone was like "wtf?" so im here to explain what it is.

First of all lets get some definitions out of the way:


Console- the magical square that tells you what the hell is goin on in the game

Command String- a command placed in console such as net_graph 30 (<command> <arugement> <second Argument> ect ect

Command String "wait"- tells the game to take a .5 second pause before executeing another command

Command String "Alias"- lets the user define his own command string such as "alias <your custom string name> <what your string name does>" Example: alias cycle nextwepon (changes your wepon to the next in your inventory when you type cycle in console)

Command String "echo"- displays a message in console, mainly used as a way to give the user directions if you forget how to use a fire script (like what buttons)
Now that we have the definitions out of the way we can get to the actual codeing of the fire script. a basic fire script should look like this:



echo Burst Fire - PGUP
echo Duel Fire - home
echo Single fire - ins
echo Normal - Del
alias duelfire "bind mouse1 duel2; developer 1; echo Duel Fire Enabled; developer 0; bind end burstfire"
alias duel2 "+attack; wt3; -attack; wt3; +attack; wt3; -attack; wt3"
alias wt3 "wait; wait; wait"
alias burstfire "bind mouse1 burst3; developer 1; echo Burst Fire Enabled; developer 0; bind end standard"
alias burst3 "+attack; wt3; -attack; wt3; +attack; wt3; -attack; wt3; +attack; wt3; -attack; wt3;"
alias normal "bind mouse1 +attack; bind end burstfire; developer 1; echo Normal Fire Enabled; developer 0; bind end singlefire"
alias singlefire "bind mouse1 single1; developer 1; echo Single Fire Enabled; developer 0; bind end duelfire"
alias single1 "+attack; wt3; -attack; wt3; echo Single Fire Enabled"

alias fireselect "fireselect1"
alias fireselect1 "normal; alias fireselect fireselect2"
alias fireselect2 "singlefire; ali
Looks like ribbish huh?, well to some there like omfg thats a fire script?!?! but to a programer this is a simple command. what this command states is that when you pres the desired key (del, insert, PG up, PG down) you will get a different fire script alias. the burst script alias looks like this.


alias burstfire "bind mouse1 burst3; developer 1; echo Burst Fire Enabled; developer 0; bind end standard"

alias burst3 "+attack; wt3; -attack; wt3; +attack; wt3; -attack; wt3; +attack; wt3; -attack; wt3;"

alias wt3 "wait; wait; wait"
ok, this looks like alot but you need these three alias strings to make burst fire work, the first string "alias burstfire" tells to game to bind mouse one (fire button) to the alias command "burst3", then it tells the console to write Burst Fire Enabeled to show the user that the script works.

Next, is the burst3 command, it tells the came to use another alias "wt3" wich tells the game to execute wt3's command wich is just 1.5 seonds of pause. so now you have a combo of attack and attack stop commands (+attack, -attack) this tells the gun to fire and to stop fireing, but sience your not going full auto and using this script. you get a nice triplet burst from anyone of your "AUTOMATIC" Guns (ak47, M4, SMG's, Riffles) Not Pistols!! (thats another script :))

now your probally thinking wow this is soo illigal and its going to get me banned! wrong! this is doable in the console and valve cant do anything about it!

Now to install this script you need a .CFG file (dont copy and paste this one cause i made shure it dosent work unless you tweak it).

i always copy my "config.cfg" and put it on my desktop and open it with notepad and rewrite it, but if you have another way thats fine. so after you have this code you place it in a config and "save it" do not "save as" it cause it wont be a CFG anymore. next name the CFG to somthing like "cycle" or somthing and place the new CFG into the "c/programfiles/steam/steamapps/*Ur Email*/Counter Ctrike Source/CFG" folder and open up your Config.cfg.

now in this you need to find the end of the cfg and add "exec cycle.cfg" without quotes, and thats it your done!

post any questions or comments if you need to, and if you want a script ill gladly make you a working one.

*note* the script i used above does not work withpout a special command i left out so dont try to do this and be like "WTF it dosent work?!?!" cause i ment it not to work unless you PM me and ill give you a real one.

CoolHair[RS]
09-24-2006, 03:52 PM
to much work when i can click however many bullets i want anyway

yout3[RS]
09-24-2006, 04:54 PM
Phooey, if they banned you for doing something THEY made doable in the game, that's no longer your problem, it's theirs for being tightasses.

And if you can use rcon in halo, and understand most of the commands the game has, that shouldn't be gibberish.

Chewy Gumball[RS]
09-24-2006, 06:00 PM
Its giving an advantage to you that shouldn't be there. Just because you CAN do it, doesn't mean its ok to do it.

A Soldier
09-24-2006, 06:02 PM
Just thought i post it, i dont use one unless im doing long distance with riffles on coolhair [cheap ak godly punk =)]

BMAsRevenge[RS]
09-24-2006, 07:59 PM
Here in lies the whole problem with CSS in a nutshell! The games design allows for modding at all aspects of it. Its not really that its cheating its just that anyone at any given time could be running rcon aides such as mentioned. Giving them an advantage others don't have. In this sense the game is flawed by allowing unfair gameplay IE:Hacks.

Who is running what? Who knows? Is it cheating? No but unfair to those who are not.
Although I do enjoy playing the game itself for fun as I have stated in many post. There are many things in the game I dislike 1- Flash nades, Sorry if you like them but using them only shows your weakness in the fact you can't beat someone straight up and need to blind them first. 2 - losers get less money? Well this is just stupid! If they are losing then they are the team already at disadvantage and need better guns to make it even. 3 - The constant hacker stopping by a server. Hacking in CSS is very common VAC systems usually only stops old hacks or personal modding. real hacks are updated as fast as VAC is updated. 4 - Now add in the idea of personal rcon aides and it pretty much makes the game something that should only be played with the attitude of screw it.

I have in the past stated I do not want to compete and prefer the texture maps being its just straight out kill other team quick restart and do it again. nothing serious, no "Quiot can't hear footsteps", no waiting forever if your killed....... put all of the above together and it only solidifies my feelings towards CSS.

AskaniSon[RS]
09-25-2006, 04:35 AM
man i hate flash nades, i was in the rs server the other night adn i got flash naded 4 TIMES IN A ROW!!! AT LEAST 5 ROUNDS IN A ROW!!! They are kinda gay even if you use em right, but that kind of spamming is jsut rediculous, then to add to it our server was set up so there was no safe time to buy weapons at the start of each round, im slow, i dont have keys memorized to buy my weapons, and when i havent even bought the gun, much less ammo, and already a guy has run over and head shot me, then thats jsut a plain shitty board configuration. Some of you seriously need to lay off the flash bangs.

Agruso
01-10-2007, 10:13 PM
I think I read somewhere that scripting in source, client-side is considered "cheating", and could inevitably result in being banned; nonetheless, your right about how basic the code is to a programmer. As i've been reading these two books its pretty hard to comprehend, when you have no background history of terms used in computer language. Taking me a while, but I'll get it.

ReadWriteEXecute
05-06-2007, 05:59 AM
the correct way to make an auto fire script is to use an external program like GlovePie, makes spraying witht he Elites much easier. also, you can find that magical interval that you can shoot any particular gun like the ak47 for before the recoil is so much that it sprays. take that time and set it for your delay. you will have perfect shots and you can just hold down your other fire button!!!!

chrislamagne
05-06-2007, 05:16 PM
ive been using this for a long time....

glenquagmire
05-24-2007, 11:50 PM
i fucking knew it, there's the proof, 2 posts up. That douchebag RWE said I accused him of doing exactly what he is bragging about, glitching the elites. Once more, proof positive that that guy sucked. I take back all the nice things i said about him. both of them.

DA BEARS[RS]
05-25-2007, 12:39 AM
HATS! HATS! HATS! HATS! HATS! HATS! HATS! HATS!.......ect....

A Soldier
05-25-2007, 01:23 AM
Lol, i use Fire Scripts for Natural Selection (www.unknownworlds.com) because the aliens move so fast u need to conserve ammo. but source is too obvious. the AK47 Program is a good one but, even on some servers it says "No Scripting allowed" so tough luck. also i do not promote scripts

TailofZabu[RS]
05-25-2007, 05:37 AM
HAXORS

DA BEARS[RS]
05-25-2007, 05:48 AM
;11352']HAXORS
HATS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!

CoolHair[RS]
05-25-2007, 06:49 AM
i said it once ill say it again. all fireing scripts are hacks in my book..the end.


Edit: i was editing this into somthing real long had atleast 20 lines and everything. erased it all.

can be said in one line

Fireing script = B.A.D!!!!

DA BEARS[RS]
05-25-2007, 08:32 AM
Never thought I would say this but, CoolHair is absolutly right.

"Just kidding Cool don't knife me."

BigRat[RS]
05-30-2007, 08:12 PM
Wow. Not only is it absurd that you can do those scripts, but that people use them.
When did it become okay to play unfair?
Oh wait... lions and Christians... yeah... that was kind of unfair way back then, too. Drat. People suck.

RAT

/never scripted or hacked
//when I do, tell me to quit gaming -- I'll listen
///so tired right now...

30secondstodeath
06-01-2007, 12:19 AM
hahahah bears - right?

cool - congrats on a post that is mostly spelled correctly, uses good grammar, and actually makes a valid point!

me - im fucking amazed!