• Mitspieler gesucht? Du willst dich locker mit der Community austauschen? Schau gerne auf unserem ComputerBase Discord vorbei!

CS 2/CS:GO CS GO regebogen crosshair script

sightseeer

Lt. Junior Grade
Registriert
Juni 2013
Beiträge
284
hi,

Ich hätte da ein anliegen was ein bestimmtes script auf der autoexec.cfg angeht.

das script soll ein wechsel von crosshairfarben, die ich vorher definiere, mit jeweils allen keys triggern.
ich hab das script nicht in einer extra datei gemacht sondere direkt die autoexec.cfg benutzt.

hier mal ein wenig code in der autoexec.cfg:

erst ein paar farben definieren via alias:
Code:
alias col_pink1	"cl_crosshaircolor_b 250; cl_crosshaircolor_r 250;cl_crosshaircolor_g 0"
alias col_green1 "cl_crosshaircolor_b 0; cl_crosshaircolor_r 128;cl_crosshaircolor_g 250"
alias col_black	"cl_crosshaircolor_b 0; cl_crosshaircolor_r 0;cl_crosshaircolor_g 0"

dann ein alias um das script ein wenig angenehmer zu gestalten (redundanten code vermeiden):
Code:
alias colors "toggle command col_pink1 col_green1

dieses alias colors dann natürlich in den jeweiligen keybinds hinzufügen:
Code:
bind "a" "+moveleft; r_cleardecals; colors"

zur bestätigung in der console in game, lass ich mir beweisen dass die autoexec.cfg auch geladen wurde,
also schreibe ich ganz unten noch (habe exec autoexec.cfg nicht vergessen):
Code:
echo "autoexec.cfg erfolgreich geladen"

nun versteh ich nicht wieso das nicht geht, hab ich was falsch gemacht oder übernimmt csgo das nicht, syntax falsch?
ich habe es auch versucht ohne die aliases zu verschachteln, das hat nichts geändert. Die console in game gibt mir jedenfalls keinen fehler aus .

