Map Database  •  FAQ  •  RSS  •  Login

Singleplayer AI Attack

<<

Dree

Post 31 Mar 2014, 17:02

Singleplayer AI Attack

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
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 31 Mar 2014, 18:22

Re: Singleplayer AI Attack

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?
I used to spam this forum so much...
<<

Dree

Post 31 Mar 2014, 21:31

Re: Singleplayer AI Attack

i'm stuck with the time. i did set the time to 120 but after 120 minutes there happens nothing.
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 01 Apr 2014, 03:27

Re: Singleplayer AI Attack

Please upload the file and send it to me :)
I used to spam this forum so much...
<<

Dree

Peasant

Posts: 2

Joined: 01 Apr 2014, 08:20

Post 01 Apr 2014, 08:34

Re: Singleplayer AI Attack

i don't know which one so i send them all

and whats the difference between closed building 1 and 2?
Image
You do not have the required permissions to view the files attached to this post.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 01 Apr 2014, 15:57

Re: Singleplayer AI Attack

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.
<<

Dree

Peasant

Posts: 2

Joined: 01 Apr 2014, 08:20

Post 01 Apr 2014, 17:37

Re: Singleplayer AI Attack

and how works the delay. is it seconds, minutes, hours or days :P
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 01 Apr 2014, 17:39

Re: Singleplayer AI Attack

1 = 1 ms. So 600 equals one minute.
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 02 Apr 2014, 06:23

Re: Singleplayer AI Attack

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).
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 02 Apr 2014, 09:29

Re: Singleplayer AI Attack

Whoopsidaisies! My bad! Or something like that.

Return to “General / Questions”

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 13 guests