GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 23 Lipca 2017 Share Napisano 23 Lipca 2017 TF2 Nobuild Areas Hey everybody!After seeing requests and also having my own needs, I created this plugin. It allows you to add func_nobuild brushes everywhere on a map. This is useful with versus saxton hale maps if you don't want to struggle with decompiling maps and such. I put this plugin together with help from the [TF2] autokits plugin, which is based on DarthNinja's Auto Pumpkins. This is also my first released plugin and I am sure the code could be more optimized.UsageTo spawn a brush, use the command !nobuildIf you want to delete a nobuild area you also use !nobuild and select the first item. It finds the nearest nobuild brush that is in the range of 600 unitsIn the menu you have six options of dimensions. (If it really is needed I might add a 1024 by 1024 or a command where you can enter custom values) 128 x 128 x 64 256 x 256 x 64 512 x 512 x 64 128 x 128 x 128 256 x 256 x 128 512 x 512 x 128 Installation guideJust download the smx and move it to the plugins folder.The nobuilds you add gets saved in the local sqlite database.Therefore, you have to add this to your databases.cfg Code: "nobuildareas"{ "driver" "sqlite" "host" "localhost" "database" "TF2_Nobuildareas" "user" "root" "pass" ""}Changelog Quote: 24-07-20171.00 Initial release Improvements Move from database to cfg (Requested) Make a command that shows all the brushes somehow (Maybe sprites. Would be nice if someone knew how) Attached Files Get Plugin or Get Source (nobuildareas.sp - 8.9 KB) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=299721&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi