Enemy crouching Posted by jacob.schrum on Fri 29 of Apr, 2011 19:06 CEST How do I tell if an enemy is crouching? There doesn't seem to be a method in the Player class. Also, what kind of stuff does "getAction()" return?
Posted by jacob.schrum on Thu 19 of May, 2011 17:33 CEST Still no answer on this? I guess it just can't be done. I was hoping I could look at the enemy location and compare it to its "floor location", but that method isn't available in the Player class either. I would assume that this would be easy to figure out. Is it really not possible to tell if an opponent is crouching?
Posted by michal.bida on Thu 19 of May, 2011 19:22 CEST Hi. The attribte crouched was not exported for Player (PLR) messages. I have added Crouched attribute to Player message: a) I have updated GameBots2004 - its in svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/Main/Gamebots/GameBotsUT2004 b) I have updated PogamutUT2004 so there is supported attribute crouched for Player class. Its in svn and I have also deployed in maven artifactory, so if you are using maven only thing you have to do is to build your project and the attribute should come up. Best, Michal
Posted by michal.bida on Thu 19 of May, 2011 19:25 CEST b) * But you have to use PogamutUT2004 3.2.4-SNAPSHOT