Jump to content
Sign in to follow this  

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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this