RTS Resource Collector AI

Get help using Construct 2

Post » Wed Sep 11, 2013 6:52 pm

[QUOTE=rafaelloest] @vee41
I see what you did, tried to do it, but doesnt work with pathfinding.

here is updated:
https://www.dropbox.com/s/roqhfuvjapoylye/Miner.capx[/QUOTE]

Few simple fixes, you were quite close :)

RTS harvester example
B
24
S
9
G
7
Posts: 756
Reputation: 7,302

Post » Wed Sep 11, 2013 8:19 pm

@vee41
Thanks, it worked. But I want to make it every GatherSpeed -> add 1 to goods.
I tried, it works, somewhat. After de first one reach his goods capacity, the 2 one stops and when the first one get back, it also stop.

Here is the updated:
https://www.dropbox.com/s/roqhfuvjapoylye/Miner.capx (same link :))
B
7
S
3
G
1
Posts: 18
Reputation: 1,434

Post » Wed Sep 11, 2013 8:25 pm

Updated the link I posted before with that functionality.
B
24
S
9
G
7
Posts: 756
Reputation: 7,302

Post » Wed Sep 11, 2013 8:32 pm

@vee41
Thanks, a lot.
Now i will try to add the select unit functionality (alredy have it, but need to implement the harvesters in the game and see if it works. If I have any problem, i will post. Thanks again.
B
7
S
3
G
1
Posts: 18
Reputation: 1,434

Post » Thu Sep 12, 2013 2:16 am

@vee41
Hey vee, I am with a problem. I am trying to make the collector go to a selected Oil pool, because if i can do this, i will be able to make it go to Oil or Food (the other resource). I was able to make it go, but, once it drop the resource, it goes crazy, he simple stay in the same place, "dancing".

Also, if you guys have some tips, leave them there.

Here is the link to the "game" version:
Battleships
B
7
S
3
G
1
Posts: 18
Reputation: 1,434

Post » Tue Sep 17, 2013 1:41 am

Anybody?
B
7
S
3
G
1
Posts: 18
Reputation: 1,434

Post » Tue Sep 17, 2013 5:38 am

Patience...Debugging takes time...
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
35
S
13
G
8
Posts: 318
Reputation: 7,685

Previous

Return to How do I....?

Who is online

Users browsing this forum: Cub3D, David181, yiuyiu6666 and 23 guests