Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.29 KB

Lambda Wars (Alien Swarm engine).

Source code of Lambda Wars (formerly known as Half-Life 2: Wars, http://lambdawars.com/).

Game code can be found at: http://svn.hl2wars.com/

Compiling

Tested with Visual Studio 2010 SP1:

  1. Open src/python/srcbuid/pcbuild.pln and build the pythoncore project
  2. Open src/hl2wars.sln and compile the full project

Generating Python bindings

Bindings are automatically generated from python files. You can find the list of modules and other settings in "src/srcpypp/settings.py". The actually modules can be found in "game/(client|server|shared)/python/modules".

Py++ is used to generate the actually bindings. You can find more information at: http://sourceforge.net/projects/pygccxml/

Generating the modules (requires Python 3): Open a command prompt and go to the srcpypp folder. From here you can run a few commands:

  • Generate bindings for all modules: python generate_mods
  • Generate bindings for a single module: python generate_mods -m module_name

Compiling shaders

License

Creative Commons Attribution-NonCommercial 3.0 Unported Only applies to the new code in the sdk (in particular the code in the hl2wars and python folders).

See license.txt