[Pogamut-list] How to set the skin of the bot?

rudolf.kadlec pogamut-forum at artemis.ms.mff.cuni.cz
Sat May 3 18:56:02 CEST 2008


Re: How to set the skin of the bot?
So it isn't easy right now but it is possible :-).
1) checkout the latest version of Pogamut (Plugin and Core) and compile it. If you don't compiling the whole project from sources then try version 1.0.5 from the download section, it may be already in this version, I am not sure....
2) checkout Gamebots revision 846 and install it to the UT.
3) modify the prePrepareAgent method to lsomething like this:

protected void prePrepareAgent() {
        body.initializer.setSkin("HumanMaleA.EgyptMaleA");
    }
4) read carefully the javadoc for setSkin method.

Enjoy


----

Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=159&comments_parentId=145&post_reply=1#form>





More information about the Pogamut-list mailing list