Upvote Upvoted 1 Downvote Downvoted
Scripting help
posted in Customization
1
#1
0 Frags +

hey i am having trouble with some solly scripting i wanna do
i want "e" to be a toggle switch for shotty and the rl with the sens changing from 1.02 for rl and 1.00 for shotty.

If anyone can help it would be a huge help
thanks for the read

hey i am having trouble with some solly scripting i wanna do
i want "e" to be a toggle switch for shotty and the rl with the sens changing from 1.02 for rl and 1.00 for shotty.

If anyone can help it would be a huge help
thanks for the read
2
#2
3 Frags +

alias "rockets" "slot1; sensitivity 1.02; alias switcher shotgun"
alias "shotgun" "slot2; sensitivity 1; alias switcher rockets"

alias "switcher" "rockets"
bind "e" "switcher"

Didn't really test this, just made it up on the spot so please tell me if it worked.
EDIT: fixed some stuff, just noticed some errors.

alias "rockets" "slot1; sensitivity 1.02; alias switcher shotgun"
alias "shotgun" "slot2; sensitivity 1; alias switcher rockets"

alias "switcher" "rockets"
bind "e" "switcher"

Didn't really test this, just made it up on the spot so please tell me if it worked.
EDIT: fixed some stuff, just noticed some errors.
3
#3
0 Frags +

Didn' work :( It stays on sensitivity 1.02

Didn' work :( It stays on sensitivity 1.02
4
#4
1 Frags +

haven't tested it but should work

alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "rockets" "slot1; sensitivity 1.02"
alias "shotgun" "slot2; sensitivity 1"
alias switcher "switch1"
bind "e' "switcher"

haven't tested it but should work

alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "rockets" "slot1; sensitivity 1.02"
alias "shotgun" "slot2; sensitivity 1"
alias switcher "switch1"
bind "e' "switcher"
5
#5
0 Frags +
Treshhaven't tested it but should work

alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "rockets" "slot1; sensitivity 1.02"
alias "shotgun" "slot2; sensitivity 1"
alias switcher "switch1"
bind "e' "switcher"

Thx! That seems to work. Got a new problem now. My viewmodel script seems to not work. I had the rl with no viewmodel and viewmodel on the shotty. THis is the script I had.

bind 1 wep1
bind 2 wep2
bind 3 wep3

bind e wepcycle

alias wep1 "alias wepcycle wep2;modeloff;slot1"
alias wep2 "alias wepcycle wep1;modelon;slot2"
alias wep3 "alias wepcycle wep1;modelon;slot3"

alias modelon r_drawviewmodel 1
alias modeloff r_drawviewmodel 0

[quote=Tresh]haven't tested it but should work

alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "rockets" "slot1; sensitivity 1.02"
alias "shotgun" "slot2; sensitivity 1"
alias switcher "switch1"
bind "e' "switcher"[/quote]

Thx! That seems to work. Got a new problem now. My viewmodel script seems to not work. I had the rl with no viewmodel and viewmodel on the shotty. THis is the script I had.

bind 1 wep1
bind 2 wep2
bind 3 wep3

bind e wepcycle

alias wep1 "alias wepcycle wep2;modeloff;slot1"
alias wep2 "alias wepcycle wep1;modelon;slot2"
alias wep3 "alias wepcycle wep1;modelon;slot3"

alias modelon r_drawviewmodel 1
alias modeloff r_drawviewmodel 0
6
#6
2 Frags +
PringlesThx! That seems to work. Got a new problem now. My viewmodel script seems to not work. I had the rl with no viewmodel and viewmodel on the shotty. THis is the script I had.

bind 1 wep1
bind 2 wep2
bind 3 wep3

bind e wepcycle

alias wep1 "alias wepcycle wep2;modeloff;slot1"
alias wep2 "alias wepcycle wep1;modelon;slot2"
alias wep3 "alias wepcycle wep1;modelon;slot3"

alias modelon r_drawviewmodel 1
alias modeloff r_drawviewmodel 0

You would have to integrate them, as so.
[/quote]alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "switch3" "melee; alias switcher switch1"

alias "rockets" "slot1; sensitivity 1.02;modeloff "
alias "shotgun" "slot2; sensitivity 1;modelon "
alias "melee" "slot3;modelon; SENSITIVITY U WANT FOR MELEE"

alias modelon "r_drawviewmodel 1"
alias modeloff "r_drawviewmodel 0"
alias switcher "switch1"

bind "e' "switcher"
bind "1" "switch1"
bind "2" "switch2"
bind "3" "switch3"[/quote]

[quote=Pringles]
Thx! That seems to work. Got a new problem now. My viewmodel script seems to not work. I had the rl with no viewmodel and viewmodel on the shotty. THis is the script I had.

bind 1 wep1
bind 2 wep2
bind 3 wep3

bind e wepcycle

alias wep1 "alias wepcycle wep2;modeloff;slot1"
alias wep2 "alias wepcycle wep1;modelon;slot2"
alias wep3 "alias wepcycle wep1;modelon;slot3"

alias modelon r_drawviewmodel 1
alias modeloff r_drawviewmodel 0[/quote]
You would have to integrate them, as so.
[/quote]alias "switch1" "rockets; alias switcher switch2"
alias "switch2" "shotgun; alias switcher switch1"
alias "switch3" "melee; alias switcher switch1"

alias "rockets" "slot1; sensitivity 1.02;modeloff "
alias "shotgun" "slot2; sensitivity 1;modelon "
alias "melee" "slot3;modelon; SENSITIVITY U WANT FOR MELEE"

alias modelon "r_drawviewmodel 1"
alias modeloff "r_drawviewmodel 0"
alias switcher "switch1"

bind "e' "switcher"
bind "1" "switch1"
bind "2" "switch2"
bind "3" "switch3"[/quote]
7
#7
1 Frags +

thx that worked.

thx that worked.
Please sign in through STEAM to post a comment.