Weaponbank Script
5 posts
• Page 1 of 1
Weaponbank Script
Hello there, i made weaponbank script for fast weapon change. This script is similar to Fov one.
That was small introduction, anyway i have small problem with this thing. Script lives in autoexec.cfg and should be load when ET process starts. But after turning on ET, game just eresa this cmd from autoexec. It's so annoying, when you turn off et, and then turn it on again script just dissapear, so you need to load this manual bu your won hand. It's suck a bit. And my question is, ET deleting this scirpt becouse of what? Or this is just server restriction. And last question am'i cheater beacouse of this?
- Code: Select all
[set weaponbank2 "weaponbank 2; set weaponbankchange vstr weaponbank3"
set weaponbank3 "weaponbank 3; set weaponbankchange vstr weaponbank2"
bind MOUSE3 "vstr weaponbankchange"
set weaponbankchange "vstr weaponbank2"
That was small introduction, anyway i have small problem with this thing. Script lives in autoexec.cfg and should be load when ET process starts. But after turning on ET, game just eresa this cmd from autoexec. It's so annoying, when you turn off et, and then turn it on again script just dissapear, so you need to load this manual bu your won hand. It's suck a bit. And my question is, ET deleting this scirpt becouse of what? Or this is just server restriction. And last question am'i cheater beacouse of this?
Hi,
I think it is more likely that there is a bind on your MOUSE3 already in your profile or some other config in your et that makes this bind go away (i.e. rebinding MOUSE3). You'd better profile folder and all cfgs you can find for a possible bind that might cause this cmd to be rebinded.
It is a long shot, but ...
Best,
C
I think it is more likely that there is a bind on your MOUSE3 already in your profile or some other config in your et that makes this bind go away (i.e. rebinding MOUSE3). You'd better profile folder and all cfgs you can find for a possible bind that might cause this cmd to be rebinded.
It is a long shot, but ...
Best,
C
Matrox wrote:I did it already. Fov change script work normaly but this weaponbank not
So after you run ET and connect to a server write:
- Code: Select all
/bind MOUSE3
Now that should give you an idea whence it is being rebinded. If indeed it is so and it gets rebinded, just humor me and check the configs again by trying to connect to the server you want use this script on (presumably PS1 or smth.). Then, after you have connected, open up your console and scroll up ... there is bound to be a line saying 'executing blabla/profiles/ckEy' or something could be executed (your profile settings), plus autoexec.cfg (general autoexec), autoexec_default.cfg (autoexec if map is unknown) plus there might be autoexec_mapname.cfg (map specific autoexec). Make sure that there is not a single line with MOUSE3.
To give you an idea, my old et (one I ain't using anymore, but that is quite beside the point) is execin these, in this order:
- Code: Select all
[504] » cat client.log | grep exec
execing default.cfg
couldn't exec language.cfg
execing profiles/ckEy/etconfig.cfg
execing autoexec.cfg
execing ckey.cfg
execing voice.cfg
execing binds.cfg
execing profiles/ckEy/etconfig.cfg
If you use smth. like spawn timer or spawn selector there is bound to be execin autoexec_general.cfg or autoexec_[mapname].cfg too.
[C]
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests