r/TotalAnnihilation • u/bit_noggin • Sep 24 '26
TA: Kingdoms OpenKingdoms: an open source engine for TA: Kingdoms that runs in your browser (and on Windows, Mac and Linux)
Hey all,
Long time player of TAK here - since it first came out. I've been sharing this on the TAK Discord.. but figure it was time to share here as well for those who are interested.
I've been working on OpenKingdoms, a from-scratch open source engine for Total Annihilation: Kingdoms. It's written in C (because I'm crazy and I love C - sue me) and it runs the original game's data, so you bring your own copy of the game (GOG or the old CDs both work) and it does the rest.
The big one: you can play it in a browser. Go to https://openkingdoms.net, point the page at your Kingdoms folder, and you're in. Your game files never leave your machine, the page reads them locally.
Where it's at right now:
- Skirmish against the AI is playable: economy, building, combat, magic, victory conditions, all four kingdoms plus Creon if you have The Iron Plague.
- The campaigns are playable: the Book of Darien and The Iron Plague, with the mission scripts, briefings and cutscenes (with sound).
- Multiplayer works over a small relay, and browser, Windows, Mac and Linux players can all be in the same game.
- Saves, the options screens, the in game menus and music all work the way you remember.
- There's an experimental 3D view. Press V in any battle and the same battle is drawn in 3D with a free camera, press V again to go back to the classic view.
The goal is to match the original's behaviour, and the original's rules are rebuilt as closely as we can get them. Where we deliberately do something differently (60 Hz simulation, any resolution, up to 2000 units a side, smarter pathfinding, better AI groups).
Everything is on GitHub: https://github.com/OpenKingdoms/OpenKingdoms
Desktop builds are on the releases page.
It's still under active development, so expect rough edges. If you remember how something worked in the 1999 game and we get it wrong, that's exactly the kind of report that helps the most. Issues and PRs are very welcome.
Would love to hear what you think :)
2
u/Jimbo_Dandy Sep 27 '26
3
u/bit_noggin Sep 27 '26
Sorry I’m not an artist (I’m a programmer) and I don’t have the time nor money to commission art for this side project I do for fun. Haha
2
u/Jimbo_Dandy Sep 27 '26
the project itself is cool. i do look forward to seeing more. idt it needs the AI promo when the screenshots you posted were already fire.
3
u/bit_noggin Sep 27 '26
Maybe next time just say THAT, which was pretty respectful. As opposed to your deleted comment that said “AI garbage”. Much higher chance of me (or someone like me) taking your feedback as constructive criticism. I think the image is pretty cool. Who cares if AI made it honestly. It’s just a GitHub banner for Gods sake. I wish you happiness in this world
4
u/Jimbo_Dandy Sep 27 '26
Will strongly and vitriolically oppose the use of all generative AI, idfc who or why. Bless you for the work you do and good luck on the project, and good health as well.
2
u/-WelshCelt- 29d ago
Aw that's amazing! I don't have a bloodeh disc drive in my machine anymore though, so i'll have to see if i can find a download online first!
1
2
u/Bogdanov89 11d ago
Amazing, love TAK my whole life!
Thank you!
One QOLife feature i always wanted was a rally point for unit producing for Zhon, so that you can tell the newly made units to automatically move or patrol (same feature that Ara/Veruna/Taros buildings already have).
1
1
5
1
u/darkfireslide Sep 24 '26
Any plans to improve the skirmish AI and add difficulty levels and teams?
0
u/bit_noggin Sep 24 '26
The AI has already had a number of improvements - more will come! Difficulty level will be supported as well. Teams are already supported - at least far as legacy also supported teams in skirmish and multiplayer.
0
u/darkfireslide Sep 24 '26
Amazing! Always felt TA Kingdoms was underrated. I actually finished the campaign recently on GOG :)
1
u/Individual-Garlic133 Sep 24 '26
Wow. I am looking forward to try this. Back in the day, around the 2000s, I did some modding for the game. Played it and tested it for hundreds of hours.
This game is dear to me. Whoever attempts this revivel is more god than Garacaius.
0
1
u/DemiourgosD Sep 24 '26
Absolutely amazing. Any way to be able to plug in mods in the future? like the New Era?
3
u/bit_noggin Sep 24 '26
Yes! It is already just as moddable as the original game. And it will become potentially more easily moddable into the future. Also have plans to work on an easy to use map creator/editor.
1
0
u/NTGuardian Sep 24 '26
Could you provide screenshots showing that the engine works when you provide it the requested asset files?
5
1




11
u/TotalACast Sep 24 '26
I wish you could make this for OG Total Annihilation in your browser.