zur vollständigkeit mal beide completten datei-inhalte, das ist was am ende egt schon ausreichen sollte:
autoexec.cfg (vorsicht, ziemlich lang!)
Code:
bind "0" "slot10; colors"
bind "1" "slot1; colors"
bind "2" "slot2; colors"
bind "3" "slot3; colors"
bind "4" "slot4; colors"
bind "5" "slot5; colors"
bind "6" "slot6; colors"
bind "7" "slot7; colors"
bind "8" "slot8; colors"
bind "9" "slot9; colors"
bind "a" "+moveleft; r_cleardecals;colors"
bind "b" "buymenu; colors"
bind "c" "radio3"
bind "d" "+moveright; r_cleardecals;colors"
bind "e" "+use; colors"
bind "f" "+lookatweapon; colors"
bind "g" "drop; r_cleardecals;colors"
bind "i" "show_loadout_toggle"
bind "k" "+voicerecord;colors"
bind "m" "teammenu"
bind "q" "lastinv; r_cleardecals;colors"
bind "r" "+reload; colors"
bind "s" "+back; r_cleardecals;colors"
bind "u" "messagemode2"
bind "w" "+forward; r_cleardecals;colors"
bind "x" "radio2"
bind "y" "messagemode"
bind "z" "radio1"
bind "^" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "MOUSE4" "voice_enable 0; ignorerad"
bind "MOUSE5" "voice_enable 1; ignorerad; ignorerad"
bind "SPACE" "+jump;r_cleardecals; colors"
bind "TAB" "+showscores; colors"
bind "ESCAPE" "cancelselect"
bind "DEL" "mute"
bind "PAUSE" "pause" 
bind "SHIFT" "+speed; colors"
bind "CTRL" "+duck; colors"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "MOUSE1" "+attack; r_cleardecals; col_standard;"
bind "MOUSE2" "+attack2; r_cleardecals"
alias colors "toggle command col_pink1 col_green1 col_red1 col_blue1 col_white col_violet col_yellow1 col_black col_blue2 col_pink2 col_green1 col_red2 col_blue1 col_white col_violet col_yellow2 col_black"
alias col_standard "cl_crosshaircolor_b 250; cl_crosshaircolor_r 50;cl_crosshaircolor_g 250"
alias +col_standard "cl_crosshaircolor_b 250; cl_crosshaircolor_r 50;cl_crosshaircolor_g 250"
alias col_pink1	"cl_crosshaircolor_b 250; cl_crosshaircolor_r 250;cl_crosshaircolor_g 0"
alias col_green1 "cl_crosshaircolor_b 0; cl_crosshaircolor_r 128;cl_crosshaircolor_g 250"
alias col_black	"cl_crosshaircolor_b 0; cl_crosshaircolor_r 0;cl_crosshaircolor_g 0"
alias col_blue1	"cl_crosshaircolor_b 255; cl_crosshaircolor_r 0;cl_crosshaircolor_g 0"
alias col_red1 "cl_crosshaircolor_b 0; cl_crosshaircolor_r 250;cl_crosshaircolor_g 0"
alias col_blue2	"cl_crosshaircolor_b 250; cl_crosshaircolor_r 0;cl_crosshaircolor_g 250"
alias col_white	"cl_crosshaircolor_b 0; cl_crosshaircolor_r 0;cl_crosshaircolor_g 0"
alias col_pink2	"cl_crosshaircolor_b 250; cl_crosshaircolor_r 250;cl_crosshaircolor_g 153"
alias col_violet "cl_crosshaircolor_b 153; cl_crosshaircolor_r 153;cl_crosshaircolor_g 0"
alias col_red2 "cl_crosshaircolor_b 153; cl_crosshaircolor_r 153;cl_crosshaircolor_g 0"
alias col_yellow1 "cl_crosshaircolor_b 0; cl_crosshaircolor_r 250;cl_crosshaircolor_g 250"
alias col_yellow2 "cl_crosshaircolor_b 95; cl_crosshaircolor_r 250;cl_crosshaircolor_g 250"
adsp_debug "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
budget_bargraph_range_ms "16.6666666667"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_x "0"
budget_panel_y "50"
budget_peaks_window "30"
budget_show_averages "0"
budget_show_history "1"
budget_show_peaks "1"
bugreporter_uploadasync "0"
bugreporter_username ""
c_maxdistance "200"
c_maxpitch "90"
c_maxyaw "135"
c_mindistance "30"
c_minpitch "0"
c_minyaw "-135"
c_orthoheight "100"
c_orthowidth "100"
c_thirdpersonshoulder "false"
c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cam_collision "0"
cam_idealdelta "4.0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_ideallag "4.0"
cam_idealpitch "0"
cam_idealyaw "0"
cam_snapto "0"
cc_lang ""
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
chet_debug_idle "0"
cl_allowdownload "1"
cl_allowupload "1"
cl_autohelp "1"
cl_autowepswitch "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobcycle "0.98"
cl_buy_favorite_nowarn "0"
cl_buy_favorite_quiet "0"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_clanid "0"
cl_cmdrate "128"
rate 128000
cl_crosshairalpha "255"
cl_crosshaircolor "4"
cl_crosshaircolor_b "250"
cl_crosshaircolor_r "50"
cl_crosshaircolor_g "250"
cl_crosshairdot "0"
cl_crosshairgap "0"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "0.5"
cl_fixedcrosshairgap "0"
cl_crosshair_outlinethickness "0"
cl_crosshair_drawoutline "0"
cl_debugrumble "0"
cl_detail_avoid_force "0.4"
cl_detail_avoid_radius "64"
cl_detail_avoid_recover_speed "0.25"
cl_detail_max_sway "5"
cl_disablefreezecam "1"
cl_disablehtmlmotd "0"
cl_dm_buyrandomweapons "1"
cl_downloadfilter "all"
cl_fixedcrosshairgap "3"
cl_forcepreload "0"
cl_freezecampanel_position_dynamic "1"
cl_hud_background_alpha "200000"
cl_hud_bomb_under_radar "1"
cl_hud_color "0"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "1"
cl_hud_radar_scale "1"
cl_idealpitchscale "0.8"
cl_interp_ratio 1
cl_interp 0
cl_inv_showdividerline "0"
cl_inventory_saved_filter "all"
cl_inventory_saved_sort "newest"
cl_join_advertise "1"
cl_loadout_colorweaponnames "0"
cl_logofile "materials/vgui/logos/spray_bullseye.vtf"
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_obs_interp_enable "1"
cl_observercrosshair "1"
cl_radar_always_centered "1"
cl_radar_icon_scale_min "0.6"
cl_radar_rotate "1"
cl_radar_scale "0.7"
cl_radar_square_with_scoreboard "1"
cl_righthand "1"
cl_rumblescale "1.0"
cl_scalecrosshair "1"
cl_scoreboard_mouse_enable_binding "+attack2"
cl_show_clan_in_death_notice "1"
cl_showhelp "1"
cl_showloadout "1"
cl_showpluginmessages "1"
cl_soundfile ""
cl_spec_mode "6"
cl_teamid_overhead_name_alpha "245"
cl_teamid_overhead_name_fadetime "1.0"
cl_teammate_colors_show "2"
cl_timeout "30"
cl_updaterate "128"
cl_use_opens_buy_menu "1"
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
closecaption "0"
closeonbuy "0"
commentary_firstrun "0"
con_enable "1"
crosshair "1"
cursortimeout "60.0"
dsp_enhance_stereo "0"
econ_highest_baseitem_seen "63"
engine_no_focus_sleep "50"
force_audio_english "0"
func_break_max_pieces "15"
fps_max "133"
g15_update_msec "250"
gameinstructor_enable "0"
hud_scaling "0.85"
hud_showtargetid "1"
hud_takesshots "0"
joy_accelmax "1.0"
joy_accelscale "3.5"
joy_accelscalepoly "0.4"
joy_advanced "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_autoaimdampen "0"
joy_autoAimDampenMethod "0"
joy_autoaimdampenrange "0"
joy_axisbutton_threshold "0.3"
joy_cfg_preset "1"
joy_circle_correct "1"
joy_curvepoint_1 "0.001"
joy_curvepoint_2 "0.4"
joy_curvepoint_3 "0.75"
joy_curvepoint_4 "1"
joy_curvepoint_end "2"
joy_diagonalpov "0"
joy_display_input "0"
joy_forwardsensitivity "-1"
joy_forwardthreshold "0.15"
joy_gamma "0.2"
joy_inverty "0"
joy_lowend "1"
joy_lowend_linear "0.55"
joy_lowmap "1"
joy_movement_stick "0"
joy_name "joystick"
joy_no_accel_jump "0"
joy_pitchsensitivity "-1"
joy_pitchthreshold "0.15"
joy_response_look "0"
joy_response_look_pitch "1"
joy_response_move "1"
joy_sensitive_step0 "0.1"
joy_sensitive_step1 "0.4"
joy_sensitive_step2 "0.90"
joy_sidesensitivity "1"
joy_sidethreshold "0.15"
joy_wingmanwarrior_centerhack "0"
joy_wingmanwarrior_turnhack "0"
joy_yawsensitivity "-1"
joy_yawthreshold "0.15"
joystick "0"
joystick_force_disabled "0"
joystick_force_disabled_set "0"
key_bind_version "1"
lobby_voice_chat_enabled "1"
lockMoveControllerRet "0"
lookspring "0"
lookstrafe "0"
m_customaccel "0"
m_customaccel_exponent "0"
m_customaccel_max "0"
m_customaccel_scale "0"
m_forward "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
m_pitch "0.022"
m_rawinput "1"
m_side "0.8"
m_yaw "0.022"
mat_monitorgamma "0"
mat_monitorgamma_tv_enabled "1"
mat_powersavingsmode "0"
mat_queue_report "0"
mat_spewalloc "0"
mat_texture_list_content_path ""
mc_accel_band_size "0.5"
mc_dead_zone_radius "0.06"
mc_max_pitchrate "100.0"
mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_dedicated_search_maxping "50.000000"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
muzzleflash_light "1"
name "i <3 computerbase"
net_allow_multicast "1"
net_graph "1"
net_graphheight "54"
net_graphholdsvframerate "0"
net_graphmsecs "400"
net_graphpos "0"
net_graphproportionalfont "0"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "0"
net_graphsolid "1"
net_graphtext "1"
net_maxroutable "1200"
net_scale "5"
net_steamcnx_allowrelay "1"
npc_height_adjust "1"
option_duck_method "0"
option_speed_method "0"
password ""
play_distance "1"
player_botdifflast_s "2"
player_competitive_maplist7 "mg_de_dust2,mg_de_nuke,mg_de_mirage"
player_gamemodelast_m "1.000000"
player_gamemodelast_s "0"
player_gametypelast_m "0"
player_gametypelast_s "0"
player_last_leaderboards_filter "0"
player_last_leaderboards_mode "0"
player_last_leaderboards_panel "0"
player_last_medalstats_category "0"
player_last_medalstats_panel "0"
player_maplast_m "0"
player_maplast_s "0"
player_medalstats_most_recent_time "0"
player_nevershow_communityservermessage "0"
player_teamplayedlast "2"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
r_drawtracers_firstperson "1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
safezonex "0.85"
safezoney "1.0"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
sensitivity "5.99"
sf_ui_tint "2"
sk_autoaim_mode "1"
skill "1"
snd_deathcamera_volume "0.270000"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducking_off "1"
snd_ducktovolume "0.55"
snd_legacy_surround "0"
snd_surround_speakers 0
snd_mapobjective_volume "1.0"
snd_menumusic_volume "0.000000"
snd_mixahead "0.1"
snd_music_selection "1"
snd_musicvolume "0.000000"
snd_musicvolume_multiplier_inoverlay "0.1"
snd_mute_losefocus "1"
snd_pitchquality "1"
snd_rear_speaker_scale "1.0"
snd_roundend_volume "1.0"
snd_roundstart_volume "1.0"
snd_tensecondwarning_volume "1.0"
spec_show_xray "0"
spec_usenumberkeys_nobinds "1"
ss_splitmode "0"
store_version "1"
suitvolume "0.25"
sv_forcepreload "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "sky_dust"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_unlockedchapters "1"
sv_voiceenable "1"
sys_antialiasing "0"
sys_aspectratio "-1"
sys_refldetail "0"
texture_budget_background_alpha "128"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_panel_height "284"
texture_budget_panel_width "512"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
tv_nochat "0"
ui_steam_overlay_notification_position "topright"
vgui_message_dialog_modal "1"
viewmodel_fov "65"
viewmodel_offset_x "1.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-1.5"
viewmodel_presetpos "1"
voice_caster_enable "0"
voice_caster_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
voice_mixer_boost "0"
voice_mixer_mute "0"
voice_mixer_volume "1.0"
voice_modenable "1"
voice_system_enable "1"
voice_threshold "2000"
volume "1"
vprof_graphheight "256"
vprof_graphwidth "512"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_warningmsec "10"
windows_speaker_config "1"
xbox_autothrottle "1"
xbox_throttlebias "100"
xbox_throttlespoof "200"
zoom_sensitivity_ratio_joystick "1.0"
zoom_sensitivity_ratio_mouse "1"
echo " config loaded "

