Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411126 Posts in 69302 Topics- by 58376 Members - Latest Member: TitanicEnterprises

March 13, 2024, 02:12:20 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
  Show Posts
Pages: [1] 2 3 ... 5
1  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: August 02, 2018, 08:59:58 AM
Hey, thanks Schrompf!

I've finally gotten round to making a new website for the game, and putting a free version of The Hit online. Here's the link if anyone wants to skip reading and go download it.


The free version is a bit bare-bones right now, but I'll be gradually populating the city and adding gameplay features over the coming weeks. There's a lot to go in already, and a bunch more that only exists in prototype form. This version also has no inventory, so interactivity will be minimal.  It will have everything else from the main game, however, including NPCs, interiors, vehicles and everything else I add.


What it does have is a development gallery (just look to your left as you leave the hotel), where you'll be able to learn about all the different systems I'm creating, and see how the game has developed from early versions to where it is now (and where it's going next). I've been very lax when it comes to updating my devlog, so this will be somewhere I can write about the game without ever having to leave Unity. Again, I'll keep adding to that as I go. I already want to add some 3D models and a couple of walk-in environments, as well as another floor to talk about the narrative system.

Here's a quick preview of what's already in there.















2  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: July 05, 2018, 07:09:21 AM
I'm the guy who interviewed you a bit ago for Kill Screen

Hey Kyle! Good to see you're still watching, and thanks for the kind words.

I took a break for health/sanity reasons, then a longer break from posting on forums & speaking to journalists, but I'm been keeping busy in the background. It's a mammoth task, but it's slowly coming together. There's a few more images and discussion on indieDB (https://www.indiedb.com/games/the-hit) if you're interested, and I occasionally post on twitter (https://twitter.com/dan_stubbs). I'm trying to write some longer, more detailed posts on here, in preparation for launching my new website and a playable release. I'm totally skint, so there might be a Kickstarter or Indiegogo campaign soon, but I'll need to find the time to organise that. I'm mainly just trying to get as much work done as possible on the game.

Anyway, I'm just glad to know people are still paying attention. I'll try and get the next in-depth post done soon.
3  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: July 05, 2018, 02:09:04 AM
What if you had bow ties instead of long ties?

Thanks, that's not a bad idea. I'll keep the ties as they are for now though; I don't really mind the imperfection, and it'll motivate me to finish off the skinned mesh system.
4  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: June 25, 2018, 08:49:25 AM
Apologies for the hiatus, I had some surgery last year, and ended up burning myself out trying to get this game into shape. I stepped away for a while to get my head back together, but I've secretly been back on development for a while. I'll make this into a few posts, because there's a few different things to cover. First up... characters!



I decided to add one more step in between the blocky voxel characters and the ones in my last post. These ones will probably last until a while after release. They're a ways simpler than the system I have planned, and I'm trying to get the game in playable form for release as fast as possible now.

The shirts are actually light blue because I had a bug which was turning all the light grey colours into blacks, which I've since fixed. I'll make some more head and hairstyle variations soon, and probably work in some Reservoir Dogs/Pulp Fiction/City on Fire references.

And here they are in-game (right and below). I'm still working on adapting the old the animation system to the new characters, so these are hand-posed.

I'm also having to write a new gait editor, because the previous animations look lousy with the new characters; one of the disadvantages to having more a realistic style.

If anyone's wondering, I'll definitely be putting the damage system back in, but that'll most likely happen with the next iteration of the characters. Those will be voxel-based, which the damage system requires, while these aren't. I'm planning on making it even more gory, but it'll also be more subtle and realistic.



This is one of the feature locations where you'll be tracking down your targets. Every single building in the city will be a potential target location, but I'm going to try and keep things as varied as possible. So while there will be many residential buildings, shops and offices, you won't end up with 90% of your missions taking place in those.

I've switched over to a new system where every type of has object has a corresponding 'edit object'. Adding more types is a simple process now, as with these paintings. Variables like the canvas size, style, resolution and random seed are inbuilt, with functions to randomise those, so creating sets of paintings takes just a few clicks. The edit object handles all data and interaction functions, so I can concentrate on creating the scenes without worrying about setting up the technical stuff.

Sometime soon, I want to start using these tools in collaboration with other artists, developer and storytellers, so I'm writing them with simultaneous editing in mind. Eventually, I want players to be able to run the game with various combinations of players, artists and storytellers, reducing the gap between creation and feedback to the point where editors can be creating new games in concert with players. I'm very much looking forward to that game jam.

Here's a crowd of randomly-generated characters. I'm only randomising sex, outfits and colours at the moment. I haven't carried over height and weight variation from the old system yet, but they're on the way.

A system for generating different ethnicities (and blending multiple ethnicities, for even more variety/realism) is partly done, but I'll probably wait until after launch to add that. For now, everybody basically has a Caucasian body type with different skin colours, but hopefully the characters are low-detail enough for that not to matter too much.

Because they're made up of separate body parts, things like long coats don't work very well with these characters, so some types of clothing will have to wait for the next version. Ties aren't ideal either (the two halves of the torso can rotate separately, which cuts the tie in two...) but I can't really make a modern-day contract-killing game without suits. I'm considering fixing that with a hybrid system where the torso is a skinned mesh, but we'll see.



Anyway, thanks for checking out my little game. I'm busting a gut at the moment to bring you a new demo, but I'll try and find the time to write up another of these posts. See you next time!

Dan
5  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: October 08, 2017, 01:12:04 PM
This has been a long time coming, but I've finally started work on the new (and final) characters.


The blocky characters I've been using were mainly a test, so I could get the character generation and destruction systems working properly, but I've always been intending to replace them with more detailed-looking people. The main reason I'm doing that now is that the character generator is starting to give out more information than the current system can represent.


They're still a ways off from being usable in-game though. There'll be a bunch of variations (male, female, muscular, under and overweight, old, young, etc.) to make, and clothes to design, and I've got to write an auto-rigging system that'll cope with the new characters. Damage is going to be an interesting, if horribly gruesome, system to get working with these characters. I might take the opportunity to add in a couple more features, so accurate gibs, bones and internal organs might be a thing soon... maybe. I'm trying to get the game ready for a Steam release as soon as possible, so a few features might have to slide into a post-launch update.
6  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: September 11, 2017, 02:52:57 AM
Following on from yesterday's post, here's the street sign placement tool in action. The blue box defines the area where the sign will be placed, and the red box shows the final placement area. First, the tool checks for walls within the blue area, and then building facades. If it can't find either, it will place a free-standing sign on the pavement, otherwise it will analyse the wall or facade to find a suitable place, free of windows or brickwork. I'm expecting this system to work okay about 95% of the time, and I'm placing signs at every junction, so the odd misplaced sign shouldn't impact the gameplay significantly.

When I return to working on the interaction system, I'll be making the signs into 'things you can interact with', meaning you'll be able to store and communicate information. Communicating a street name to a taxi driver will result in asking them to take you to that street, while doing the same with a pedestrian will mean asking for directions.

I'm keeping it 'simple-ish', so you'll only be able to retain a small amount of information at any time, though there'll also be tools to analyse chains of information, which could end up getting very complicated. As I write more of the interaction system, I'll share some more details of how I'm going to keep the game fast and intuitive, despite the enormous quantity of information you'll be able to access. I'm happy with the systems I've designed, but the proof will definitely be in the testing.
7  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: September 11, 2017, 02:50:34 AM
Navigation based on randomized street names is an appealing idea. Looking forward to this!

Thanks. There's more to this than just navigation though. It's hard to explain how this is going to work, so I'm mostly trying to get the damn thing built so you can see it for yourself. I'll attempt an explanation here.

I'm trying to create an environment where it's possible to interact with everything in the world. In order to tell rich and interesting stories, having a handful of verb-actions (run, shoot, open, etc.), and a handful of noun-objects (enemy, ammo pickup, checkpoint) you can interact with is not enough. Cutscenes keep all the interesting bits of the story (plots, deceit, betrayals, etc. etc.) out of reach of the player; I'm trying to move all those things out into the game where the player can get at them. For a very simple example, lying to an antagonist (about the location of a third character, for an obvious instance) is not possible without being able to store and select information. Giving the player a single 'lie/truth' option in a dialogue tree is artificial, and doesn't extend to other situations where lying might be desirable, but the developers haven't allowed for such an action. Making the choice available to the player at any time forces me to create a system where the antagonist's response is derived from the events as they take place, rather than being pre-scripted. It's a hard problem to solve, but the potential of such a system is far greater than via traditional means.

Apologies if you've already seen it, but this article describes how I'm planning to give authors control over this system, and actually 'tell' stories when the player has complete freedom. https://www.gamasutra.com/blogs/DanStubbs/20140402/214565/Dynamic_Narrative_in_The_Hit.php
8  Community / DevLogs / Re: Cyberpunk City Simulator on: September 10, 2017, 06:56:03 AM
This is looking gorgeous, thanks for sharing your progress!
9  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: September 10, 2017, 06:12:11 AM
Streets & Signs

I've taken a detour from coding missions and interactions to sort out the streets. They're essential for gameplay, because I can now send players and NPCs to specific locations. I'll also be able to add story triggers for when the player enters or leaves a location, and because street names are things you'll be able to 'remember' and use in conversations, it'll be possible to ask directions very soon, or ask a taxi driver to take you to a location.

I'm using a list made up of common street names, historically common male and female names and types of tree, plus a set of street types (road, street, way, lane, avenue etc.) The generator simply picks one word from the first list and one from the second. To make renaming streets as simple as possible, I've written a tool that looks for signs which are facing the street, then automatically creates a texture and resizes the sign.

I'm writing a sign placement tool, which will analyse buildings and walls near junctions, and find a suitable spot to place street signs, which I'll add to the city generator when it's finished. I still need to create an atlas for the street signs, but I've already got an atlas generator left over from when the buildings had textures, as well as a ton of utility functions, so that should be a simple enough job. I'm also missing a tool to calculate streets from hand-drawn maps, but the road calculator is already working, so I'll add some logic to join the road segments together and call it a day.




10  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: August 26, 2017, 01:37:26 PM
Hey there. I've been hiding away in my dev cave lately, working on a bunch of much-needed optimisations and refinements, which is why I haven't been very active on here for a while. A lot of the systems I'm developing for The Hit are experimental, especially the narrative aspects, so my workflow generally involves writing a bunch of messy code, then rewriting it because of what I've learnt writing the original code (which can sometimes repeat far too many times). I also try to replace complex systems with simpler ones, whenever I can, because I need to be able to understand how many different systems interact, and there's a limit to my brainpower. Eventually I end up with something that works pretty much how I want, even if it looks pretty ugly and runs like an arthritic sloth. That's when I start refining and optimising. I'm starting to make some decent progress, so I thought I'd share some new screenshots with you.


This is my new test city. It's considerably larger than the previous version (337 individual buildings, up from 14), but thanks to the latest optimisations, it still generates in a reasonable amount of time. Which is good, because I'm planning to add a variety of different cities to The Hit, as well as letting you create your own.


Here's the latest version of the procedural stairwells. I've rewritten most of the stairwell code in order to make the final model much simpler and speed up the generation algorithm. I'll also be reusing this code to make any repeating models like fences and railings. I've almost finished the next part of the stairwell code, which will increase the detail of the steps. I'm also a step closer to implementing unified colour palettes for building interiors, so it'll start to look less random soon.


This is the view from the top floor of the tallest building in my test city. Now the stairwells are working, it's finally possible to explore the entire city, including every floor of each building (and yes, I am adding sniper rifles). Automatic room and furniture placement is about 75% finished, so these spaces should look a lot more interesting soon.


The final two screenshots here are furniture tests, so I can be sure the scene loading and saving is working properly. It's all hand-placed for now, rather than automated, but I'll be refining the automatic systems very soon, and spending some time making a load more furniture. Interaction code is mostly working, but still needs some refinement before it's game-ready. When it's finished, you'll be able to open every drawer and door in the city, and I'm working on automated placement systems for filling them with appropriate props, all of which you'll also be able to pick up and use. They'll also be connected to and controlled by the dynamic narrative system, because I'll need to be able to drop narrative hooks in around whatever the player is doing. I'm probably going to keep this level of graphical detail on each object, but increase the density of objects dramatically. In order to tell believable stories. I need to begin with a convincing world, where anything and everything can be part of the narrative.

11  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: July 24, 2017, 12:57:35 AM
If anyone would like to play around with the city editor, I've uploaded a free build to itch.io https://adfp.itch.io/the-hit/devlog/5671/editing-the-city
12  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: March 20, 2017, 06:51:54 AM
Update. Building exteriors are (almost) done, and I've created a new procedural modelling system that I'm planning on using for vehicles, clothes, walls, gates and about 100 other things.


Here's the end result of a system I've been working on for a while

The actual facade data is a small byte map which describes a 1m grid. This is fed through the new facade generator, which performs some analysis of the data and looks up a 2D 'facade atlas' (see pic below), which contains a set of windows and doors, complete with frames and surrounding brickwork. This information is linked with the analysed data and 3D geometry is created from the combined data.

In short, I've now got a super-fast, super-easy system for generating new buildings and new building styles. I'll have to write some procedural generation rules before I can use it in-game, and it's desperately in need of some optimisation, but this means that the building exterior system is just about finished. Apart from adding some more features, I probably won't touch it again before release.

I will be creating a few dozen more facade atlases, because they're incredibly fast and simple to make, and will give the city some much-needed variety, but then I'm planning to adapt this system to create vehicle exteriors and clothes for the new NPCs (which I'll show off as soon as they're working in-game). I have one more (fairly simple) system to write before I can do that, however. When that's done it should also allow me to create angled geometry using the facade generator, using only a tiny amount of extra data, but I might save that until after the game's out.


The facade atlas I've been using to test this system
13  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: March 10, 2017, 03:37:13 PM

Walls are done (enough for now, at any rate). I'll add some more wall types in soon; they only take a minute or two each to add, so I'll try to make a bunch of different styles.

I've also started adding vehicles back in. I'm trying to get the game to a playable state as soon as possible, so these ones aren't procedurally generated. They'll serve as a basis for the next set of procgen vehicles though, and I'm working a few valuable things out while I model these.

All doors can be opened, as well as the bonnet and boot (hood and trunk), plus you'll be able to sit in any seat and still have the full interaction system available to you. Cars can also be used to stash weapons and equipment (or y'know, bodies), which should allow for some interesting gameplay.

The next things on my list are linking vehicles with the navigation system, so NPCs will be able to get in and out of cars, and use them as dynamic cover when things get hairy, and also adding the road navigation system back in, with a few tweaks and improvements.
14  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: March 04, 2017, 03:50:32 AM
If I can drive a car through a wall to run down a target, or destabilize the base of a building so it collapses with the target on an upper floor, I will be more satisfied than I can say and this will be the best game ever

I'm working on it! Driving through walls will absolutely be possible (It's already mostly done, but will need linking to the vehicle physics when I get round to writing those). Buildings aren't affected by gravity right now, but I've sketched out a system that'll split the building into pieces, and run stability checks on each piece. When it's working well, I'll add it, but that'll almost definitely be a post-launch update.
15  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: March 04, 2017, 03:26:54 AM

