Search Unity

Assets Renegade Project [DriverN Shooter system]

Discussion in 'Works In Progress' started by dibdab, Aug 4, 2017.

  1. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    experimenting with something similar to IK
    drag.gif

    to be used for hit reaction
    hitd.gif
     
  2. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    probably will call it fixerLookAt
    fixlookat2.gif
    fixlookat3.gif
    changing the percentage of upperarm
    fixlookat4.gif
     
  3. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    also integrating community ocean
    but it is 4 times the unity standard scale
    and seems it doesn't work right with other scales

    so had to make Renegade resizeable
    sc4.gif

    little adjusted values and could raise boat mass to 20
    and it could carry objects with low mass
    in fact the boat doesn't like kinematic
    man4.gif
     
  4. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    Last edited: Jul 9, 2019
  5. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    adding ikccd
    ikccd.gif

    because spine ik effects hand ik
    so had to make separate script
    and in script execution order
    make sure hands ik come after spine
    ikccd2.gif
    also works without animation
     
  6. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    Last edited: Jul 12, 2019
  7. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    tried to achieve this with ik, but was problematic
    then thought I can simply set to same rotation
    and weight it with slerp

    copying ragdoll
    while using animator
    copyragdoll1.gif
     
  8. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    ragdoll copy contd
    copyragdoll2.gif copyragdoll3.gif
    not yet integrated, just test demo
     
  9. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    and addin this trajectory prediction by Konstantinos Benos

    with a bit of modif could predict realtime rigidbody trajectory
    plan to use it for avoid and futureanimstate
    traject1.gif
     
  10. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    after a lot of trials and errors
    still there's more test to use IK for upperbody
     
  11. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    now the anchor point is left shoulder (not the hip)
    so can play animation on it
    the hand is ccd by James B of Unity
    looking for other ik solution for proper rotation

    copyragdollN3.gif
    (this is rollin animation)
     
    Last edited: Jul 23, 2019
  12. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    adding force to ragdoll
    copyragdollN3F.gif
     
  13. Battlegun

    Battlegun

    Joined:
    Jun 21, 2018
    Posts:
    35
    Awesome work. Nice job on the animations!
     
  14. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    Last edited: Jul 25, 2019
  15. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    added a behaviour-tree decision engine

    it has nodes which are true or false
    and the end node is the result sent to bhvControl
    every data is converted to float (which can be equal, less, greater)

    it is flexible and extendable
    and the best thing, it can have more results
    Clipboard01.jpg Clipboard02.jpg
     
  16. RowdyCoder

    RowdyCoder

    Joined:
    Jun 24, 2015
    Posts:
    26
    This is awesome. Good stuff. Keep it going :)
     
    dibdab likes this.
  17. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    finalizing raycast control
    Clipboard01.jpg
    Clipboard02.jpg
    there's at least 3 more missing yet for heights
     
  18. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    ren1.gif
    renegade_rawrenegades.png
     
    Last edited: Aug 2, 2019
  19. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    the story goes like this: he had a friend who was part of a gang and got clipped. he goes on to revenge him and after a rampage he causes on the rival gang, he realizes, it's his life (which he avenges).

    the Renegade series
    : Seaside Nights (the ways of the hero)
    : Cruisin the Town before Dawn (the birth of a legend)
    : Racer Heists
    : the Stunts

    the gang he attacks works with money machines, the gang of "his friend" is a local gang of marines. some from the legiones, some from the secret police, but all they do is harass businessmen out of money. this money ends up in gambling sites. the gambling sites get pressured of of money... things escalate. get into a turmoil when Renegade meets with his destiny

    he's the younger one, his friend is the older. he's a good card player, but sometimes looses. his co-players don't like if he runs into debts. because he's a big talker too, he likes to exxagarate, especially when he's drunk. so he gets notices, and his boys in the gang also are on edge, so things escalate and the young quiet boy realizes, his friend was a mean kill machine like he

    this big talker hustler once ridin around his car, at four after all shops closed, sees the rival gang gettin ready to retaliate. this big talker gets curious, rings up his boys sleepy and hazy to end up video gaming and get the gears up, the rides up and the guards up, and do the first move before things escalate...

    while killing off the vice executive of a money firm, the gang gets a note, that the gambling site is about to be raided next day. the wind got out of the police hq, and it all adds up. like fuel to flames in a case of money dealer's call from the office, that his supervisor is being killed off. so what looked like a good idea to go to the guy that owes him from the card party, which was not...


    Alec, I love that Pivotal Moment theme!
    it reminds me of Hakuryu's movies. japanese v-cinema, the best pictures.
     
    Last edited: Aug 2, 2019
  20. Bonzotaz1

    Bonzotaz1

    Joined:
    Apr 12, 2014
    Posts:
    54
    Can I just ask is this system meant to help you make something like gta? Sorry for the noob question but I’m really interested in purchasing
     
  21. unfinishedstudios

    unfinishedstudios

    Joined:
    Aug 21, 2019
    Posts:
    5
    Hey, i just saw this post and as a fellow developer trying to make assets, i think you should work a bit more on how your post looks, text and all! But cool work on the asset itself!
     
  22. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    thanks.
    Bonzotaz1, yeah that's what the objective is more less.
    the scripting is simple and there's no editor scripting, virtual voids and things like that, so I guess it's easy to extend and modify,
    but depending on what you want, there's quite a lot of things in wip stage yet.

    I'd advise waiting two more updates, maybe at version 0.97-0.98 things will settle. (now is 0.94)
     
  23. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    wip cover system (it doesn't use tags, detects multiple cover spots)

    yellow ray : closest detected enemy
    green : closest cover
    white spheres : high and low cover
    white eggs : cover spots
    purple ring : closest spot
    raycast01.gif raycast02s.gif
    coverspots.gif coverspots3.gif
    when going for cover, aiWalker takes over and goes for the closest spot
    because there's more possible spots, might select another (based on enemy positions, or some other logic)
     
    Last edited: Aug 23, 2019
  24. Bonzotaz1

    Bonzotaz1

    Joined:
    Apr 12, 2014
    Posts:
    54
    Alright cool thanks! Just wanted to ask maybe it’s just me but why does the demos have like different cameras and also maybe me but button inputs to play are weird? But I presume there is a reason behind why you have it like that
     
  25. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    what do you mean? which one?

    they are usually in the Keys class (here Ins in Renegade.cs)
    Clipboard03.jpg

    the cameras are the same I guess with different settings
     
  26. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    ...
     
    Last edited: Aug 28, 2019
  27. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    first tests of the ragCopy feature integration in Renegade
    ragc2.gif
    continuous ray target + hand adjustment offset
    ragc4.gif
    angular velocity transfer on ragdoll switched off
    + ragCopy (w delay)
    ragc7.gif
     
    Last edited: Aug 29, 2019
  28. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    fingers can be set and play set poses
    fingers.gif
     
  29. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    ragCopy can do partial ragdoll
    partialragd.gif
    now two handed jump, grab and animated left leg
    the last uploaded version had some issues w ragCopy
    I'll upload fixed soon
    copyragdollN5.gif
     
  30. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    used the same method for upBody as the Fingers
    can record and play poses
    upbody.gif
    it's a nice way to have another anim system to switch on when needed
    to go into defense, reach etc...
     
  31. matidzeramz

    matidzeramz

    Joined:
    Oct 5, 2016
    Posts:
    4
    your asset is the bomb, gta for android or gangster,top stuff
     
  32. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    :) thanks

    if you have questions, want to know how some things work, ask
     
    matidzeramz likes this.
  33. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    828
    added sequencing to upperbody moves
    upbodyseq3.gif
    it can filter which limb is being used
    upbodyseq3b.gif
    I'm redoing the fightMechanics so it knows which limb does what
    since the leftHand can be in defense while the rightHand is attacking
    (it was universal before like: left punch [attack type and side])
    plan to do it with animation events
    and for this upBody player this complicates things (since it's not an anim clip)