Loading...
 

PogamutUDK


Setting up PogamutUDK

Moved from different thread:

Hello,


I'm trying to set up Pogamut so I can use it with my thesis. The main problem is that I'm using UDK instead of UT2004. I've tried to follow the instructions at http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2010-2011/Pogamut3_Lecture_01.pdf to set up Maven so the Pogamut plugins and samples will show up in Netbeans. The plugins are there and active, but the sample problems still won't show up. The 'Maven Project' and 'Maven Quickstart Archtype' in the slide show aren't there. I've got Maven 3.0.2 and Netbeans 7.0.1. I've installed UDK with GameBots with no issue. I've read throughout the forums that your support for UDK is still catching up, so am I'm missing something or doing something wrong. Or do I just need to wait for something to be fixed. Thanks for all the help.


Regards,

Allen
Hi Allen! Welcome to the forum!

And to say, Hail to the Brave!

I'm currently writing from my HTC, so I'm answering in haste.

Basicly, I would recommend you to work more as a Pogamut developer than Pogamut user.

I would install UDK and incorporate GameBotsUDK from the svn into it. Build your own Release of GB UDK, then checkout the PogamutUDK project or possibly the whole trunk/project and compile PogamutUDK for yourself. Once you do that I can guide you how to use UDK examples from the SVN.

I'm sorry but the road will be a bit dark, but no worries, always write here to report what you have done and where have you stuck and we will help you out.

May be, Michale will have more words for you regarding UDK setup.

Cheers!
Jakub

P.S. you can always try some older Pogamut installer from the old versions, reachable from downloads, but I won't count on them much...
Hello, and thank you for the quick reply. I have uninstalled everything from my computer and I'm starting from scratch. The issue I'm having now is incorporating GameBotsUDK into the UDK folder structure. I placed 'UDKGameBotsUDK.ini' into C:\UDK\UDK-2011-07\UDKGame\Config and placed the folder 'GameBotsUDK' into C:\UDK\UDK-2011-07\Development\Src. I have also ochanged the 'UDKEngine.ini' file as follows:

UnrealEd.EditorEngine
....
EditPackages=UDKBase
EditPackages=UTEditor
InEditorGameURLOptions=?quickstart=1?numplay=1
EditPackages=UTGame
EditPackages=UTGameContent
EditPackages=GameBotsUDK
Hi!

Thanks for not giving up!

I've forwarded the post to our UDK-oriented colleague, who will reply here soon.

I'm actualy Java oriented, so I can't help you with this first step directly.

Can you already reach GameBotsUDK sources within UDK?

Cheers!
Jakub
No I can't get to GameBotUDK sources from within UDK now because it crahses with the changes I've made anytime I try to start the editor.

Allen
GameBotsUDK in svn are currently not compatible with vanilla UDK version 100% becouse of some other project we are working on. We will sort this out eventually. For now, try to download this version, which should work:

UDK-2011-05 with GameBots

at least the server can be run and connected to. The RayCasting bot example will probably not work because of missing models, however you should be able to spawn regular bots when issuing INIT command without setting classname parameter.
Thanks for the d/l link. I also will try Pogamut with vanilla UDK. I'm still on 2011-05.
It should be also noted, that if you're debugging connection to GB2004,
it is usually much better to use PUTTY / Telnet initially then Pogamut library.

That is, fire up UDK with GameBots and try "telnet localhost 3000" or use PUTTY to connect
via telnet protocol to "localhost:3000".

It should go like this

FROM GBUDK ...HELLO_BOT
YOU SEND... READY
FROM GBUDK ... bunch of messages...
YOU SEND ... INIT
FROM GBUDK ... batch of messages are start to be exported in regular interval

Note that you might need to send READY twice (as first command is ignored when sent from PUTTY, dunno why).

Cheers!
Jakub
Thanks for that tip. The raycasting example does work, the models are missing but marker is still visible and moves along the grid.
Hello again!

