Forum
Scripts
Created 12th April 2010 @ 14:05
Add A Reply Pages: 1 2 Next »
Can anyone write this scripts for me plz?
1. switches betwen secondary and primary wepn
2. say when i die
3. change betwen pub and comp. cfg. (config.cfg and a defalut one)
4. drawhud 1 or 0
ty
You can’t have something automatically happen when you die by simply using a script because nothing is called upon when you die.
As for switching between primary and secondary weapon, I don’t understand why you need a script for this? (Do you mean something other than pressing 1 and 2?)
To change between configs just make two configs, pub.cfg and comp.cfg and do something like
bind “F1” “exec pub”
bind “F2” “exec comp”
To change drawhud all you need to do is
alias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”
Chris:
I think the changing weapon thing means like ‘q’ does only it switches to primary if you’re on secondary and switches to secondary if you’re using primary.
Quoted from Mike
Chris:
Get a life.
Where can I download that?
Quoted from ilike2spin
Chris:
I think the changing weapon thing means like ‘q’ does only it switches to primary if you’re on secondary and switches to secondary if you’re using primary.
That’s pretty simple to do:
alias “switchwep_pri” “slot1;alias “switchwep_toggle” “switchwep_sec””
alias “switchwep_sec” “slot2;alias “switchwep_toggle” “switchwep_pri””
alias “switchwep_toggle” “switchwep_pri”
Last edited by octochris,
Quoted from Mike
Chris:
Get a life.
He has one, and its tf2.
Quoted from Mike
Chris:
Get a life.
I smell some irony here ; )
Quoted from octochris
You can’t have something automatically happen when you die by simply using a script because nothing is called upon when you die.
As for switching between primary and secondary weapon, I don’t understand why you need a script for this? (Do you mean something other than pressing 1 and 2?)
To change between configs just make two configs, pub.cfg and comp.cfg and do something like
bind “F1” “exec pub”
bind “F2” “exec comp”To change drawhud all you need to do is
alias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”
stfu… fake Geordie.
Quoted from Swarlz
[…]
stfu… fake Geordie.
AYE DOON THE TOON LIKE REET PISSED AYE
CANNY LIEK NA SAY
Quoted from octochris
(…)
To change drawhud all you need to do isalias “drawhud_on” “cl_drawhud “1”;alias “drawhud_toggle” “drawhud_off””
alias “drawhud_off” “cl_drawhud “0”;alias “drawhud_toggle” “drawhud_on””
alias “drawhud_toggle” “drawhud_on”
bind “F3” “drawhud_toggle”
Why so complicated :D bind f3 “toggle cl_drawhud 1 0” does the same job.
Add A Reply Pages: 1 2 Next »