Squad
SquidBots - Bots for Seeding [NOW PART OF BASE GAME]
VERsingthegamez 2022 年 12 月 8 日 上午 7:19
Optimization's Planned?
Is there plans to make this more optimized and running better? I know AI can be taxing on the CPU but I am curious to know if it is possible.
< >
正在显示第 1 - 2 条,共 2 条留言
Squiders  [开发者] 2022 年 12 月 8 日 下午 4:42 
Yes they definitely can be optimised a bunch, they're the same bots as I made for editing cinematics, so they've go so much extra code running that they don't need for just bots. Especially animations, they're set up atm to simulate aiming on an extremely fine level, but this isn't actually necessary (it's fully turned off for servers for example).

So yes, lots of room for optimisation.

Also, they'll always perform worse on local than servers, as it's set up so the server computes the bot logic, and the client computes the animation logic. When playing locally, it's doing both, which makes the run a lot worse.
VERsingthegamez 2022 年 12 月 10 日 上午 12:35 
引用自 Squiders
Yes they definitely can be optimised a bunch, they're the same bots as I made for editing cinematics, so they've go so much extra code running that they don't need for just bots. Especially animations, they're set up atm to simulate aiming on an extremely fine level, but this isn't actually necessary (it's fully turned off for servers for example).

So yes, lots of room for optimisation.

Also, they'll always perform worse on local than servers, as it's set up so the server computes the bot logic, and the client computes the animation logic. When playing locally, it's doing both, which makes the run a lot worse.

Oh thats great. Running it locally I still hit 50 to 60 fps but was curious to know if it is possible. Nice to know it is.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50