splewis / csgo-practice-mode

CS:GO Sourcemod plugin for private team/individual practice servers
GNU General Public License v3.0
457 stars 71 forks source link

Allow for multiple bot spawn positions to be saved and loaded #225

Open Cyberschorsch opened 2 years ago

Cyberschorsch commented 2 years ago

Loading multiple bots previously saved on a map is a great feature! A good addition in my mind would be to be able to save and load bots just like handling nades.

This would improve practicing executes and taking map control greatly.

Cyberschorsch commented 2 years ago

I am working on this feature now.

My first goal is to extend the .savebot and .loadbot commands to allow passing ids which specify loading bot positions from a file in a subdirectory with the map name.

PlamAtom commented 2 years ago

I am very excited, if you need someone to do testing, just let me know.

Cyberschorsch commented 2 years ago

You can check my latest dev build:

csgo_practice_mode.zip

Example usage:

Place bots anywhere you want on the map (e.g. CT-Bots on B-Site Dust 2) Command: .savebots ct_b_site

Now you can load the bot positions like this:

.loadbots ct_b_site

This allows for saving and loading multiple setups.

PlamAtom commented 2 years ago

Hey I tested the whole thing out a little bit. I would provide feedback here. I think it is unnecessary to say things that I like because it is generally an incredible progress for Practicemode that you can save multiple bot positions and easily load them without moving files on the server and without the issue that you could make a mistake and overwrite files by accident. From bots that show callouts to prefire bots or even if you want to train specific entrypaths really awesome. Thank you a lot.

"Disadvantages":

Examples:

[12] Banana Prefire-Bots (All) [13] Adamo Prefire-Bots (All) [14] A-Site Prefire-Bots (All)

I like it very much. I find it incredible that thanks to Splewis, I can mimic the behavior of players in demos and then have a somewhat accurate demo made ingame. On the other hand, the bots save, that's really big. Therefore, a big warm heartfelt thank you to both of you at this point.

Maybe someday I'll publish my practice data so everyone can use it but that will definitely take a long time because I'm an extreme perfectionist. Thank you very much again.