und meine config.cfg (sollte eigentlich reichen?)
Code:
undindall
exec auoexec.cfg

denn damit geht es auch nicht: config.cfg (vorsicht, ziemlich lang!)
Code:
unbindall
bind "0" "slot10; colors"
bind "1" "slot1; colors"
bind "2" "slot2; colors"
bind "3" "slot3; colors"
bind "4" "slot4; colors"
bind "5" "slot5; colors"
bind "6" "slot6; colors"
bind "7" "slot7; colors"
bind "8" "slot8; colors"
bind "9" "slot9; colors"
bind "a" "+moveleft; r_cleardecals;colors"
bind "b" "buymenu; colors"
bind "c" "radio3"
bind "d" "+moveright; r_cleardecals;colors"
bind "e" "+use; colors"
bind "f" "+lookatweapon; colors"
bind "g" "drop; r_cleardecals;colors"
bind "i" "show_loadout_toggle"
bind "k" "+voicerecord;colors"
bind "m" "teammenu"
bind "q" "lastinv; r_cleardecals;colors"
bind "r" "+reload; colors"
bind "s" "+back; r_cleardecals;colors"
bind "u" "messagemode2"
bind "w" "+forward; r_cleardecals;colors"
bind "x" "radio2"
bind "y" "messagemode"
bind "z" "radio1"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "SPACE" "+jump;r_cleardecals; colors"
bind "TAB" "+showscores; colors"
bind "ESCAPE" "cancelselect"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "SHIFT" "+speed; colors"
bind "CTRL" "+duck; colors"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "MOUSE1" "+attack; r_cleardecals; col_standard;"
bind "MOUSE2" "+attack2; r_cleardecals"
bind "MOUSE4" "voice_enable 0; ignorerad"
bind "MOUSE5" "voice_enable 1; ignorerad; ignorerad"
bind "MWHEELUP" "gammaup"
bind "MWHEELDOWN" "gammadown"
adsp_debug "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
budget_bargraph_range_ms "16.6666666667"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_x "0"
budget_panel_y "50"
budget_peaks_window "30"
budget_show_averages "0"
budget_show_history "1"
budget_show_peaks "1"
bugreporter_uploadasync "0"
bugreporter_username ""
c_maxdistance "200"
c_maxpitch "90"
c_maxyaw "135"
c_mindistance "30"
c_minpitch "0"
c_minyaw "-135"
c_orthoheight "100"
c_orthowidth "100"
c_thirdpersonshoulder "false"
c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cam_collision "0"
cam_idealdelta "4.0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_ideallag "4.0"
cam_idealpitch "0"
cam_idealyaw "0"
cam_snapto "0"
cc_lang ""
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
chet_debug_idle "0"
cl_allowdownload "1"
cl_allowupload "1"
cl_autohelp "1"
cl_autowepswitch "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobcycle "0.98"
cl_buy_favorite_nowarn "0"
cl_buy_favorite_quiet "0"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_clanid "0"
cl_cmdrate "128"
cl_color "0"
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "0.100000"
cl_crosshairalpha "255"
cl_crosshaircolor "4"
cl_crosshaircolor_b "250"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "0"
cl_crosshairgap "0"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "0"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairthickness "0.5"
cl_crosshairusealpha "1"
cl_debugrumble "0"
cl_detail_avoid_force "0.4"
cl_detail_avoid_radius "64"
cl_detail_avoid_recover_speed "0.25"
cl_detail_max_sway "5"
cl_disablefreezecam "1"
cl_disablehtmlmotd "0"
cl_dm_buyrandomweapons "1"
cl_downloadfilter "all"
cl_fixedcrosshairgap "3"
cl_forcepreload "0"
cl_freezecampanel_position_dynamic "1"
cl_hud_background_alpha "1.000000"
cl_hud_bomb_under_radar "1"
cl_hud_color "0"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "1"
cl_hud_radar_scale "1"
cl_idealpitchscale "0.8"
cl_inv_showdividerline "0"
cl_inventory_saved_filter "all"
cl_inventory_saved_sort "newest"
cl_join_advertise "1"
cl_loadout_colorweaponnames "0"
cl_logofile "materials/vgui/logos/spray_bullseye.vtf"
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_obs_interp_enable "1"
cl_observercrosshair "1"
cl_operation_premium_reminder_op05 "0"
cl_radar_always_centered "1"
cl_radar_icon_scale_min "0.6"
cl_radar_rotate "1"
cl_radar_scale "0.7"
cl_radar_square_with_scoreboard "1"
cl_righthand "1"
cl_rumblescale "1.0"
cl_scalecrosshair "1"
cl_scoreboard_mouse_enable_binding "+attack2"
cl_show_clan_in_death_notice "1"
cl_showhelp "1"
cl_showloadout "1"
cl_showpluginmessages "1"
cl_soundfile ""
cl_spec_follow_grenade_key "0"
cl_spec_mode "6"
cl_teamid_overhead_name_alpha "245"
cl_teamid_overhead_name_fadetime "1.0"
cl_teammate_colors_show "2"
cl_thirdperson "0"
cl_timeout "30"
cl_updaterate "128"
cl_use_opens_buy_menu "1"
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
closecaption "0"
closeonbuy "0"
commentary_firstrun "0"
con_enable "1"
crosshair "1"
cursortimeout "60.0"
dsp_enhance_stereo "0"
econ_highest_baseitem_seen "63"
engine_no_focus_sleep "50"
force_audio_english "0"
func_break_max_pieces "15"
g15_update_msec "250"
gameinstructor_enable "0"
hud_scaling "0.85"
hud_showtargetid "1"
hud_takesshots "0"
joy_accelmax "1.0"
joy_accelscale "3.5"
joy_accelscalepoly "0.4"
joy_advanced "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_autoaimdampen "0"
joy_autoAimDampenMethod "0"
joy_autoaimdampenrange "0"
joy_axisbutton_threshold "0.3"
joy_cfg_preset "1"
joy_circle_correct "1"
joy_curvepoint_1 "0.001"
joy_curvepoint_2 "0.4"
joy_curvepoint_3 "0.75"
joy_curvepoint_4 "1"
joy_curvepoint_end "2"
joy_diagonalpov "0"
joy_display_input "0"
joy_forwardsensitivity "-1"
joy_forwardthreshold "0.15"
joy_gamma "0.2"
joy_inverty "0"
joy_lowend "1"
joy_lowend_linear "0.55"
joy_lowmap "1"
joy_movement_stick "0"
joy_name "joystick"
joy_no_accel_jump "0"
joy_pitchsensitivity "-1"
joy_pitchthreshold "0.15"
joy_response_look "0"
joy_response_look_pitch "1"
joy_response_move "1"
joy_sensitive_step0 "0.1"
joy_sensitive_step1 "0.4"
joy_sensitive_step2 "0.90"
joy_sidesensitivity "1"
joy_sidethreshold "0.15"
joy_wingmanwarrior_centerhack "0"
joy_wingmanwarrior_turnhack "0"
joy_yawsensitivity "-1"
joy_yawthreshold "0.15"
joystick "0"
joystick_force_disabled "0"
joystick_force_disabled_set "0"
key_bind_version "1"
lobby_voice_chat_enabled "1"
lockMoveControllerRet "0"
lookspring "0"
lookstrafe "0"
m_customaccel "3"
m_customaccel_exponent "1.000000"
m_customaccel_max "0"
m_customaccel_scale "0"
m_forward "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
m_pitch "0.022"
m_rawinput "1"
m_side "0.8"
m_yaw "0.022"
mat_monitorgamma "1.600000"
mat_monitorgamma_tv_enabled "1"
mat_powersavingsmode "0"
mat_queue_report "0"
mat_spewalloc "0"
mat_texture_list_content_path ""
mc_accel_band_size "0.5"
mc_dead_zone_radius "0.06"
mc_max_pitchrate "100.0"
mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_dedicated_search_maxping "50.000000"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
muzzleflash_light "1"
name "i <3 computerbase"
net_allow_multicast "1"
net_graph "1"
net_graphheight "54"
net_graphholdsvframerate "0"
net_graphmsecs "400"
net_graphpos "0"
net_graphproportionalfont "0"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "0"
net_graphsolid "1"
net_graphtext "1"
net_maxroutable "1200"
net_scale "5"
net_steamcnx_allowrelay "1"
npc_height_adjust "1"
option_duck_method "0"
option_speed_method "0"
password ""
play_distance "1"
player_botdifflast_s "2"
player_competitive_maplist7 "mg_de_dust2,mg_de_nuke,mg_de_mirage"
player_gamemodelast_m "0.000000"
player_gamemodelast_s "0"
player_gametypelast_m "0"
player_gametypelast_s "0"
player_last_leaderboards_filter "0"
player_last_leaderboards_mode "0"
player_last_leaderboards_panel "0"
player_last_medalstats_category "0"
player_last_medalstats_panel "0"
player_maplast_m "0"
player_maplast_s "0"
player_medalstats_most_recent_time "0"
player_nevershow_communityservermessage "0"
player_teamplayedlast "3"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
r_drawtracers_firstperson "1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
safezonex "0.85"
safezoney "1.0"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
sensitivity "5.99"
sf_ui_tint "1"
sk_autoaim_mode "1"
skill "1"
snd_deathcamera_volume "0.270000"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducking_off "1"
snd_ducktovolume "0.55"
snd_legacy_surround "0"
snd_mapobjective_volume "1.0"
snd_menumusic_volume "0.000000"
snd_mixahead "0.1"
snd_music_selection "1"
snd_musicvolume "0.000000"
snd_musicvolume_multiplier_inoverlay "0.1"
snd_mute_losefocus "1"
snd_pitchquality "1"
snd_roundend_volume "1.0"
snd_roundstart_volume "1.0"
snd_tensecondwarning_volume "1.0"
spec_show_xray "0"
spec_usenumberkeys_nobinds "1"
ss_splitmode "0"
store_version "1"
suitvolume "0.25"
sv_forcepreload "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "sky_cs15_daylight03_hdr"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_unlockedchapters "1"
sv_voiceenable "1"
sys_antialiasing "0"
sys_aspectratio "-1"
sys_refldetail "0"
texture_budget_background_alpha "128"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_panel_height "284"
texture_budget_panel_width "512"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
tr_best_course_time "0"
tr_completed_training "0"
tv_nochat "0"
ui_steam_overlay_notification_position "topright"
vgui_message_dialog_modal "1"
viewmodel_fov "60"
viewmodel_offset_x "1.5"
viewmodel_offset_y "1"
viewmodel_offset_z "-1.5"
viewmodel_presetpos "1"
voice_caster_enable "0"
voice_caster_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
voice_mixer_boost "0"
voice_mixer_mute "0"
voice_mixer_volume "1.0"
voice_modenable "1"
voice_scale "1"
voice_system_enable "1"
voice_threshold "2000"
volume "1"
vprof_graphheight "256"
vprof_graphwidth "512"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_warningmsec "10"
weapon_accuracy_logging "0"
windows_speaker_config "1"
xbox_autothrottle "1"
xbox_throttlebias "100"
xbox_throttlespoof "200"
zoom_sensitivity_ratio_joystick "1.0"
zoom_sensitivity_ratio_mouse "1"
exec auoexec.cfg

