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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

super hard and awesome combat system (Sunset Overdrive)

Discussion in 'Scripting' started by frozendog_bren, Nov 29, 2014.

  1. frozendog_bren

    frozendog_bren

    Joined:
    Nov 29, 2014
    Posts:
    19
    What is up guys! I'm new at programming and man... this is a hard one.

    I was praticing and trying to create a combat system (a bit) like this:

    (BRKsEDU playing Sunset Overdrive by Insomniac Games, 2014)

    In this short video i edited and uploaded, you can notice that, when the player press the melee attack button, the player character gets - almost instantly - close to the enemy and also push him backwards. There's a target locking and target selecting system (based on the direction, i guess) aswell. I spent some days trying to reach that, but i got lost and failed so hard. (I know it's not that simple, but anyways...)

    All i've done nicely 'til now was the player character getting the enemy position (transform.position = target.transform.position), and i don't even know if that's the best way to do that. So, it's missing the rotation towards the enemy, the pushing action and that target stuff.

    Finally, if you ladies, gentlemen and capitains could help giving me some ideas, i would thank you a lot!!!!1111

    Thank you for the attention.
    Bren.
     
    Last edited: Nov 30, 2014
  2. OpticalOverride

    OpticalOverride

    Joined:
    Jan 13, 2013
    Posts:
    161
  3. frozendog_bren

    frozendog_bren

    Joined:
    Nov 29, 2014
    Posts:
    19