Light Style© by Fisana

Jump to content


Photo

Introducing myself ..


  • Please log in to reply
1 reply to this topic

#1 RedAdder

RedAdder

    Tiro

  • Community Members
  • 5 posts

Posted 11 March 2012 - 10:26 PM

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.
  • 0

#2 quantumstate

quantumstate

    Primus Pilus

  • WFG Retired
  • 1,150 posts

Posted 11 March 2012 - 11:39 PM

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.wildfire...ildInstructions 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.
  • 0

Jonathan Waller [ aka quantumstate ]

Wildfire Games Programmer
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!