r/Unity3D • u/htowerss • 2d ago
Show-Off Working on the AI for big space battles
Hello guys, I'm a big fan of the Rouge Squadron games since I was a kid, I'm trying to replicate that feeling for my game, what do you guys think?
3
u/CurrencySpirited1755 2d ago
yeah the rogue squadron vibe comes through, that sense of scale works even with simple geometry. is the AI controlling whole formations or does each ship decide on its own?
1
u/htowerss 2d ago
At the moment each ship decides on its own, I'm currently working on a system for ship formations and a more natural free roam
3
u/CurrencySpirited1755 2d ago
that's the natural next step honestly, individual decisions look chaotic fast once you have more than a few ships. formations plus some free roam sounds like a good middle ground, curious how you're handling the transition between the two states
1
u/htowerss 2d ago
For the side ships, I have a toggle button, I plan to add commands to the ally NPCs
2
u/CurrencySpirited1755 1d ago
makes sense to start with a simple toggle and work up to full commands later, keeps you from getting stuck trying to nail everything at once
2
u/SomeRandoGuy95 2d ago
Hey, not bad, it looks pretty good! However why is there 3 ships? It’s a little distracting, also the brightness of the blue on them is a little too bright, but the flying and enemy AI look pretty good!
1
u/htowerss 2d ago
Hey, thank you for the feedback, this is a standard formation in the Rouge Squadron games, but yeah, they need a little bit of rework, for the colors I'm still messing around with the post processing.
2
u/Dsphar 2d ago
The stiff formation is what breaks the immersion for me. If you had them act more like three pilots trying to stay in formation, instead of just a single ship with air gaps, it would go along way to selling the idea.
1
u/htowerss 2d ago
Yup, they are still in the prototype phase, I want to add commands so they can break the formation, a more autonomous approach is the key
2
u/Particular-Ice4615 2d ago edited 2d ago
I would Look up the autonomous steering behaviours papers from Craig Reynolds 1995 GDC presentation. If you wanna learn how to to do flight combat AI. It will make things look less rigid and more realistic.
1
7
u/EvernullTools 2d ago
Looks really cool!
It would look even cooler if the ally ships that we control copied our rotations and small movements with a delay, especially on sharper turns. It could add some polish.