4 ms·
When I was a teen I was mostly writing RA2 custom map scripts and rules/units for my friends and watch them battle with my rules in internet cafes. When that wa
by egeozcan 4mo ago
When I was a teen I was mostly writing RA2 custom map scripts and rules/units for my friends and watch them battle with my rules in internet cafes. When that was not possible, I was creating custom RA2 AIs, but it was very hard.
These days, I'm having incredible fun developing good old AI scripts with LLMs, for my own vibe-coded RTS game. Just choose all AI players here to make them battle each other: https://egeozcan.github.io/unnamed_rts/game/ https://egeozcan.github.io/unnamed_rts/game/
I even let the LLM generate a tournament script to make AI scripts from different LLMs battle (headless): https://github.com/egeozcan/unnamed_rts/blob/main/src/scripts/tournament.ts https://github.com/egeozcan/unnamed_rts/blob/main/src/script... GPT-5.5 leaves all in the dust currently. I cannot beat most in the game I set the rules myself :)
If you are like me, you can just make LLMs create your personal RTS game and also develop custom AIs. It's so much fun.
- wahnfrieden 4mo agoWere you familiar with my modding site RA2Factory?
- egeozcan 4mo agoYes! I downloaded a lot of shps voxels and map packs from your site! I think it was the beginning of 2000s? Anyway, a very delayed thank you!
- wahnfrieden 3mo agoAmazing! You're welcome. Yes it must've been around 2000, I was around 13-14 when I built Tiberian Sun Factory and then RA2 Factory. To be honest I didn't play with mods much myself because I was consumed enough with the joy of building tools (such as for INI editing and voxels) and the websites, and connecting with the community and other site/tool builders. I did play the vanilla games a lot though. I contacted the community manager at Westwood Studios and was granted the chance to visit once during a trip through Vegas. I remember him and others being very friendly, giving me a tour through the office, seeing the reality of the life of game testers, having some time with the Yuri's Revenge expansion before release, and being given some merch - a Dune II box, a C&C poster, which I still have in storage. Just to share some more of what I can recall from those days.
- yard2010 4mo agoYou are awesome, thank you for being such a magical part of my childhood
- wahnfrieden 3mo agoHa glad to hear it! I was also a child, I made Tiberian Sun Factory and then RA2 Factory when I was around 14. I left some more details here https://news.ycombinator.com/item?id=48703769 https://news.ycombinator.com/item?id=48703769
- b112 4mo agoHuh. You know, I wonder. The API provided to AI scripts must have enough info for limited strategies, but I've never seen what's what. You have. What are the possibilities for just giving Claude that each turn. Yes, insane over kill, but in a couple of years Claude level AI will run locally on laptops...
- egeozcan 4mo agoI'm really not sure about the timelines, but I can easily speak to the state of things for today: LLMs are very wasteful and slow for real-time decisions. The "thinking" ones have no chance and if you disable thinking, they really struggle with querying the context with the right calls. For the once in a moonshot scenarios that they have enough context and ample time to react, they are great! Developing AI scripts, however? They are crazy good! I try to re-balance the game to give a little edge to the humans, then it takes a single iteration for your not-even-sota LLM to destroy me. I mean I'm not the fastest RTS player but for the lack of skill, I have the advantage of being the designer of the game :) About the RA2 AI scripts: You can react to enemy faction, composition etc. but it's impossible to program it to pull back its tesla tanks when they are under threat from a bunch of rocketeers. Those things are hard-coded in the game engine. I think the only exception was the DeeZire mod which patched the game exe, if I'm not hallucinating.
- scottmf 3mo agoI recently tried playing OpenRA with GPT-5. Didn’t have enough time to put into it properly, but the solution I reached would plan future actions in batches based on game state, including decisions to make based on conditions/thresholds being met. Maybe something like Gemini Flash would do a much better job.
- egeozcan 3mo agoIMHO, this is a very good idea. I suppose it would help a lot with the macro, but again, "decisions to make based on conditions/thresholds being met" is the definition of the good old AI script :)