This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
Python C++ JavaScript TeX CSS HTML Other
Clone or download

readme.md

Source.Python

Introduction

Source.Python is an open-source project that uses boost::python to allow scripters to interact with Valve's Source-engine.

Directory Structure

  • addons/ - source-python binary and vdf load file
    • ../source-python/
      • ../bin/ - all other Source.Python related binaries
      • ../data/
        • ../custom/ - Custom Package data
        • ../plugins/ - plugin specific data
        • ../source-python/ - Source.Python specific data
      • ../docs/
        • ../custom/ - Custom Package documentation
        • ../plugins/ - plugin specific documentation
        • ../source-python/ - Source.Python documentation
      • ../packages/
        • ../custom/ - Custom Packages
        • ../site-packages/ - included site-packages
        • ../source-python/ - Source.Python Python API
      • ../plugins/ - plugins (use "sp plugin load " in server console to load)
      • ../Python3/ - Python3.x base
  • cfg/
    • ../source-python/ - configuration files
  • logs/
    • ../source-python/ - log files
  • resource/
    • ../source-python/
      • ../events/ - custom event files
      • ../translations/ - translation files
  • sound/
    • ../source-python/ - sound files
  • src/ - source code
    • ../core/ - core source code
    • ../hl2sdk/ - Source-engine SDKs (use the HL2SDK repository as a reference)
    • ../loader/ - source-python source code (the loader binary)
    • ../patches/ - SDK patches necessary for building
    • ../thirdparty/ - 3rd-party mods used by Source.Python

Useful links