Pedestrians! Lots of pedestrians!

The two main things I've been working on this week are the texture-to-city system, and NPCs. NPCs are looking pretty much how they were in the last version of the city. The differences are that they're ever-so-slightly smarter, and they can now walk on hilly terrain.

The texture-to-city systems is coming along too. Both the screenshots below, as well as the video above, are generated from this small image.




I'm working on getting multiple object types working before I start adding dozens of different features; so far there's volume objects (streetlights) and block objects (the benches), and I've made a start on the walls. I just need to add a couple more things to the map analyser and apply the object scaler to the wall objects, and then I can start adding multiple walls, fences and hedges.

There's no navigation tags on the objects yet, but they're coming soon. I'm developing a generalised system, so everything will eventually be interactive and destructable. I'm making this with multiple mobility systems in mind, such as free-running, skateboarding, etc., but I haven't factored them into my development plan yet. One day...

16  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: February 26, 2017, 05:04:58 AM
After fighting off a pack of wild bugs, the texture-to-city tool is done! It consists of two parts, which I'll drastically over-simplify here: first, the road analyser scans the map for all black pixels, and divides them into straight roads and junctions so it can be linked to the vehicle navigation system (which I need to dig out and get it working with the new, curvier terrain system).


Then, the map is divided into city blocks, and each block processed separately (I initially tried to process the city in 32m or 64m chunks, but that created too many issues with features which span multiple chunks. It all gets divided up later anyway when the meshes are built, so this way is far easier). Features like doors and street furniture are hidden and the map is scanned and turned into ground areas and buildings, then the hidden features are added back in. Simple! (Well, it's simple to use now, which is the important thing).


The second image here is basically a stress-test. I took the output from the city generator, and fed it back into the texture-to-city tool (I've got to figure out a better name for that). The tool doesn't subdivide terraced or semi-detached houses, so the long lines of connected buildings got turned into super-giant monsters instead. The height is calculated by the total area of the building, and multiplied by a factor taken from the wealth and density values, so yeah, big buildings. I was surprised that it generated anything, tbh. I thought those would break it completely.

The upshot of all this is that I can definitely confirm there will be multiple cities in The Hit. It's a feature I've had in mind since the start (going all the way back to Syndicate, my original inspiration) but wasn't sure until now that I'd be able to deliver. Now I know I can hand-make an entire city in a day, adding new cities will be easy.

Anyway, next step is to add street furniture back in, but I'm going to try and spend the rest of today relaxing with some movies and a copy of GIMP, so I can doodle some more interesting city layouts.
17  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: February 23, 2017, 05:49:27 AM
Hi, Dan here again with another irregular update. I'm working across multiple fronts right now, so here's an update on two separate, but related things.

First is the NPC system. I've had these guys working in the game for a while, but they've been hiding in the background while I get the new city construction system working. That's starting to look pretty solid now, so I figured I'd tidy up the NPCs and get them walking around again.

They're actually using two navigation systems at the moment, a simple one for when they're in the distance, and a more complex one for when they're close. The main difference with the complex one is that it incorporates local avoidance. It's simple enough to work with several hundred NPCs at once, which I'll need if I'm going to simulate a city convincingly, and some of the missions will include some very large crowds (think rallies, demonstrations and riots, as well as concerts and sporting events).


The character generator is due for an overhaul soon, so this is hopefully getting near to the last time I'll be showing off these dudes. The next version will have greater detail, more variety, and more curves (and actually less polygons, 'cause these are really badly optimised).




The other thing I'm working on this week is generating a city from a texture (or rather from a 1m-per-pixel texture and a couple of lower-resolution value maps). The lots and buildings are already created this way, and I'm currently writing functions to create roads and walls, and dynamically place scenery objects based on pixel colour and surrounding pixels. That's going more smoothly than I was expecting, which is a rare treat. Realtime changes to the world, like parking cars or destroying walls, will be immediately echoed to the NPC navigation/interaction map, so you'll soon be seeing NPCs getting in and out of vehicles. I also need to update the vehicles, but that's a job for another day...
18  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: January 18, 2017, 02:06:08 AM
This looks neat! Definitely drawn to the "destructible everything". I like the look too but the shading is bizarre and blob-like -- have you considered just making it flat?

Yes, and it will be. I'm relying on someone else's tangent solver at the moment, which produces nice shading on complex objects, but looks a bit crap on very blocky graphics with lots of 90 degree angles. I will write my own at some point, which isn't even huge task, but I'm actually happy to keep the graphical errors for now. I've still got a lot of detail to go into the game (interiors, multi-layer facades, street furniture, signs, trees, pedestrians etc.), which will change how things look dramatically. If I get too attached to a particular style now, then I'll just get in my own way later, when things start looking very different to how I expect them to.

Don't worry, when I do get around to improving the graphics, I'll throw every shader and effect I've got at the game. I'm even planning to randomise these to create dozens of different 'look & feel' variants, and narrow it down to whatever works best, from both a visual and gameplay perspective.


For now, the interior mock-ups are probably closest to the level of detail I'm aiming for. More than this will depend on when I can get my poster generator working, and what effect on frame-rate it has when I start adding posters and litter.
19  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: January 17, 2017, 02:21:40 PM
Building interiors are getting there. They're still in need of some refinement, but I'm pleased that they don't cause any noticeable drop in frame-rate, even on my under-powered laptop. I'll switch my desktop on tomorrow and try to capture a better video.

I'll need to rewrite a couple of systems slightly, in order to get them working 100%, but I'm not expecting that to take more than a couple of days. If that's the case, I'll be on course for uploading a new build to itch.io this weekend. After that, I'll switch gears again so I can focus more on gameplay and AI, and hopefully have a gameplay video ready for you soon.


I was one of the backers when The Hit was on Kickstarter, it sucks that it didn't make it. But this is looking wonderful, even better than before. Keep it up!
Hey, Pineapple! Glad you're still here. I'm not sorry the Kickstarter failed. That game was a compromise, when I'd decided to rush out a simplified version, and gradually rewrite it into what you're starting to see here. Starting again has been stressful, but beneficial, and this one will definitely end up being a better game.

Wow this is awesome. Don't know how I'm just seeing it for the first time. Definitely following this  Beer!

Cheers! I am seriously lousy at promoting my stuff; I tend to just hide away in my dev-cave and tweet occasionally. I'm trying to my 2017 my year of frequent updates though, so you found me at the right time.
20  Community / DevLogs / Re: The Hit - Contract-killing and dynamic narrative in a procedural city on: January 14, 2017, 02:03:54 PM
Some bug-chasing aside, building interiors are coming along nicely. Like the lots, they're based on 2D maps for ease of creating and editing. Each building has space for four floor layouts at the moment, though these can be duplicated (and I may end up adding more). I'll probably use these for lobby, upper floors, penthouse and basement. I'll also be adding randomisation and persistence, so every room in the city should be unique, to some extent.

Walls are next, though I'm probably going to have to rewrite the facade generation system slightly to account for interiors, so I'm hoping to have those done by next weekend. I'll try to get a new build online when I do. I'll be shifting my focus after that to pedestrians, AI and the interaction system.


in-game shot of a building with interior floors and ceilings (but no walls yet). Colours are temporary.


Video taken from the building/lot editor, which is now accessible from the main menu.


I ran up against Unity's vertex limit yesterday, so this is a (partially) new city generator. The city is now divided into 64x64 meter chunks, which seems to work well enough for now.
Pages: [1] 2 3 ... 5
Theme orange-lt created by panic