Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24

Thread: Getting Computer Players to attack

  1. #21

    Default Re: Getting Computer Players to attack

    (x,y give the tile on the map, and each tile has 9 subtiles which is z)
    So Z is either 1, 2, 3, 4, 5, 6, 7, 8 or 9 ?

    You probably aware of this but this is used in the script map00014.txt

    (I was 100% wrong since 1700 or 1900 can't be a position value)

    One time I tried to change these value (something like this: 80,1,2,1,1800,1) but noticed nothing ingame.
    Maybe these value are near the default value and it doesn't make any difference?
    One thing I didn't try yet is remove it from the script and look if the AI in level 14 is different but you might have already tried. :S
    Last edited by watler253; July 18th, 2016 at 21:55.

  2. #22

    Default Re: Getting Computer Players to attack

    You're forgetting you actually need to somehow indicate the process/task. The SET_COMPUTER_GLOBALS is just the command that you want to tweak a certain process, and you have 6 numbers that have to indicate WHICH process and how. The same command can also be used to make the computer player place a certain room in a certain size, or dig to gold when he has just a certain amount left.

    On lvl14, and I don't know why, that command causes the CP to start with a delay. To clearly see the difference change the script and remove the command for one of the players, and for the other one change it to 6000 or something, and you'll see that the one will start right away while the other one will wait quite a while.
    Last edited by YourMaster; July 18th, 2016 at 22:23.

  3. #23

    Default Re: Getting Computer Players to attack

    I don't get it, the script for level 14 only has these commands:

    Nothing else, and for whatever reason one command is REMoved.

    Well, I'll follow your result if you got some, manipulating AI behaviors is something I'm interested in and I would like to help.

  4. #24

    Default Re: Getting Computer Players to attack

    Well, I've played around with it a bit, and I've given up again for now. Especially because they are unable to be used within conditional blocks, but also because I feel like I just do random stuff to see what sticks.

    In Level 14, change the script to this:
    You'll find that Blue will start building rooms and digging for rooms almost straight away, while green will wait for quite a while before starting to do anything. This command seems to be included on this level to give the player a bit of a head start over his rivals.

Similar Threads

  1. Magic door and magical attack
    By mefistotelis in forum KeeperFX
    Replies: 24
    Last Post: February 23rd, 2014, 14:16
  2. Computer Players
    By dayokay in forum DK1 Mapmaking
    Replies: 5
    Last Post: July 26th, 2013, 16:08
  3. Melee attack for the Dragon
    By DragonsLover in forum Dungeon Keeper 1
    Replies: 15
    Last Post: August 14th, 2010, 22:21
  4. Bomberman 64 - The Second Attack Parodies
    By Metal Gear Rex in forum Off Topic
    Replies: 5
    Last Post: May 22nd, 2010, 19:17

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts