Puck
27 ratings
dem's Puck AI
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
56.191 KB
6 Aug @ 8:19pm
16 Aug @ 3:56am
15 Change Notes ( view )

Subscribe to download
dem's Puck AI

Description
Goalie AI for practice mode. The config located at Puck/config/PuckAIPracticeConfig will allow you to set default spawning and difficulty details. There are also commands that can be used.

/goalies {difficulty}

The difficulty can be hard, normal, or easy. This will spawn both goalies at the same level of difficulty.

/goalie {difficulty} {team}

The difficulty is the same as above, and team will be red/blue. This will allow you to specify the difficulty of each goalie if you want to.

The difficulties only really change how much they move in relation to the puck change locations, or how frequent. Easy goalies will take a large difference to pivot and get in a position to block the puck. Normal, less, and hard goalies basically move very quickly across the net getting in position.

No stick movement or anything(yet), they just will get in an optimal position to block your shot.

There may be more in the future(chasers, defenders at specific zones?), but for now I'm taking a break on this it was really really difficult lol.

--------------------------------------------------------------------------------

It's now theoretically working with servers and the client won't need the mod(though they can have it installed for their own practice sessions and it should be fine). I had a local server set up for my own testing, so I had my client/server separation, but only had myself to test with. In theory that should be enough to verify the server -> client synchronization, but I'm not sure how it will perform with more players.

The way the bots will work on servers is that if the goalie position is open they will automatically spawn in immediately. The goalie position will still be freed up for players to take if they wish. If a player does claim the goalie spot, the bots will despawn the instant the players have entered the game(so there isn't an open net in the 10 second period where they're waiting to spawn. Difficulty of the bots is set through the config like before.
13 Comments
Boss of Pibbles 16 Oct @ 4:26pm 
doesnt work difficulty choose
LazarCake_YT 4 Oct @ 9:09am 
@Eff229 Sammmmeee bro they should add AI
nikibikov 29 Sep @ 6:37pm 
I'm writing goalies {hard} and it's not working.
nikibikov 29 Sep @ 6:36pm 
bro how to spawn them
AlekZei 27 Aug @ 7:49pm 
game needs this, thanks bro
fishljungan 13 Aug @ 1:55pm 
how do u download it?
gabe 12 Aug @ 9:41pm 
How to spawn them?
Egg229 9 Aug @ 1:16pm 
i think id have 100 hours on puck if there were full AI matches
joucob Green 8 Aug @ 11:10am 
put a girl on
SOM PASTIER 8 Aug @ 10:25am 
how use them?