Loading...
 

PogamutUT2004


PathNode Post-processing

Is there a way to do some post-processing on the list of PathNodes/NavPoints in a level? I'm looking at a level that has some NavPoints that are causing navigation problems and I would like to remove them or change their location in the bot's memory without having to edit the actual level. Can this be done?
Hi!

I've been off to a short holiday :-) so sorry that we've left this post unattended.

Well I think I will have to disappoint you. All objects in PogamutUT2004 (NavPoint, Item, Player...) have protected field so there is only a shady way how to change that
1) via Reflection API
2) creating your own implementation of IWorldObjectUpdatedEvent that will lie in the same package as NavPoint that will change some of its protected fields.

Well - you're not developing a library so both techniques are ok to use.
I would do that probably in botInitialized() method.

Cheers,
Jimmy
 

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.