fixitchris, seems you're experienced developer, cool!

By any chance would you like to post any improvements to GBUDK back to us and our SVN?
We're working on the "send patch by mail basis", e.g., you send us patch file, we review it (usually very soon)
and push it to our SVN.

Best,
Jakub
Hey Jakub.

I am good with code but fairly new to UDK. Still learning :-)
If I see opportunity for improvement or run into any bugs then I will let you know.

I am sure I will have more questions before then.

What are you guys working on that the PogamutUdk will not work with vanilla UDK? I do not plan to use StoryFactory or Java to integrate with UDK... unless there is good reason to.

Thanks.
Thanks! If you find anything buggy we will be more than happy to help / see your bugfixes.

Regarding Java integration - you don't want to use PogamutUDK? Just plain GameBotsUDK?

Regarding UDKGameBotsUDKPogamutUDK troubles...
Truth is that currently there are some side-grant-projects running on UDK that goes a bit beyond the standard Pogamut,
so our PogamutUDK is not tested with the GameBotsUDK currently. Michal knows more as he is the one implementing
stuff within UDK.

Best,
Jakub
hmm...Maybe I'm not understanding the difference between Pogamut, PogamutUdk, GbUdk... Reading some code and docs I understand that GameBots is the tcp/ip protocol implementation. Also looking at the GameBotsUDK UnrealScript, the GbUdk has implementations of UDK pawns and controllers. Comparing the UDK-2011-05 and the SVN, it looks like you guys moved all the UC and tightly integrated it to the Java side, which explains why the SVN is not compatible with vanilla UDK.

I am downloading the 3.2.0 installer but I would like to compile from SVN. So my next question is, should I follow the steps in PogamutRelease-steps.txt to build ? Should I get NetBeans 7.0.1 or 6.9.1 ?
I read some more tutorials and watched the promo video again. My other question is, how does the Pogamut bot behavior code get cooked into UDK?
... or does it not get cooked into the UDK but built into a JAR file that is distributed with the UDK Game and when the game runs it starts the emohawk server, then starts the UDK client and then executes the AI behavior we compiled into the JAR?

Thanks, just trying to wrap my head around this.
Hi!

It goes like this:

UDK -> 3D environment / the virtual world where artificial beings == bots are living.

GameBotsUDK -> TCP/IP server that specifies text-based message protocol that allows you to remotely instantiate and control bot inside UDK

PogamutUDK -> GB-UDK's protocol implementor that builds high-level Java library on top on the mere protocol implementation

Pogamut Bot -> Java program using PogamutUDK toolkit, something that implements bot's high-level logic / brain / mind / decision making system, reacting on messages that are exported by GB-UDK

Frankly, you're life will be much easier with PogamutUDK (if there were no bugs ;-) ... but once debugged as UT2004, PogamutUDK will be the right tool to prototype you're AI).

-----

You do not need NetBeans - you do not need Pogamut's plugin, you will be fine just with PogamutBase+PogamutUnreal+PogamutUDK libraries. You can use Eclipse if you wish (I'm prefering it).

Cheers!
Jakub
Thanks for the explanation. This is making more sense now.

I'm installing Eclipse and will try building the 3 libs.
Again, I would recommend you to download whole svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project + opening
following libs:

amis-utils
pogamut-base
pogamut-unreal
pogamut-udk

Maven will do all the rest ... I think you are aware of m2eclipse plugin, but just to be sure...

Jakub
If you want to develop AI, I would suggest to stick to UT2004 version. From bot development point of view there is no benefit UDK can offer you except better graphic, which is from AI point of view unnecessary. UDK is currently untested as well as project PogamutUDK - there will be bugs. On the other hand PogamutUT2004 and GameBots for UT2004 are tested thoroughly and there will be minimal problems.

Best,
Michal
Michal,

UDK is always changing indeed. I would like to help get this working with UDK.
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.