Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (PeroPero, 1 invisible), 858 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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