Forum
changing the crosshairs
Created 10th July 2009 @ 10:06
Add A Reply Pages: 1
i have a simple request.
i got 2 crosshairs. one is called crosshair2 and the other one is called crosshair8.
crosshair2 is for the rocket launcher. crosshair8 is for the shotgun.
i want crosshairs to change for primary and secondary weapons when i press Q. i tried out some configs but couldnt make it work. help me out please.
use m0re`s alias cfg – http://more.pp.fi/tf2/configs/alias.cfg
but then check these aswell – http://more.pp.fi/tf2/configs/class_cfg/
ok i checked those links but it seems i’m gonna have to press a different button for crosshairs to change. like 1 for rl and 2 for ssg.
i only want to swap between primary and secondary with Q. with the crosshairs changing per weapon ofc.
ah, ok, this works for me cuz i dont use Q
i dont know if it helps but, im also using this alias
alias weap1 “slot1; alias swap swap2”
alias weap2 “slot2; alias swap swap1”
alias weap3 “slot3; alias swap swap2”
alias swap swap1
alias swap1 “weap1”
alias swap2 “weap2”
bind q “swap”
bind 1 “weap1”
bind 2 “weap2”
bind 3 “weap3”
so my Q button is only swapping between primary and secondary.
lo boy, here is my soldier’s cfg.
I’m exclusively using Q to switch between primary and second weapon (my melee weapon being set on my mouse5 boutton)
alias RPG “slot1; r_drawviewmodel 1;cl_crosshair_file crosshair3;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;cl_crosshair_scale 30;bind q SHOTGUN”
alias SHOTGUN “slot2;r_drawviewmodel 1;cl_crosshair_file crosshair7;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;cl_crosshair_scale 20;bind q RPG”
bind “q” “SHOTGUN”
I just have to press Q to switch between rocketlauncher and shotgun :)
-put r_drawviewmodel to 0 if you want to turn off the model.
-cl_crosshair_file crosshair “put the number of your desired crosshair”
-put values between 0 to 255 for blu/red/green to get the desired colour.
-cl_crosshair_scale is for how big or small you want your crosshair.
hf
i checked that cfg out hansa but didnt work. q isnt swapping between prim and second.
do i need to add anything to config.cfg ?
hum that’s weird.
It works fine for me, i’m also using those kind of script for every class.cfg :/
i can’t explain it :x
yeah when that cfg is loaded it says “bind -key- [command] : attach a command to a key” unknown command “q”
you probably gave me something missing.
anyway i finally manage to find the config i was looking for.
alias rocketcross “cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 255;cl_crosshair_file crosshair2;cl_crosshair_scale 16”
alias shottycross “cl_crosshair_red 40;cl_crosshair_green 200;cl_crosshair_blue 0;cl_crosshair_file crosshair8;cl_crosshair_scale 16”
alias meleecross “cl_crosshair_file “”;”
alias wep1 “slot1;alias wepcycle wep2;rocketcross”
alias wep2 “slot2;alias wepcycle wep1;shottycross”
bind 1 “slot1; alias wepcycle wep2;rocketcross”
bind 2 “slot2; alias wepcycle wep1;shottycross”
bind 3 “slot3; alias wepcycle wep1;meleecross”
alias wepcycle wep1
bind q wepcycle
you can change the “cl_crosshair_file crosshairX” to your liking.
a fukken happy ending.
Add A Reply Pages: 1