Artificial intellect

For questions about using Classic.

Post » Wed Aug 26, 2009 6:10 pm

Hi all. Can u help me create Enemy Artificial intellect like crimson land?

I use RTS and Line Of Sight Beveariors.
RTS
Always Enemy move to player When enemy Hos LOS Player

But If you run around enemies, they begin to assembled crowd.
In this case, they killed one hit.
But I need that they would not gather in groups
And tried to circumvent the enemy on the pre-emption.

how to do it?
B
2
G
3
Posts: 23
Reputation: 896

Post » Wed Aug 26, 2009 7:37 pm

I would limit the angle range on line of sight.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Thu Aug 27, 2009 12:50 am

I tried. But it does not produce the expected result
B
2
G
3
Posts: 23
Reputation: 896

Post » Fri Aug 28, 2009 9:48 pm

Unit movement is not a trivial problem for RTS.

You'll find out that even some commercial games have botched this. I recommend you think very carefully on your motion scheme for both player and enemy units, you may use the RTS behavior's waypoints to tell a unit where to go, but deciding where a unit should go and when is the difficult part.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests