Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
guidelines:adding_message_to_gamebots [2012/02/08 21:27]
martin.cerny
guidelines:adding_message_to_gamebots [2012/02/08 21:29]
martin.cerny
Line 162: Line 162:
 The ConnectionClass is a string containing fully qualified name of the connection class. If you are not trying to achieve something complicated, it is usually good idea to add your extension classes to GameBotsUDK package, since it does not require to modify any other ini file (adding a package requires you to modify some of the files that are modified by gamebots, so that could lead to some trouble with synchronizing your extension development with the main gamebots extension). The ConnectionClass is a string containing fully qualified name of the connection class. If you are not trying to achieve something complicated, it is usually good idea to add your extension classes to GameBotsUDK package, since it does not require to modify any other ini file (adding a package requires you to modify some of the files that are modified by gamebots, so that could lead to some trouble with synchronizing your extension development with the main gamebots extension).
  
-If you have done that, try running UDK with GameBots as usual you should see "Using YOURCLASS for connection" in the UDK log. If you are not, something is wrong.+If you have done that, try running UDK with GameBots as usual you should see "Using YOURCLASS for bot connection" in the UDK log. If you are not, something is wrong
 + 
 +In a similar way you can replace the default implementation of ControlConnection to parse custom messages. You extend the ControlConnection class, override ProcessRegularAction there, create file called DefaultControlServer.ini and specify your class's name in the ConnectionClass property.
  
guidelines/adding_message_to_gamebots.txt · Last modified: 2012/02/08 21:34 by martin.cerny