Client auto-scripts
Moderators: Forum moderators, developers, ET Pro Documentation
Client auto-scripts
Client auto map scripts
When a map loads or restarts, the client will look for the following scripts and run them if found:
autoexec_(mapname).cfg
autoexec_default.cfg
For example if the map rotates to battery, the client would look for autoexec_battery.cfg and run it. If autoexec_battery.cfg is not found, it would try to run autoexec_default.cfg instead.
Client auto team/class scripts
When players spawn with a changed team or class, the client will look for the following scripts and run them if found:
autoexec_axis.cfg
autoexec_allies.cfg
autoexec_spectator.cfg
autoexec_soldier.cfg
autoexec_medic.cfg
autoexec_engineer.cfg
autoexec_fieldops.cfg
autoexec_covertops.cfg
These are only run when the team or class changes, they are not run on every spawn.
When a map loads or restarts, the client will look for the following scripts and run them if found:
autoexec_(mapname).cfg
autoexec_default.cfg
For example if the map rotates to battery, the client would look for autoexec_battery.cfg and run it. If autoexec_battery.cfg is not found, it would try to run autoexec_default.cfg instead.
Client auto team/class scripts
When players spawn with a changed team or class, the client will look for the following scripts and run them if found:
autoexec_axis.cfg
autoexec_allies.cfg
autoexec_spectator.cfg
autoexec_soldier.cfg
autoexec_medic.cfg
autoexec_engineer.cfg
autoexec_fieldops.cfg
autoexec_covertops.cfg
These are only run when the team or class changes, they are not run on every spawn.
yeah, not so important since it can be worked around with some scripts, I'm more concerned about my other topic, check it out
http://bani.anime.net//banimod/forums/v ... ght=#60995
http://bani.anime.net//banimod/forums/v ... ght=#60995
No, i know that asutoexec for map is not autoexecetud if i connect to runnig server. In console is not written that it was executed and features which i have at theese files not working. The first map i must execut autoexec manually..Lagger wrote:It might have been sw_oasis_b3, has always worked flawlessly for me.
look in the console, it should write "Execing autoexec_oasis.cfg" or something like that.
If you don't do it, someone else will.
Try these one at a time and tell me which one works:
add +set fs_game etpro to the command line
It should read something like
make sure the autoexec_<whatever>.cfg are placed in \wolfet\etpro
add +set fs_game etpro to the command line
It should read something like
Code: Select all
"C:\program files\wolfet\et.exe" +set fs_game etpro
If i would connect to some server where ETPro is running i don't need set fs_gameLagger wrote:Try these one at a time and tell me which one works:
add +set fs_game etpro to the command line
It should read something likeCode: Select all
"C:\program files\wolfet\et.exe" +set fs_game etpro
Yea, i'm sure that it's i ETPro folder. All my configs are in ETPro folder..Lagger wrote:make sure the autoexec_<whatever>.cfg are placed in \wolfet\etpro
..so nothing works.
If you don't do it, someone else will.