After committing to real-world sourced level geometry (for reference use, final game art will be modeled by hand and look as outlined in the art style guide) I realized that it will take for ever for the player to go from place to place. An open world game will be full of vast empty areas you need to cross to get from a place of interest to a place of interest. So a fast travel mechanism is required. I did not want to do a fade-to-black-teleport type of travel, so I figured I will give the player character a car!
You will not be able to drive the car freely, as I do not want to take into account you crashing into the sea, or into a forklift, or disrupting the flow of the game with other reckless car antics. So, the way the car will work in the game is like a taxi, you get in there, select a point of interest from the map and the car will take you there by itself and park nearby. Then you are free to leave the car and explore the location by foot.
I think that this will be a fun little mechanic. Also, it allows me to hint at future locations and stuff that you will pass by when traveling with the car.
The car asset I chose did not function 100% like I needed it to: it made the car drive along a looping curve and it does not support turning the car on / off. These features I needed to implement myself.
Naturally now that I have one car, I need more cars! Puzzles with cars, NPC characters with cars! CARS!
I am not sure if the car will teleport to the parking lot of the location you are currently at. Or do you need to walk to the car if you move to a different location by foot? Maybe it will be just fine to have a teleporting car?
Tell me what do you think?
Car has been updated to work with user input. At the moment it only drives from one parking lot to another. But eventually you will be presented with a map screen on car enter from where you can choose your desired location.
-Physics based AI driven car
-Car will follow a set path
-Path can be changed on demand
-Physics get turned off when the car is parked
-Player can examine the car
-Player can enter the car
-Player will automatically exit the car when it arrives at the destination
-Car will always teleport to a nearby parking lot when going around the world by foot
-Car will display dialogue spoken in the car
-Car can do a 3-point turn
-The car speed can be controlled by the path curve
Fresh screenshots of the second update to the game hero car. I also captured the car in-game and the AI crashed whthe car while filming. A lovely little thing! I added all the missing bits and bobs to the car: door handles, front bumper detail, front licence plate and fixed the overall shape of the car front to better match […]
This week I spent a few evenings working on the car 3D model. I already knew I wanted the car to be a Chevrolet Caprice from 1987. This would be an accurate car for a detective in New York in the year 1991.
I spent some time refactoring the project to be cross compatible across a maximum number of devices. I had to change from High Definition Render Pipeline to Universal Render Pipeline.
Working on the car AI has been more enjoyable than I thought. I was driving in my car today and could not stop thinking about how the car in my game needs to “think” in order to get from place to another faster.