SakeTami
dingotush
dingotush

patreon


Experimenter Javadoc and XML Format v0.50

Sorry I seem to have forgotten to post the 0.50 docs, so here they are. Version 0.51 to follow.

Here's the game engine Javadoc and game XML format document (98 pages) for those of  you at the experimenter tier and above. These two documents provide a  good deal of information about the internals of the game, and are great  if you want to mess about in debug mode (aka cheat mode).

The XML format document explains the contents of the XML files that  define the game. If you were to open the lib/GameF.jar in an archiver  like 7zip you will find these XML documents. In the background I've been  making some minor changes to the engine so that it can be used as a  library to build your own games and created an "empty" game project . There's now an 'unofficial' modding Discord too.

If you are new to Javadoc, this is a collection of HTML documents built from the source code. You will need to extract the zip file as usual generating a Javadoc directory/folder. In that folder there are a number of things, but what you want to do is open the index.html file. There's a page for each of the 1500 plus classes in the game. The top left frame allows you to select a package, the contents of that package are displayed in the bottom left frame. Selecting one of these shows the details of that class.

You may want to begin by selecting the gamef.model.chars package top left, then the IntelPerson class bottom left to see the details of a player/NPC. Any getWhatever method can be seen in the debugger and queried via the console. Any setWhatever method can be changed in the debugger or console.

The document is full of hyperlinks, so scrolling down you will find a method getBody. Clicking on the method takes you to its definition. It returns a Body object, and if you click on Body it will take you to that definition of a body.


More Creators