Loading...
 

GameBots2004


i need convert Location to mapNode

for example 1422.29; 10766.25; -3198.10 to CTF-1on1-Joust.InventorySpot7

I want to find out on which node is located some bot
i know player..getLocation(), but i need node

& how to determine the health of each player

thank you , Lukas
NavPoint nerestNavPoint = DistanceUtils.getNearest(someBotLocation, world.getAll(NavPoint.class).values());

You cannot know the health of other bot, that would be cheating.

Jakub
thank you :-)
That's for debugging purposes :-)

Of course we KNOW how much health each bot has, UT2004 must know this so GB2004 has access to this information,
but we DO NOT export it to bot. We only provide you the visualization as DEBUG AID.

Jakub
 

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.