Jump to content
Sign in to follow this  
wowgetoffyourcellphone

AI defense tower behavior

Recommended Posts

14 hours ago, Lion.Kanzen said:

how work your defense tower mod?

The defense tower mod works good, except the actor switching does not stay permanent in the fog of war for some reason (this might have a ticket already, if not needs one).

Share this post


Link to post
Share on other sites
33 minutes ago, sanderd17 said:

AFAIK, the code prevents actor switching. Can you give a link to the actor you use, and tell between which variants it switches?

I'll make a new thread for this. Original post was abou AIs tower place to the North. :)

Edited by wowgetoffyourcellphone

Share this post


Link to post
Share on other sites

If you want to report something, adding some details would help (I've not encountered it). I guess it is on svn, but

- which revision did you first see it ?

- is it only when using your mod, or also with vanilla 0ad

- can you upload a commands.txt (for vanilla game) which give the problem ?

Share this post


Link to post
Share on other sites

You are right. Does not happen in vanilla game. AI maybe confuse about a few things in mod that are different from vanilla:

 

1. There is only 1 type of defense tower (like in past alpha).

2. Number of defense tower limit increase with each new civic center.

Those are the main difference.

Edited by wowgetoffyourcellphone

Share this post


Link to post
Share on other sites

But then i don't understand your screenshot. These are all wooden_tower which are supposed to be removed from your mod ?

Share this post


Link to post
Share on other sites
11 hours ago, mimo said:

But then i don't understand your screenshot. These are all wooden_tower which are supposed to be removed from your mod ?

It is the wooden tower actor, but Defense Tower template. It available in Village Phase. Come Town Phase, player can upgrde it to stone towers.

  • Like 1

Share this post


Link to post
Share on other sites

I've just tried a AI game with 4 AIs using the delenda mod, and do not see the reported problem in tower placement. That's true that the placement is not optimal as you have decreased the min distance between towers to 20m, so the AI has a tendancy to build a lot of nearby towers, but these are (as expected) on its nearest border to enemy territory and not in the top of the map. 

Share this post


Link to post
Share on other sites

Thanks for the commands.txt. The problem was not from your mod, but because of the the CeaseFire setting you used. There was a problem with petra which would not update correctly its enemies when diplomacy changed. Should be fixed with r18403.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...