Need advice on getting AI to fire custom weapons -1 reply

Please wait...

Tanelorn

DC Dev

50 XP

17th March 2004

0 Uploads

55 Posts

0 Threads

#1 8 years ago

Hi all. I know BF1942 is way old now, but I'd really like to convert my mod: Desert Combat Realism to be co-op compatible.

One of my biggest problems is that the AI bots are not using their weapons. They stand facing eachother and do nothing. A few weapons seem to be valid, like the rocket launchers. But most must have something wrong with the AI, where the AI doesn't realize it can shoot!

For example, the basic M16. The AI ignores it. Yet, in the M16 code is the line: objectTemplate.aiTemplate M16AI

This refers to a defined AI profile, which is not in my mod but is in the parent mod: Desert Combat. Yet even with this defined, the AI isn't shooting their M16s.

If I can figure out how to get the AI to fire all the weapons in the game, the coop for DCR will have improved alot. Does anyone here have any experience with this, or know someone who may?