Hi so I managed to figure out how to add all the same kinds of weapons from the deathmatch ai kit to my ai (the pistol, assault rifle, and rocket launcher). I figured I could do the same thing with the other ultimate character controller weapons. I tried to do this with the Sniper Rifle and Shotgun but neither or them work, and the ai does the same thing as you can see below:
Sniper AI:
Shotgun AI:
I'm not really sure what's wrong. I've followed the same exact process as the other weapons. The weapons have the appropriate animators on them. I used the animator slot 0 ID of the sniper as 5, and shotgun 3. I made sure their transform values matched correctly. The AI has the weapon and ammo in the inventory, default loadout, and as an available weapon in the DeathMatch Agent component.
The only warning I get says the weapon can't be fired cause the look sensitivity, but I figure that's expected because the weapon never points in the direction they would shoot at.
Is there anything I'm missing that I have to do to add a new weapon to the Deathmatch AI? I do realize it's probably not a coincidence that I was able to add the AR, Pistol, and Rocket Launcher successfully and those all happen to be weapons the default deathmatch AI uses.
any help is appreciated
Sniper AI:
Shotgun AI:
I'm not really sure what's wrong. I've followed the same exact process as the other weapons. The weapons have the appropriate animators on them. I used the animator slot 0 ID of the sniper as 5, and shotgun 3. I made sure their transform values matched correctly. The AI has the weapon and ammo in the inventory, default loadout, and as an available weapon in the DeathMatch Agent component.
The only warning I get says the weapon can't be fired cause the look sensitivity, but I figure that's expected because the weapon never points in the direction they would shoot at.
Is there anything I'm missing that I have to do to add a new weapon to the Deathmatch AI? I do realize it's probably not a coincidence that I was able to add the AR, Pistol, and Rocket Launcher successfully and those all happen to be weapons the default deathmatch AI uses.
any help is appreciated