Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Avoiding moving entities #249434
02/02/09 15:52
02/02/09 15:52
Joined: Nov 2004
Posts: 1,083
Germany
rincewind Offline OP
Serious User
rincewind  Offline OP
Serious User

Joined: Nov 2004
Posts: 1,083
Germany
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

Last edited by rincewind; 02/02/09 15:53.

Born for runes
Re: Avoiding moving entities [Re: rincewind] #249534
02/03/09 08:06
02/03/09 08:06
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
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).


Moderated by  George 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1