Jump to content


Photo

Bug found in defendplan.ai


2 replies to this topic

#1 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 15 February 2005 - 01:07 PM

defendplan.ai :

cpu_manager:GetDefensiveBuildingsCostAt( cpu_manager.player_stats, self.defend_pos, 10 )

This is doing nothing. It should read

my_army_cost = my_army_cost + cpu_manager:GetDefensiveBuildingsCostAt( cpu_manager.player_stats, self.defend_pos, 10 )

Quite a difference as defensive buildings are now added to decide wether to defend at a certain position.

#2 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 15 February 2005 - 03:46 PM

Fixed. (In the code that is going in the installer)
Posted Image

#3 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 15 February 2005 - 06:27 PM

Added as well.. Since we're doing a quick pow-wow at present, we're submitting our final changes for release.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users