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. Dismiss Notice

advanced system for weapon/armor/combat system

Discussion in 'Scripting' started by Omega8524, May 3, 2020.

  1. Omega8524

    Omega8524

    Joined:
    Aug 26, 2019
    Posts:
    8
    Hello,

    I am a very beginner and my question is more to know if my idea is possible with unity(its possible with rpgmaker series) more than how to do it.I am building a open world rpg (2D top down) with based-turn combat.

    I want to create weapon wich can have 4 different rarity by droping or crafting(ex 4 % chance to craft a legendary,20% chance to craft a rare etc),there will be magical and runic version of these weapon wich can be crafted aswell.

    -Also i assume its possible with some coding(im a rookie) to affect elemental damage and resistance to weapon,skills and armor?

    And last question is it possible to make my almost full rpg in based-turn combat, some battle with a tactical interface(like final fantasy tactics for example) and some combat like a duel with specific command(like suikoden 2)?

    Thanks for your future answers ^^
     
  2. Zalosath

    Zalosath

    Joined:
    Sep 13, 2014
    Posts:
    671
    All of what you said is possible.
    For the weapons, you can have a struct to hold the data about a certain weapon, then, when you "spawn" the weapon, give it a random rarity name which will adjust the stats of the weapon based on some kind of multiplier that each weapon will have, or give it special effects based on rarity. Whatever you choose.

    For the elemental damage and resistance, yes this is possible too. Create an enum that holds element types, have a weapon have a certain elemental damage, and armour can have elemental resistance. If the elemental damage matches the elemental resistance then deal less damage, if they don't match, deal more damage. Etc...

    Yes. You can make a turn based RPG system.
     
  3. Omega8524

    Omega8524

    Joined:
    Aug 26, 2019
    Posts:
    8
    Thank for the answers craftcreeper,will try to find find some tutorial on it^^
    But for the last part , the question was :in this game can i mix turn-based combat+tactical combat+duel combat(almost like turn based but with different skill?
     
  4. Zalosath

    Zalosath

    Joined:
    Sep 13, 2014
    Posts:
    671
    I don't see why not. If you can find a way to implement such a system then go right ahead. Unity is *limitless.