Class & Spawnpoint switcher for silEnt mod & Himalia maps
Class & Spawnpoint switcher for silEnt mod & Himalia maps
Hello!
I did small project for fun and I thought that if somebody would see these scripts useful, I share them with you. I found that silEnT mod has build-in features to automatic load cfgs for maps and teams (and also classes) and this put me wonder if this old spawnpoint and class switcher scripts, which can be found from other sites, would be work bit more comfortably with these autoexec files.
There is one file for every map (autoexec_<mapname>.cfg) what we have in the Himalia server map pool atm and contains spawnpoints for both sides. I put "switch loader" (bind z for switch SPs) in autoexec file for teams (autoexec_allies.cfg, autoexec_axis.cfg) so it loads correct spawnpoints when switching team. In autoexec_spectator.cfg the key (z) is unbinded for just in case
class.cfg contains all possible class/weapon combinations what we use here and every class has own button (bind n m , .). I have disabled soldier class cos I don't need it, but if you want to use it just take those double lines away front of the bind and set lines and give some letter to that soldier bind.
autoexec.cfg loads class.cfg.
If you use some of these files already, don't overwrite that old one but just copy the lines in your old one.
Copy those files in your ET game directory and in the same folders where they are in the zip package (etmain,silent). If you find some bug from the scripts, please inform me. Lot of lines written and even I tried to test all the map cfgs in game, some bugs may have been left unnoticed Any questions, just ask!
Cheers
I did small project for fun and I thought that if somebody would see these scripts useful, I share them with you. I found that silEnT mod has build-in features to automatic load cfgs for maps and teams (and also classes) and this put me wonder if this old spawnpoint and class switcher scripts, which can be found from other sites, would be work bit more comfortably with these autoexec files.
There is one file for every map (autoexec_<mapname>.cfg) what we have in the Himalia server map pool atm and contains spawnpoints for both sides. I put "switch loader" (bind z for switch SPs) in autoexec file for teams (autoexec_allies.cfg, autoexec_axis.cfg) so it loads correct spawnpoints when switching team. In autoexec_spectator.cfg the key (z) is unbinded for just in case
class.cfg contains all possible class/weapon combinations what we use here and every class has own button (bind n m , .). I have disabled soldier class cos I don't need it, but if you want to use it just take those double lines away front of the bind and set lines and give some letter to that soldier bind.
autoexec.cfg loads class.cfg.
If you use some of these files already, don't overwrite that old one but just copy the lines in your old one.
Copy those files in your ET game directory and in the same folders where they are in the zip package (etmain,silent). If you find some bug from the scripts, please inform me. Lot of lines written and even I tried to test all the map cfgs in game, some bugs may have been left unnoticed Any questions, just ask!
Cheers
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
wow many thanks!
i'd love to fast-select an engie with rifle out from medic class and go back then
i'd love to fast-select an engie with rifle out from medic class and go back then
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Nice, was searching for a Silent class selector, for the spawn one I'm getting used to a default one. Thank you!
I'm an engineer...
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Notice that class selector is made for Himalia server cfgs. Other servers might not have all the same weapons unlocked what we have here. For example if PPsh or alternative guns for medics/field ops are not enabled, it gives other weapon instead. Also in some servers can be same map what we have here, but different version, so spawnpoints can be configured different in other map versions.
Otherwise these should work in other servers aswell.
I saw that this has been loaded quite some times, so I add a fix for spawnpoints in this post.
Includes:
-Fix for supply. Allies didn't have command post option.
-Added new map cfgs for C2 Missile and Beerrun b7a
EDIT: Fixed beerrun cfg name to zip file.
Otherwise these should work in other servers aswell.
I saw that this has been loaded quite some times, so I add a fix for spawnpoints in this post.
Includes:
-Fix for supply. Allies didn't have command post option.
-Added new map cfgs for C2 Missile and Beerrun b7a
EDIT: Fixed beerrun cfg name to zip file.
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
When try to fix something can also broke things :)
Fix includes:
- Fix for Supply. Axis spawnpoint cycle bug.
- Fix for Venice. Allies Outpost spawnpoint didn't work in cycle.
Fix includes:
- Fix for Supply. Axis spawnpoint cycle bug.
- Fix for Venice. Allies Outpost spawnpoint didn't work in cycle.
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Update
Fixes:
Fix in C2 Missile(b3):
- Mistype "Forward Bunker bunker"
- Shaped text in the script
New cfgs:
- Erdenberg (b3)
Cheers
Fixes:
Fix in C2 Missile(b3):
- Mistype "Forward Bunker bunker"
- Shaped text in the script
New cfgs:
- Erdenberg (b3)
Cheers
- TheSilencerPL
- Posts: 386
- Joined: 11 Apr 2010, 00:26
- Location: Krakow,, Poland
- Contact:
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Could you post the whole package with each fix already inside? Then someone who is downloading it for the 1st time (like me), wouldn't have to download all the files posted here.
- TheSilencerPL
- Posts: 386
- Joined: 11 Apr 2010, 00:26
- Location: Krakow,, Poland
- Contact:
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Besides there is a bug in the class.cfg file.
At the end, there is
At the end, there is
which causes an execution error.set classrecy
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
I'll post whole package tomorrow
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Here it comes! :)
The bug what Sil mentioned concerned every cfg in previous files, so more likely it's good to post whole package again, fixed. Although those previous files worked fine, they just generated error output to console cos of this "set" line at the bottom of all scripts.
This package contains autoexec.cfg which execute class switcher (class.cfg) and spawnpoint swither, which works with autoexec_<filename>.cfg files. This time README.txt included also :)
There are spawnpoints for all maps what we have in our map pool at the moment (excluded maps where are only one spawnpoint) and also for some other popular maps. Cheers
The bug what Sil mentioned concerned every cfg in previous files, so more likely it's good to post whole package again, fixed. Although those previous files worked fine, they just generated error output to console cos of this "set" line at the bottom of all scripts.
This package contains autoexec.cfg which execute class switcher (class.cfg) and spawnpoint swither, which works with autoexec_<filename>.cfg files. This time README.txt included also :)
There are spawnpoints for all maps what we have in our map pool at the moment (excluded maps where are only one spawnpoint) and also for some other popular maps. Cheers
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
merci :-)
just void in here, it needs colder weather outside, the autumn is coming! the server will be pop again.
just void in here, it needs colder weather outside, the autumn is coming! the server will be pop again.
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
Newest version of spawnpoint switcher and class selector.
Changelog:
- New format for both. Clearer and easier to modify if needed.
- Added template cfgs for creating new spawnpoint cfgs.
- Fixed the issue when there are no spawnpoints for map or when specing. Now it informs if there are no script or you're on spec.
- Added complete maplist which spawnpoints are included.
Added spawnpoints for new maps:
Ambition3
Axislab Final
ET Village
Frost Final
Negoshk B2
Oasis Winter
Stalingrad
Supply Winter Edition
Townsquare EDIT: Includes also spawnpoints for MLB Daybreak. Oops, I made mistake with Apennines script name. Fixed and new package, sry
Cheers
Changelog:
- New format for both. Clearer and easier to modify if needed.
- Added template cfgs for creating new spawnpoint cfgs.
- Fixed the issue when there are no spawnpoints for map or when specing. Now it informs if there are no script or you're on spec.
- Added complete maplist which spawnpoints are included.
Added spawnpoints for new maps:
Ambition3
Axislab Final
ET Village
Frost Final
Negoshk B2
Oasis Winter
Stalingrad
Supply Winter Edition
Townsquare EDIT: Includes also spawnpoints for MLB Daybreak. Oops, I made mistake with Apennines script name. Fixed and new package, sry
Cheers
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
One thing which started to annoy me was that my et-folders have start to fill with a lot of different files and these autoexec files doesn't help with that. So I tried that if I make those files hidden, I could find more important files from the folder much easier. Now I do and those files still works in game, so if someone have this "issue" also, this trick will help with that :)
Cheers
Cheers
- TheSilencerPL
- Posts: 386
- Joined: 11 Apr 2010, 00:26
- Location: Krakow,, Poland
- Contact:
Re: Class & Spawnpoint switcher for silEnt mod & Himalia map
For me it wouldn't help probably as in linux the hidden file is with the dot at front: ".hiddenfile" and even if that worked it still wouldn't help me much, as I always have showing of the hidden files turned on