Invector tutorial/integration

Forums 💬 NodeCanvas ⚙️ Support Invector tutorial/integration

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16920
    cheesee09
    Participant

      Hi can you do a tutorial or integration for inventor TPC on how the enemy ai can send damage to player using nodecanvas?

      #16922
      Gavalakis
      Keymaster

        Hello,

        To be honest, I have never used invector TPC, since I’ve used ootis Motion Controler personaly in the past (for which and integration does exist). An integration with invector’s TPC though, is certainly something I could look at creating if a few more requests about that take place.

        With that said, what you want to achieve might already be possible without an integration.
        If invector TPC component has some kind of function or property for the player to take damage for example, then what you want to achieve should already be possible by using the “Script Control” categorized NodeCanvas actions, which are able to get/set properties or execute functions on any component. Considering this is true for TPC (speaking out of my imagination since I do not have the asset), what you will need to do is something like this:

        1) Open up “Tools/ParadoxNotion/NodeCanvas/Preferred Types Editor” window (from the top Unity menu bar).
        2) In that window, click “Add New Type” and search for the name of the invector TPC component (like for example “Third Person Controller” or similar). This will make that component “visible” to NodeCanvas menus.
        3) Add the “Script Control/Execute Function” action in some node as required.
        4) In that “Execute Function” action inspector, hit the “Select Method” button. This will bring up a menu for you to select a method/function to call categorized by type. Within that menu, find the type “Third Person Controller” (or however the component is called) and in it’s submenus, you will be able to find all methods/functions possible to call from NodeCanvas. There might be a good chance for a function similar to “Take Damage” to exist in there, which is what you want 🙂

        Once again, I do not own invector TPC and as such, the above steps might not be true, but they still illustrate how you would go about calling a function on any component from within NodeCanvas.

        Let me know if that works for you.
        Thank you.

        #16921
        cheesee09
        Participant

          Thanks for the reply but i am new to scripting. I can send you a copy of the invector(shooter 1.2.3 not latest but the one im using) package to help with the integration and i also hope you could make a video tutorial on how to setup node canvas ai with animations, changing state because the one that i follow on youtube did not finish the tutorial for it.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.