Page 1 of 1

Singleplayer AI Attack

PostPosted: 31 Mar 2014, 17:02
by Dree
hi

I made a mission with the editor inside de remake game but i don't get it how to create attack.
is there a tutorial or a manual where i can learn it or can anyone tell me how it works.


sorry for bad english

Dree

Re: Singleplayer AI Attack

PostPosted: 31 Mar 2014, 18:22
by Ben
If you are good at programming (Pascal), then you can use dynamic scripts to make attacks. There is a tutorial and guide on them on the wiki page: https://code.google.com/p/castlesand/w/list

As making the attacks in-game, they are much simpler, but much more limited. I'm not sure where you are stuck. The GUI is pretty simple in the Remake's editor. Were you able to find it?

Re: Singleplayer AI Attack

PostPosted: 31 Mar 2014, 21:31
by Dree
i'm stuck with the time. i did set the time to 120 but after 120 minutes there happens nothing.

Re: Singleplayer AI Attack

PostPosted: 01 Apr 2014, 03:27
by Ben
Please upload the file and send it to me :)

Re: Singleplayer AI Attack

PostPosted: 01 Apr 2014, 08:34
by Dree
i don't know which one so i send them all

and whats the difference between closed building 1 and 2?
Image

Re: Singleplayer AI Attack

PostPosted: 01 Apr 2014, 15:57
by The Dark Lord
If I'm correct, 'closest house 1' is the closest house measured from the starting position of a player. 'Closest house 2' is the closest house measured from the soldiers' location.

Re: Singleplayer AI Attack

PostPosted: 01 Apr 2014, 17:37
by Dree
and how works the delay. is it seconds, minutes, hours or days :P

Re: Singleplayer AI Attack

PostPosted: 01 Apr 2014, 17:39
by The Dark Lord
1 = 1 ms. So 600 equals one minute.

Re: Singleplayer AI Attack

PostPosted: 02 Apr 2014, 06:23
by Lewin
1 = 1 ms. So 600 equals one minute.
That's not quite right. "ms" means "millisecond" and there are 1000 milliseconds in a second. The correct answer is: 1 = 10ms (0.1 seconds). So 600 equals one minute.

The value is measured in game ticks, and there are 10 game ticks per second (that's the speed of the game animations and updates).

Re: Singleplayer AI Attack

PostPosted: 02 Apr 2014, 09:29
by The Dark Lord
Whoopsidaisies! My bad! Or something like that.