Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » AI using melee attacks
AI using melee attacks [message #304017] Tue, 18 December 2007 12:21 Go to previous message
GEORGE ZIMMER is currently offline  GEORGE ZIMMER
Messages: 2605
Registered: March 2006
Karma:
General (2 Stars)
Alright, so I'm sort of working on a mod in somewhat-sort of-not-really-secrecy, and there's some melee weapons and some bots.

Thing is, the bots are incredibly retarded and never use the melee attacks right. I basically made a modified version of the Melee_AI weapon and made it stronger. Even made it have a spread fire so it'd have more of a chance to hit. However, the AI is still really stupid with it.

They'd run up close to me, then just stop for a bit, then attack. Problem is, the attack [I]almost never hits.[I] The only time it DOES hit is maybe if I'm moving or I'm at a position that's not directly in front of them. I want it so if you're in range of their melee attack (AKA, right next to them), you're pretty much screwed.

Short version: Any scripts to make AI less dumb with melee attacks/A script to make them pretty much never miss with their weapon?

(I'm probably just being stupid and there's a really simple solution to getting it work.)


Toggle Spoiler
 
Read Message
Read Message
Previous Topic: anime hude ^_^
Next Topic: Few questions
Goto Forum:
  


Current Time: Sun Dec 01 22:40:18 MST 2024

Total time taken to generate the page: 0.00965 seconds