TFlippy / kag_territorycontrol

King Arthur's Gold - Territory Control Mod
https://forum.thd.vg/threads/territory-control-official-forum-badgers.26614/
18 stars 26 forks source link

Improvement to materials & classes #335

Open Vam-Jam opened 2 years ago

Vam-Jam commented 2 years ago

Come one, come all, here's a small idea that could help fix a few issues with stability and performance

Preface

Every time a blob is made, It get's given 1 unique id (which is never removed), server has to tell the client its been made, sync everything, clients need to check that it's built all scripts, calculate cshape shittery and much more.

Creating a new blob is expensive, and we should be limiting how often we do it

Issues we have are:

Possible solution

Create a 'blob buffer', by this I mean:

This solves a few things:

Stuff to note: