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

[Released] Deathmatch AI Kit

Discussion in 'Assets and Asset Store' started by opsive, Aug 24, 2016.

  1. pascalenos

    pascalenos

    Joined:
    Mar 28, 2019
    Posts:
    10
    Hi, i have some issues, when isntalled everything:



    Assets\Opsive\DeathmatchAIKit\Demo\Scripts\UI\ItemWheelMonitor.cs(28,17): error CS0246: The type or namespace name 'PlayerInput' could not be found (are you missing a using directive or an assembly reference?

    Assets\Opsive\DeathmatchAIKit\Demo\Scripts\UI\ItemWheelMonitor.cs(9,46): error CS0234: The type or namespace name 'Input' does not exist in the namespace 'Opsive.UltimateCharacterController' (are you missing an assembly reference?)
     
    Last edited: Sep 18, 2021
  2. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    I've responded to you on the opsive forum :)
     
  3. seemebro

    seemebro

    Joined:
    Nov 27, 2021
    Posts:
    1
    I purchased the Deathmatch AI Kit, but the error(24) displayed and I cannot use it.

    Owned assets
    Behavior Designer
    Behavior Designer Movement
    Ultimate Character Controller
    Deathmatch AI Kit


    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(190,30): error CS0115: 'TryThrowGrenade.OnBehaviorComplete()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(164,30): error CS0115: 'TryThrowGrenade.OnEnd()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(64,36): error CS0115: 'TryThrowGrenade.OnUpdate()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(49,30): error CS0115: 'TryThrowGrenade.OnAwake()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(25,36): error CS0246: The type or namespace name 'StartStopUse' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/DetermineWeapon.cs(46,10): error CS0246: The type or namespace name 'ItemSetCategoryDrawer' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/DetermineWeapon.cs(46,10): error CS0246: The type or namespace name 'ItemSetCategoryDrawerAttribute' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/SearchForAmmo.cs(29,28): error CS0246: The type or namespace name 'SharedItemDefinitionBase' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/SearchForAmmo.cs(25,53): error CS0246: The type or namespace name 'SharedItemDefinitionBase' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs(207,33): error CS0115: 'DeathmatchAgent.Awake()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Conditions/Attack/IsNearAmmo.cs(32,53): error CS0246: The type or namespace name 'SharedItemDefinitionBase' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs(25,36): error CS0246: The type or namespace name 'BehaviorTreeAgent' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/Attack.cs(129,30): error CS0115: 'Attack.OnReset()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/Attack.cs(52,36): error CS0115: 'Attack.OnUpdate()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/Attack.cs(41,30): error CS0115: 'Attack.OnAwake()': no suitable method found to override

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Conditions/Attack/IsAmmoLow.cs(30,53): error CS0246: The type or namespace name 'SharedItemDefinitionBase' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/Attack.cs(25,27): error CS0246: The type or namespace name 'StartStopUse' could not be found (are you missing a using directive or an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Conditions/Attack/IsNearAmmo.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Conditions/Attack/IsAmmoLow.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/TryThrowGrenade.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/SearchForAmmo.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/DetermineWeapon.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/Attack.cs(11,42): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime.Tasks' (are you missing an assembly reference?)

    Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs(10,36): error CS0234: The type or namespace name 'UltimateCharacterController' does not exist in the namespace 'BehaviorDesigner.Runtime' (are you missing an assembly reference?)
     
    Foxcun likes this.
  4. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    Hello,

    For support please post on the forum at https://opsive.com/forum. This allows us to track each request better and also has a search to make it easier to find previously asked questions.

    Justin
     
    AdamGoodrich likes this.
  5. John_Avataris

    John_Avataris

    Joined:
    Jan 26, 2022
    Posts:
    1
    Hi
    We want to find out about the following below:
    Does the package work over network or do you have a backend server that runs along with the package?
    I want to connect the package to our Pun2 server so I'm trying to find out what currently available in terms of networking/multiplayer.
    We have the game installed but there seems to be no networking; also on the online documentation, I have not seen any info regarding networking/multiplayer.
     
  6. AdamGoodrich

    AdamGoodrich

    Joined:
    Feb 12, 2013
    Posts:
    3,777
    The author gives you a link in the post above yours as to where you can go to ask questions.
     
    opsive likes this.
  7. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
  8. christopherthomas4673

    christopherthomas4673

    Joined:
    Sep 3, 2019
    Posts:
    5
    Hello where you we update DeathMatch AI to version 3 if we purchased version 2 via your website not the unity asset store, i have been all over downloads on your site twice and deathmatch ai is no where up there. I purchased behavior designer, movement pack and deathmatch ai all off your site and im almost tempted to just buy it again on unity site as upgrading them are such a pain, compared to just hitting update in the package manager for asset store bought stuff.
     
  9. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    The website has been updated for version 3 so you should be good to go :) When you download the deathmatch package it'll be the most recent version.
     
  10. christopherthomas4673

    christopherthomas4673

    Joined:
    Sep 3, 2019
    Posts:
    5
    Ahh Noted! Thanks for the quick reply and excellent product! Curious though, is there any reason with Deathmatch AI doesnt appear under downloads with everything else? The only way i can re download it is to go to my account and purchases etc, doesnt show up under downloads for me but i bought it from your store.
     
    opsive likes this.
  11. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    Which downloads page are you referring to? On the Opsive Store the only way to get to the purchase is to go to your account.
     
  12. christopherthomas4673

    christopherthomas4673

    Joined:
    Sep 3, 2019
    Posts:
    5
    Downloads at the bottom in the footer, then i have to put in the unity invoice number or Opsive's, then it has all the downloads(behavior designer, etc) but i dont see deathmatch ai in these, but when i review my purchases and reciept(on another page) there is a link for each asset that i purchased on your store and i have the option to redownload from here via link. I'm just asking how come deathmatch ai is not on the page with all the other downloads or are those just "Integrations" if so its a tad misleading as it says "Downloads".
     
  13. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    When I click downloads in the footer it brings me to:

    https://opsive.com/downloads/

    On this page you aren't able to download the full asset. These are just sample projects, integrations, demo assets, etc. There are integration downloads for our assets on that page (such as Behavior Designer or the Ultimate Character Controller) so that may be what you are seeing.
     
  14. christopherthomas4673

    christopherthomas4673

    Joined:
    Sep 3, 2019
    Posts:
    5
    Ok i see, yep its what i thought, small suggestion, "Integration Downloads" or something to that effect. Small change but helps noobs like me haha. Also too what about version numbers next to the downloads in the future possibly so i know what version I'm downloading, no way to know if it's the newest version or not, as it looks the same as when i first downloaded. just says DeathMatchAIKit.unitypackage. Thanks for all the help, my apologies!
     
    opsive likes this.
  15. christopherthomas4673

    christopherthomas4673

    Joined:
    Sep 3, 2019
    Posts:
    5
    Hey not sure if this is the right place for this or if this is even the right format but i figured you should know, i have downloaded the latest behavior designer and the behavior designer movement pack and i get this console error when i attempt to install DeathMatchAI

    Assets\Opsive\DeathmatchAKKit\Scripts\AI\DeathmatchAgent.cs(145,81):error CS1061: 'ShootableAction' does not contain a definition for 'AmmoRemainingCount' and no accessible extension method 'AmmoItemDefinition' accepting a first argument of type 'ShootableAmmoModule' could be found (are you missing a using directive or assembly reference?)

    Then i got to line 145 and 81 and this is what the code reads

    return shootableAction.ClipRemainingCount + shootableAction.AmmoRemainingCount;

    and 81 is

    if (!(itemActions[j] is UsableAction)) {
     
  16. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    It looks like you are running a version that is not compatible with the most recent Deathmatch AI Kit. Make sure you are running version 3.0.5 of the controller. For further support if you can post on https://opsive.com/forum that would be great.
     
  17. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,093
    Version 3.0.1 of the Deathmatch AI Kit has been released. You can see what has changed on this page.