es ist nichts schreibgeschützt und im thread-titel ist natürlich regenbogen gemeint :)

danke für eure zeit, ich hab hoffentlich alles gut genug dargestellt, nehme gerne konstruktives feedback, egal worum es geht.



gruß,
seb7o
 
Zuletzt bearbeitet:
hey also erstmal danke für deinen beitrag.
ich kannte die variable cl_crosshaircolor gar nicht, guter tipp :)

aber ich hab es ja wenn man das so sieht nicht viel anders gemacht, nur dass ich die farben selber custom definiert hab. und das sollte weit mehr möglichkeiten bieten als die 6 verschiedene farben, die cl_crosshaircolor beinhaltet. (ich hab ja 13 stück definiert, siehe OP).

zb: alias col_white "cl_crosshaircolor_b 0; cl_crosshaircolor_r 0;cl_crosshaircolor_g 0"[/B]

das heisst wenn man irgendwo col_white benutzt macht er alles was im alias befehl danach steht in den "ausgeführte befehle" was dann einfach einem weißen crosshair entspricht.

mit alias colors "toggle command col_pink1 col_green1 " kann ich selbst die reihenfolge definieren!

alias coolevariable "toggle command variable1 variable2 usw"
das heisst immer wenn coolevariable benutzt wird, macht er eine art incrementvar (analog zu deiner variante) nur dass er nicht von farbe 0 bis farbe 5 geht, sondern bei mir eben von col_pink1 zu col_green1 wobei ich das nur als beispiel geschrieben habe. In meiner config steht nämlich sogar:

