View Full Version : My AI have difficulty using some weapons (running in place)
CodeBrain
September 28th, 2008, 12:12 PM
I tried giving my AI some weapons, including:
Pistol
Rocket Lawnchair (lol, couldnt resist)
Spartan Laser (That I made)
And a few others. But all they do when they spawn, is run in place. They dont move anywhere, they dont shoot, but they look. Can anyone explain whats going on?
Dwood
September 28th, 2008, 09:17 PM
What's the script you are using, if any?
CodeBrain
September 29th, 2008, 08:06 AM
The map I was testing in was a30, so its using the normal a30 scripts. Non-edited.
teh lag
September 29th, 2008, 03:15 PM
What biped are you using? I know that incoreectly exported animations on bipeds cause that to happen. Though, that would only apply to custom ones.
DarkHalo003
September 29th, 2008, 09:42 PM
I can remember testing an AI that when the Phantom deployed it with the destroyable energy sword, the energy sword detonated in its hand and he just meleed with his fist. It was very weird. Could the weapon animations hamper the movement of the biped? Did you make any modifications to the movement of the biped when using that certain weapon?
CodeBrain
September 30th, 2008, 03:46 PM
What biped are you using? I know that incoreectly exported animations on bipeds cause that to happen. Though, that would only apply to custom ones.
I can remember testing an AI that when the Phantom deployed it with the destroyable energy sword, the energy sword detonated in its hand and he just meleed with his fist. It was very weird. Could the weapon animations hamper the movement of the biped? Did you make any modifications to the movement of the biped when using that certain weapon?
@laggy: I tried using the cyborg biped, cyborg_mp biped, and the marines biped (both normal and armored.) They all just run in place. The only way to fix that was to change the weapon label on the weapon. This was done in DMT-Silent Photagrapher map, to make the marines able to hold rocket launchers. However, they looked weird holding it the way he had it.
@Dark: I havent edited anything in any of the bipeds, but the only thing I did was trying to make them change color. (Only the cyborgs.)
DarkHalo003
September 30th, 2008, 10:30 PM
Well, to help the best I can, for having the Marines hold rockets AND move around I just made an extra copy of the Rocket Launcher and gave it the animation thing of the PR (where it says what animation type in that box that you type in two letters). Other than that, I'm not sure. Could collision geometry (this is a complete guess that I am making and in no sense should anyone be bashing me for it if it sounds stupid) be causing the marines not to move forward, such as the weapons not animating with them? Reason saying this is that I use ODSTs without collision geometry and those are the only marines I have given RLs and FRs. Just thought I'd throw this potentially out there.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.