I need a script, which can switch between mat_filtertextures 1; mat_filterlightmaps 1 and mat_filtertextures 0; mat_filterlightmaps 0
I wrote first part:
bind "p" "+chris" alias "+chris" "mat_filtertextures 1; mat_filterlightmaps 1" alias "-chris" "mat_filtertextures 0; mat_filterlightmaps 0"
It switch ONLY from 1 to 0, but i need from 1 to 0 and from 0 to 1. Cheers.
I need a script, which can switch between mat_filtertextures 1; mat_filterlightmaps 1 and mat_filtertextures 0; mat_filterlightmaps 0
I wrote first part:
bind "p" "+chris" alias "+chris" "mat_filtertextures 1; mat_filterlightmaps 1" alias "-chris" "mat_filtertextures 0; mat_filterlightmaps 0"
It switch ONLY from 1 to 0, but i need from 1 to 0 and from 0 to 1. Cheers.
bind p christog
alias christog chrison
alias chrison "mat_filtertextures 1;mat_filterlightmaps 1;alias christog chrisoff"
alias chrisoff "mat_filtertextures 0;mat_filterlightmaps 0;alias christog chrison"
bind p christog
alias christog chrison
alias chrison "mat_filtertextures 1;mat_filterlightmaps 1;alias christog chrisoff"
alias chrisoff "mat_filtertextures 0;mat_filterlightmaps 0;alias christog chrison"
bind p "toggle mat_filtertextures 0 1; toggle mat_filterlightmaps 0 1"
bind p "toggle mat_filtertextures 0 1; toggle mat_filterlightmaps 0 1"
emobind p "toggle mat_filtertextures 0 1; toggle mat_filterlightmaps 0 1"
I think you'd have to use bindtoggle for this.
[quote=emo]bind p "toggle mat_filtertextures 0 1; toggle mat_filterlightmaps 0 1"[/quote]
I think you'd have to use bindtoggle for this.