alias colors "toggle command col_pink1 col_green1 col_red1 col_blue1 col_white col_violet col_yellow1 col_black col_blue2 col_pink2 col_green1 col_red2 col_blue1 col_white col_violet col_yellow2 col_black"

also ich hab die farben so alternierend gewählt dass sie bei jedem schritt arg vom vorgänger unterschieden werden, also praktisch so dass wenn man hier eine farbe nimmt die nächste farbe weit weg ist von der uhrsprünglichen.
rgb.jpg

es gibt soweit ich weiß nur die 3 befehle(quelle):
(1) bindtoggle "key" "command"
Example: bindtoggle "P" "cl_disablefreezecam"
(2) bind "key" "toggle command value1 value2 value3 value4 [...]"
Example: bind "P" "toggle volume 0.08 0.45 0.7 1"
(3) bind "key" "incrementvar command minvalue maxvalue interval"

was man sogar auch implementieren kann wäre ein richtiges regenbogen crosshair. also dass die farben fließend wechseln. Dazu muss man dann die incrementvar benutzen um direkt die rgb-werte zu ändern, aber erst wollte ich diese diskreten 13 definieren.
Ich wundere mich eigentlich richtig stark dass ich das bis jetzt nicht schon als fertiges skript im netz gefunden habe (könnte aber auch an meinen mangelnden such-fähigkeiten liegen).
 
Zurück
Oben