Total War Demo [Open Source]

Hello! I have recently open sourced a Demo of the “Total War” series on roblox.
Wanted to post it here so I make sure no one is paying robux to get this free Demo.

You can find the original code by yellow mustang here:

I simply edited it to allow units to move in formation while following a “Flag”
I also changed it from r15 to r6 to support performance.

9 units follow a flag around the map. This is actually decent on performance, and I’ve been able to have up to 200 npcs on the map before fps drops.
NPCs also have a “Clash” effect where a metal sound comes out and they deal less damage if they both attack eachother while attacking at the same time.
Have fun using it, and I hope you can figure out how to edit it and use it in your games.

Place Description:
Left click to control the Black flag.
Right click to control the White flag.

The units of their army move in formation towards their flag.
They will disengage combat if their flag is suddenly moved far away.
They will charge into combat if they get close to an enemy.

Free to use, and open source!
If you paid money to obtain this, get a refund!

21 Likes

i have been struggling with some formation system and i am 100% sure this open source project would help :saluting_face: ty for your hard work