It’s been about a month since the last update of Auto Fire, and I’ve been focused on the content arc. In between hitting “refresh” on the Kickstarter page for Car Wars Sixth Edition (really excited to see car combat come surging back), I managed to assemble a build with a good chunk of stuff.
The upcoming goal is to really focus on content generation, bulking out how sectors are laid out and how quests are encountered within them. This helps draw players through the various sectors and really gives some needed context and narrative to the play arc.
Some notable elements below are a larger emphasis on characters… They are more prominent in encounters and they now are equipped to refer to each other in dialogue (which will continue to grow). The player’s “feed” takes the place of a traditional Roguelike combat log, fielding tweets by your opponents as well as residents of the current sector.
More gameplay-relevant is the introduction of highway maps between the various overworld sectors. These will continue to evolve and reflect the hazards of traveling long distances. Eventually they will be the setting of convoy missions, but first things first…
I’ve been doing development streaming on Twitch lately, and it’s been pretty enjoyable actually. It’s early afternoon for me, Tuesday at 1PM Pacific, and it’s been fine. I worried about the cats disrupting things but I just embraced the cat break. I worried about boring people with some noodly code problem on camera but there’s always something I can pick up that’s interesting to work on and talk about. I’d like to think that people are learning things about game development as well, which it turns out is part of what it’s about.
I’ve saved some of these streams on Youtube, which has been good since there are sometimes concepts that I want to convey to people that are helping me out… and having a demo of its use is super-handy.
In stream #2 I showed off how patches are created in-game, and punch up some in-game objects. (The first stream was unfortunately lost to the fact that Twitch doesn’t save broadcasts by default). We also got our first visit from Sam.
Stream #3 started pretty weird because I had the mic off for a good chunk of the start. In this I actually crack open the very improved Blender after only an hour of watching tutorials and use it to update and break up some models, to improve the physics impact of destruction. Then we cut loose with some rockets.
There have been improvements to Auto Fire both big and small! There was a list as long as my arm of bugs and nitpicks that I discovered when showing off the game at the Roguelike Celebration. Quality of life improvements are always crowd-pleasers, and they happen to also be me-pleasers since I’m playing the game everyday.
More importantly, I started setting an eye to a longer play arc than I have now. That includes laying the foundation for loot, health and damage that’s defined by a progression arc. This means that I can balance numbers globally, as well as more easily drop in enemies and items to the game and have the system distribute them more easily.
This may not affect your experiences that much just yet (aside from some new items dropping!) but I’m looking forward to bulking up the content soon. (If you’re impatient, here’s the download link now)
Rams are more sophisticated in their detection now! They now check relative speeds, and factor in the ram plate only when your front is colliding with the enemy.
The relative mass and levels of the vehicle are also factored into the damage that is done.
The Cricket’s Bootlegger now executes a stun burst upon completion! (Like it’s supposed to!)
Sectors are now set up to control the challenge within them! This gives me the first tools to really smoothly lay in progressively advanced content.
There are now tables that control the base amounts of health, damage, fame, item value, vehicle value, and various resource drops.
Varying the content from this baseline will help generate new content and help balancing as the content grows.
This was waaaaaay harder than it should have been, except it’s because vehicles have a fairly involved way of installing themselves on various vehicle chassis. Players do it differently than enemies, but they all use the same basis.
Loot tables now spawn based on the challenge level of a map or opponent as well. Items are now set up to drop in quickly via a spreadsheet, allowing content growth to be much easier!
Part of the result of this is that there are some new tires, engines, blast gadgets, and weapons that took a few minutes to whip up. A significant improvement.
Adjusted the fire trail from exploding barrels and vehicles to be more flamboyant.
Added physics objects to destructible entities.
Fixed orientation and camera angles of special moves.
The overworld vehicle is a tad smaller now, to better fit the other elements within.
Automap is (finally!!!) closed with the Escape key
Objective Pointer improvements!
Objective pointers now can point to things that can be killed in the map if there are more than one.
When there are multiple objective targets, only show the ones that have been seen so far.
Pointer flashes regularly and is pushed slightly further inward for better visibility.
Pointer starts in the center and moves out when changed.
Revised the feel of the ground, leaning a little bit in the direction of more detail. I don’t want it to get too busy but it was blandtown.
Experimenting with grass, textures, some more boundary variance, and so on.
Outposts now have some slightly more interesting walls.
There can be breaks on multiple sides, and now the break isn’t always predictably on the south end either.
There are some corner variants now, just to mix things up.
The walls have a bunch more variance and they are not always rail-straight.
Wanted a little more verticality, so I made the guard tower and water tower taller.
Physics objects like exploding cars now have sounds when they collide with the world!
Some sounds are no longer affected by slowing down time, because they sounded pretty dumb (like the “clink” of a dropped item)
MasterAudio (my sound system) was logging all sounds, spewing into the text log. Turned this off, which could improve performance slightly.
It turns out I wasn’t reading my data files in an internationally friendly fashion. PC’s with Russian language, for example, would have empty levels and no weapons. Derp. This should be fixed with new parsing improvements. Hopefully Russian computers can run the game better now!
When attacking with a ground-only weapon or special move, don’t snap to an enemy.
Vehicles now have their special moves and speed perks built-in as vehicle defaults. This makes them not part of the inventory and not removable.
Fixed some targeting issues caused by weapons with a minimum range calculating incorrectly.
The Steamworks library has been added to the game! It doesn’t do much yet, but it’s a start!
The game has been updated to Unity 2019.2.9f, and now uses Unity Plus. This means no more Unity splash screen for extra Pro Points(TM)
As always, you’re welcome to try out the current build at Itch.io!
Testing out my new hardware in the run-up to my first stream, I whipped up a quick video blog showing off the most recent changes to the build and its vehicle playstyles. Enjoy!
And hey, yes! I did stream for the very first time this week. I unfortunately didn’t know that Twitch didn’t default to saving past broadcasts so the first session isn’t viewable, but head over to my channel and give me a follow! I promise to save all future sessions!
It’s been a couple weeks since the last build, but a lot has happened due to things that I’ve wanted to get in for the Rogue Celebration 2019, which I’ll talk about in another article.
For Auto Fire, RogueCel primarily meant that I had a lot I wanted to do in proving out playstyles. This manifests in the player’s vehicle chassis selection… It includes speed perks (passive effects triggered when driving at 60 MPH or higher), and special maneuvers (gas-consuming all-in-one moves that launch the vehicle to a new location and affects everything around it.
As always you can check out the state of development for free on Itch!
Cached Line of Sight: I used to do a pretty dead-simple Line of Sight test… I traced from one tile’s center to the other. Sounds simple, but there are a ton of edge cases that come about from testing that way.
To get it right requires a couple extra tests, primarily tracing to each far corner of the tile.
This allows you to see tiles that are partially obscured by walls, as well as being able to target walls themselves (such as when shooting the destructible outpost borders).
To reduce the load of this, I cache the results of these multiple line traces in all directions out to 15 tiles (this is tunable). That way I can look at the offset from the viewer and quickly retrieve all the tiles I need to query for blocking. Is it done in the most efficient way? Not yet, but it definitely is an improvement so far.
Improved item gathering: Vehicles now automatically pick up items from the ground adjacent to the vehicle, rather than requiring the radar to be used. It feels so much better!
The player also automatically picks up adjacent items in the overworld!
One thing I really needed was to introduce more playstyles for players to choose from. I decided to bake in special abilities into various vehicle chassis.
To facilitate this, I created the ability for equipment to have passive effects when installed, and remove them when uninstalled.
Effects have an ambient effect on their target, and can also trigger gameplay or visuals as a result of having triggers on its target… such as being hit, losing control, or colliding.
Vehicles now have two new equipment slots (which are not player-editable): Speed Perk and Special Maneuver. This equipment will in most cases be baked into the chassis itself when used.
A minimum speed can now be defined for effects, allowing for things like speed perks which trigger whenever the vehicle is traveling 60 MPH or over.
The stun condition keeps an AI (or player) from firing or controlling their movement until it wears off. This means pedestrians stay in place while vehicles will continue forward at their existing speed (or until they hit something).
The focus condition increases the subject’s ability to hit targets and inflict crits.
Turret fire (the F key or the gamepad triggers) now can launch any weapon or special ability. It also won’t attack the ground the way it used to.
Ram Blast (Stallion): Speed perk that triggers an explosion whenever the vehicle collides at high speed.
Ram Piston (Stallion): Special maneuver that launches forward and bashes through the selected target, knocking it aside.
Advanced Radar (Stallion): The Stallion has special radar that has a bigger radius than other vehicles.
Hyperfocus (Panther): Speed perk that increases the hit and critical chance when at high speed.
Jet Thruster (Panther): Special maneuver that launches forward and puts the car at max speed, leaving a trail of fire behind.
Jet Wash (Cricket): Speed perk that stuns vehicles and foot soldiers that are passed at high speed.
Bootlegger (Cricket): Special maneuver that launches forward and spins the car around, ending with a large stunning pulse.
Note: Special Maneuvers all consume gas!
Created new shader for the fog of war that scrolls and has interesting edges.
This was only my second or third foray into Amplify shaders… It’s been great to be able to the work in the editor rather than have to code them, since I really did a lot of experimentation here.
The main goal was to create something more dynamic on edges and more particular to have fewer tiles obscured by half-opacity textures, which made things feel extra floaty and mushy on a large part of the screen.
Destroyed vehicles now do not fly into the air as ridiculously far. It was fun but you often never even saw the vehicle because it flew so high.
Adjusted the color of the ordnance and gas can icon and model to be more prominently colored, so they are easier to spot.
Added glinty materials to pickups to make them catch the eye better.
This is mostly by cranking up the brightness of the specular in the toon shader I’m using for gameplay objects. It looks pretty nice when the objects spin.
Adjusted the loadout of starting vehicles to match playstyles.
Updated start screen to give more description of cars.
Updated some tutorial text to match the new control method.
Fixed bug with effects such as dropped items. One symptom was smoke and oil overwriting each other. This may also eliminate some of the mysterious crashes I’ve seen.
It turns out that in a specific case I was passing a single dictionary around for effects rather than properly instantiating it for each instance of an effect. That caused some serious weirdness, glad to have tracked that down.
Fixed a problem with firing while stationary, which remained in slomo during execution.
Changed the ragdolls for humans and dogs to move smoothly.
Added audio mixer slowdown when slowing down time.
When destroyed vehicles are flung into the air, they now play sounds when falling to the ground.
Added a techy burst sound for the bootlegger.
Targeting squares are more yellow now, rather than green.
The (A) button prompt disappears when the player centers the gamepad stick.
We’ve been working on some new special abilities for the vehicles in Auto Fire, including the Ram Piston. Different vehicle chassis types can have some crazy maneuvering abilities, although they’ll consume resources such as gas, so make sure to use them wisely!
The foundation of the special moves system was pitched in by developer comrade Jim, created during this stream where we talked through some of the system updates needed.
The followup was transferring it to on-demand equipment, which didn’t have the ability to be aimed yet. The plan is to get some more moves in like bootleggers, side swipes, and some weirder stuff. Stay tuned!