The Red Planet is at war. Lead either Capital’s corporate army or Labor’s worker revolutionaries and wage war across a vast strategic map, then assume direct control in turn-based tactical battles featuring artillery, vehicles, and fully-destructible environments.
Hi everyone, this month let's take look at shooting and how chance-to-hit is calculated.
A big part of the tactical sandbox I'm trying to build is letting you shoot physically persistent bullets anywhere you want. Not just at enemies or predetermined targets, but literally at any position on the battlefield.
Besides just being fun, this freedom makes shooting more interesting. It's no longer about just hitting a target. Things like fire superiority and suppression become just as important. For example, in this game there's no special "Suppression" action or ability. You just point and shoot, and bullets flying close to someone will apply suppression to them.
[img]{STEAM_CLAN_IMAGE}/41607874/566af9109776796e06bbad9070da15b278107bf1.png[/img][i]This enemy is hiding behind good cover, but you can shoot at the air above or next to them to apply suppression.[/i]
And with physical projectiles you have to be mindful of the background. If a bullet misses its target or a rocket veers off course, it will keep flying until it hits something. As the great Vincent Hanna (Al Pacino) said in the movie HEAT: "Get clean shots. Watch your background!"
[img]{STEAM_CLAN_IMAGE}/41607874/68611f132f999af0843fefe0d188d66fc7e5a72d.gif[/img]
[i]The poor Martian civilian workers are always catching strays.[/i]
[h2]Chance-to-Hit[/h2]
That said, this is still a turn-based strategy game. So chance-to-hit is calculated using dice. However, it's done in a way that reflects the physics of the tactical sandbox.
When aiming your gun, the game generates 100 trajectories from the barrel tip toward the target's center of mass, forming a cone. The diameter of the cone is based on various factors including the shooter's skill. So when the game shows you have a 49% chance-to-hit, that means 49 out of the 100 trajectories are intersecting the target's hitbox.
[img]{STEAM_CLAN_IMAGE}/41607874/bd550fe7d910e123868e00a68da6b68476fd8fac.gif[/img]
[i]The cone as shown in debug mode. The idea is to combine dice with physics-based ballistics.[/i]
Next, when you pull the trigger, the game rolls a D100 die and picks one of the trajectories for the bullet to follow. For example, with a 49% shot, if you roll 49 or lower the game will choose a trajectory that hits the target, while rolling 50 or higher will result in a miss.
Finally, in the case of burst or auto-fire, for most guns the game also rolls "recoil dice" for every subsequent bullet in the shot. Each recoil die can produce a positive or negative value depending on the shooter's skill. This is added to the prior bullet's value and a trajectory is chosen based on the cumulative total. The idea is that the soldier is rolling dice to try and control the recoil.
[img]{STEAM_CLAN_IMAGE}/41607874/f44f449850a4980de04715903edaf7f6697b255b.png[/img]
[i]The battle log shows the first 4 bullets missed, but the last 2 hit as the shooter fought the recoil to bring the spray back on target.[/i]
[h2]Realistic Weapons[/h2]
What I love about this whole system (shoot anywhere + persistent bullets + dice + physics) is how guns naturally take on their real-life roles. For example, the LMG is excellent for suppression not because of some special flag or ability, but because of its high fire-rate and large magazine. And the system doesn't arbitrarily limit your tactical options. There's nothing stopping you from using other guns for suppression too -- it'll just take more shots to pin an enemy down.
Another example is the shotgun. It doesn't need recoil dice because it fires all bullets at once (buckshot). So each bullet rolls its own D100. This is a big deal because rolling many independent dice means statistically there's a higher chance that at least one bullet will hit. In other words, similar logic to real-life.
[img]{STEAM_CLAN_IMAGE}/41607874/6f0c6dfeaf5f6ea5823a9acac7d0b6a9dae10d03.gif[/img]
[i]The shottie is great for taking down drones, which are small and hard to hit but take just one bullet to bring down.[/i]
Well that's it for this dev log. I look forward to your thoughts and questions in the comments!
Follow and Wishlist [url=https://store.steampowered.com/app/1727760/Mars_Tactics/]here[/url] for these dev logs to appear in your Steam News section (they do not appear on the store page). You can also follow me on [url=https://discord.gg/6tmHK8stH2]Discord[/url], [url=https://www.reddit.com/r/MarsTactics]Reddit[/url], [url=https://x.com/manhole_s]Twitter[/url] or [url=https://bsky.app/profile/manholex.bsky.social]Bluesky[/url]. Lastly, if you just want an email alert when I make a post on Steam you can sign up [url=https://forms.gle/MYtxPUMnoJ8zMbxq6]here[/url]. THANK YOU FOR YOU SUPPORT!!
-Yuji
Prior dev-logs:
[list]
[*][url=https://store.steampowered.com/news/app/1727760/view/3302839954743495168]Dev Log #01: Vision[/url]
[*][url=https://store.steampowered.com/news/app/1727760/view/3285963415787128685]Dev Log #03: Personality System[/url]
[*][url=https://store.steampowered.com/news/app/1727760/view/4163094703545478710?l=english]Dev Log #04: Grenades[/url]
[*][url=https://store.steampowered.com/news/app/1727760/view/4236280100288163623?l=english]Dev Log #05: Destruction[/url]
[/list]