[CS:GO] Bombsite Limiter
Description: Disable specified bombsites if there are fewer CTs than their accepted limit.
Commands: Code:
sm_bombsites - will show up a menu where you can set a limit of CTs to all bombsites. |
Re: [CSGO] Bombsite Locker
Looks good.
Consider using EntIndexToEntRef for storing the entities, then EntRefToEntIndex to switch back. I'm not sure if this applies to bombsite ents, but ents can change from round to round, so using ent refs will address that possibility. Consider changing the key-value key "site" to be "enabledsite". It is otherwise unclear (until I read the code) if the server manager is supposed to put the sites they want to keep or disable.
Side note for possible future expansion
|
Re: [CSGO] Bombsite Locker
The bombsites are loaded when the map starts, and they remain after round ends.
I've changed the plugin. Now, in the configuration file, you must name the bombsite that will be disabled and the limit to disable it. Example: PHP Code:
|
Re: [CSGO] Bombsite Locker
Quote:
Quote:
|
Re: [CSGO] Bombsite Locker
hello
this plugin only works on standard maps do not work on de_dust2_winter maps |
Re: [CSGO] Bombsite Locker
Quote:
|
Re: [CSGO] Bombsite Locker
Quote:
"BombSites" { /** Site disabled - CT limit * If there are fewer CT's than the specified limit, then the specified site will be disabled. * Example (for de_dust2): if there are fewer CT's than 5, bombsite B will be disabled. */ "de_dust2" { "B" "5" } "de_dust2_winter" { "B" "5" } "de_dust2_night" { "B" "5" } } Although he writes that the bombsite is block, but the bomb can be put |
Re: [CSGO] Bombsite Locker
Yeah, cause the author created Site B before Site A. I tested the map, and site A will be locked if I set site B to be locked.
In de_dust2_winter, site B has 428 entity index and site A 431 which is wrong. From valvesoftware wiki page: HTML Code:
The bombsites are assigned as A and B in the order the func_bomb_target entities were created. All maps should respect the standards in order to work correctly. |
Re: [CSGO] Bombsite Locker
Code improved. Now the plugin will detect which site is A and which site is B.
If you lock bombsite C, all bombsites after C (site D, site E etc.) will be locked. |
Re: [CSGO] Bombsite Limiter
Is it possible to change in certain rounds?
example; 1.round - A 3.round - B 5.round - A etc.. |
All times are GMT -4. The time now is 09:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.