Jump to content

Introducing myself ..


Recommended Posts

Hi, I enjoy gaming and programming in various languages, I made a lua 2D/3D map generator and look forward to testing your map generator.

Btw. the lua map generator is at http://savannah.nongnu.org/patch/?7399

Where can one take a look at the source of the 0AD game? I'm interested in AI, economy, and map generators.

The recommended method for development is to grab the svn see http://trac.wildfiregames.com/wiki/BuildInstructions for some instructions. If you are on windows you won't actually need to build the game since there is a pre-built binary in the repository.

It is possible to use the release versions of the game however (unless you want to modify the C++ obviously), if you find the directory where 0AD is installed and go to binaries/data/mods/ you will see a public.zip folder, you can extract this into a public folder and now the game should start using the files in the unzipped folder.

I'm not quite sure what you mean by economy, but if you look inside the public folder you will find a maps folder which has random maps and rmgen which is the random maps api. For AI you will want simulation/ai, I wrote a rough guide to qBot. For general gameplay code (possibly useful for your economy stuff) you will need to look in simulation/components.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...