Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[WIP] Open-world driving sim

Discussion in 'Works In Progress - Archive' started by Soul-Challenger, Oct 1, 2014.

  1. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    453
    I really love your game, I prefer your game to my game ProjectR.
    Everything are fantastics, fun to drive, beautifull.
    For the physics you use Wheel colloder, MagicFormula?
     
  2. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    He used CarX.

    By the way, fantastic ambience!
     
  3. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Thanks! For the physics I use CarX, which sadly isn't sold anymore. I'm sure it would work with custom or any other car physics package as long as you implement a counter-steering response. CarX has a IMHO one of the best tire simulation formulas.

    Thank you emergki! Most of the models are still place-holders but it's slowly getting there, atmosphere-wise. Really happy with the graphic improvements in Unity5 and the half-reduced GI baking times in 5.3 too.
     
    emergki likes this.
  4. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    How you did the road shader?
     
  5. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    It's just the "Standard(specular setup)" shader. The alpha channel of the specular texture is important. You can check the attached "diff" and "spec" files if you wish. The normal map is just the "diff" texture with "create from greyscale, bumpiness: 0.039, filtering: smooth.
    + I'm using unity's SSSR: http://forum.unity3d.com/threads/cinematic-image-effects-pre-release-package.372562/
     

    Attached Files:

  6. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Hey my Friend! Thank you!!!
    So the reflection is made by the SSSR.. Very cool my friend! Thank you!
     
  7. IAmCraigSnedeker

    IAmCraigSnedeker

    Joined:
    Jul 20, 2014
    Posts:
    117
    This game looks so freaking good. I need to play this asap haha.
     
  8. JaredMerritt

    JaredMerritt

    Joined:
    Oct 8, 2012
    Posts:
    53
    Hey, if you need anyone to work on this I'm available. Hit me up ASAP!

    I can do 3D, C# whatever you need ;)
     
  9. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    ;)How to stop a car:

    PIT n' push

    side ram

    block


     
    Last edited: Nov 5, 2016
    Mister-D, emergki, kittik and 2 others like this.
  10. Cartoon-Mania

    Cartoon-Mania

    Joined:
    Mar 23, 2015
    Posts:
    320
    really cool.. is this game? or asset?
     
  11. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    :) Well, there will be a playable demo! (cause, no demo, no crowdfunding). Just not sure if I'm capable of delivering it alone. I'm a one man band and I have no prior programming knowledge. It's already a F***ing miracle I've managed to get this far :eek:

    Thanks! I do probably need a programmer but in the city I live in right now, which is Munich, unfortunately.

    It's a game - although for the past years I've worked almost exclusively on the driving stuff.
     
    theANMATOR2b likes this.
  12. Fissll

    Fissll

    Joined:
    Jan 30, 2015
    Posts:
    70
    This game looks amazing.
    Your style (game and short film) kinda reminds me of Silent Hill ^^.
     
  13. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Thank you :) It's funny many people mention Silent Hill in reference to my work. I've never played it, just know it's foggy and there's some weird creatures. Maybe I should give it a try.

    It's been first mentioned regarding this animation i did back in 2006:

     
    Mister-D likes this.
  14. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Hey!, Maybe I can help you on some things, just let me know ;-)
     
  15. StevenPicard

    StevenPicard

    Joined:
    Mar 7, 2016
    Posts:
    855
    Looks awesome!
     
  16. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    This is looking great very atmospheric. Great job Soul-Challenger.
    Is this the AI that controlling the car that is trying to stop the player? Very aggressive AI if so, Excellent work!

    If your not a programmer how the heck are you accomplishing such nice work? Are you using a visual scripting tool or other method?
     
  17. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Thank you very much for you offer Emergki :) but I do need to find a programmer that lives in the same city as I do. I guess I'm an old-fashioned guy - being able to sit face to face to tackle such matters is important to me.

    Thank you!

    Thanks a lot :) Yes it's the car trying to stop the player that is AI. The stopping maneuvers did not take that long to setup. It was the driving behavior which took me "years". I needed the AI to be able to drive better than a very skilled player. A real challenge since this is not a closed track where you could apply an ideal racing line. In addition to that, I wanted the AI to "voluntarily" loose grip as much as possible (power sliding, late braking) to convey that typical cinematic car chase feel. And last but not least, since the beginning, I refrained myself from using any sort of cheating on the physics. Because one of the things I hate most in games is cheating AI (at least in driving games).

    I'm a very stubborn guy ;). Just using C#, and mostly learning by doing. I did buy a book called "programming in C# with Unity" but haven't read it yet. Which is really stupid from me, because often, I did loose an enormous amount of time trying to get something to work while having absolutely no idea what I was doing. In fact I remember beginning to alter some scripts for my needs from the unity car example project back in 2012 and getting errors such as "cannot convert a bool to a float", and I was like: WTF is a bool? WTF is a float? Just a complete idiot wasting endless hours with an absolutely alien language. But I loved it, and yeah, I blame you @Unity !!! :p

    I did have "computer science" class in secondary school where we were supposed to do some stuff using pascal6, if I remember correctly. That was in 94' and I hated it and skipped class mostly and had a very reluctant stance towards programming since then, until I met unity. In the past years I came to realize just how "creative" programming really is. I often do little drawings on paper of the behaviors I'd like to implement and then start writing code. In this case it's mostly about angles, distances, approaching speeds - but above all it's about creating a simplified system that can manage to control a virtual car in the same way a human being would do it.

    And the last thing I would like to point out is: intuition. Sometimes I have a seemingly random idea how to solve a problem and it works!

    Sorry for the long post :D
     
    Last edited: Apr 12, 2016
    emergki and theANMATOR2b like this.
  18. virror

    virror

    Joined:
    Feb 3, 2012
    Posts:
    2,963
    This looks way better than most AAA games out there for sure!
    Will follow this game for sure.
    Btw, what city are you located in?
     
  19. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Totally agree, I hate rubber banding (catch up mechanic) in racing games for AI or the player. I also really dislike how it seems in some racing games the AI seems to be able to get away with more than the player can, skirt the edge closer while traveling faster, avoid the ultimate crash, glitch into a positive outcome. Really isn't fun.

    Keep at it - a demo build horror car chase of the player trying to run from / evade the chasing team of serial killers would be an instant try for me! ;)
     
  20. virror

    virror

    Joined:
    Feb 3, 2012
    Posts:
    2,963
    ^
    This ; )
     
  21. Hormic

    Hormic

    Joined:
    Aug 12, 2014
    Posts:
    251
    Very nicely done!
    It would be fit perfectly after a robbery when you try to escape!
     
  22. Alex_V

    Alex_V

    Joined:
    Jun 25, 2012
    Posts:
    53
    Very impressive driving physics and "feel"!
    BTW sent you a message some time ago, not sure if you got it.
     
  23. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Thanks to all for the great feedback! If anyone has info about a more competent driving AI, please let me know.

    @Alex_V Thanks :) must have missed your PM, sorry. Answered today.
     
  24. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Started to work on the goons locomotion system. Trying to avoid animation clips and just make them move using physics only. For now it's very basic and looks quite retarded, but I thought I'd post anyway, just for laughs :
     
  25. Nition

    Nition

    Joined:
    Jul 4, 2012
    Posts:
    781
    The atmosphere, driving, and vehicle AI in this all look amazing.

    What volumetric lighting are you using at the moment? I saw you post this one, but I also saw you post in this more recent thread.
     
  26. Corradi_Victor

    Corradi_Victor

    Joined:
    Jul 18, 2016
    Posts:
    2
    Very nice project!
     
  27. rbx775

    rbx775

    Joined:
    Aug 16, 2010
    Posts:
    102
    So characteristic and interesting !
    This could even start a new "Horror Racing" genre-mix ;P

    Top notch work.
    about your "guessing game" concerning the yellow or blue car being player-controlled:
    I suspect you to be a bit cheeky here (!) and break the rules by guessing that both are AI- controlled, even !
    Either way - I couldnt really tell, its to well made you beast.
     
  28. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    Thank you :) For now, I'm sticking to my own fake volumetrics, for performance reasons. It's all made with particles.
    Also tried Michal_'s "true volumetric lighting", which looks gorgeous, and now waiting for Unity's own volumetric solution to see how performant it will be.


    Thanks! :)

    Thanks a lot for your feedback :) yeah, definitely some genre-mixing coming up. Yellow car is player-controlled - cool it's hard to tell :p

    ***************************
    Time Rodent, the short animation film, from which this game takes some inspiration, will be broadcasted on Arte this upcoming weekend (+ available for watching for 7 days). World premiere :) :http://www.arte.tv/guide/fr/051125-000-A/time-rodent
     
  29. Sprak

    Sprak

    Joined:
    May 20, 2008
    Posts:
    28
    So pretty. How do you achieve the terrain deformation?
     
  30. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    recently via the ats Colormap Ultra v3 shader which supports tessellation. Previously used to deform the terrain with Get/SetHeights, but that's quite slow and performance is only good on tiny terrain sizes (129 heightmap res).
     
  31. Soul-Challenger

    Soul-Challenger

    Joined:
    Dec 30, 2010
    Posts:
    152
    :(Unfortunately, I can't seem to be able to link to gifs on imgur here anymore... :(

    Here are some more recent videos:







     
  32. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    421
    Hi @Soul_Challenger, any updates on this awesome game? Would like to check how the things are going on the project :).
     
    StevenPicard likes this.