Avoiding moving entities

Posted By: rincewind

Avoiding moving entities - 02/02/09 15:52

Hey George,
I was reading issue 57 of the AUMs and I was really interested in the way you managed to make the AI avoid level geometery. I was wondering how could I modify the code so that it would detect other entities? I look at c_content and it seems to only work for "map entities" and not other entities. Does this mean it wont pick up other AI bots? If so how could we fix this? Would it be possible for maybe you to include some talk on avoiding other entities in one of your up coming AUMs?

Best regards
Rincewind
Posted By: George

Re: Avoiding moving entities - 02/03/09 08:06

You can use c_scan to detect other models and have your characters avoid them. The best way is to use nodes (predefined or not) in order to get the path to the destination and c_scan for small areas with problems (characters that get in the way, etc).
© 2024 lite-C Forums