stevengreens10 / SM-TFCustomAttributeStarterPack

A collection of plugins to be used with the TF2 Custom Attribute framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TF2 Custom Attribute Starter Pack

A collection of (mostly) production-ready custom attributes written for the Custom Attribute framework.

I'll move the other ones eventually…

About

This repository contains attributes I've written. I don't run a Custom Weapon server, so most of the plugins are made through work-for-hire. If you'd like a custom attribute created, feel free to contact me on AlliedModders — I'm open to inquiries.

The wiki documents the available custom attributes.

Special thanks to Karma Charger for allowing the release of the stuff I've written for him; a lot of the plugins available here were created for his videos.

Installation

It's assumed that you're a server operator and are familiar with how SourceMod works. I can't provide free personalized support in that regard, unfortunately — read up on how to set up your own TF2 server.

As mentioned, this uses my own Custom Attribute framework, so you'll want to follow the instructions for applying custom attributes. The Custom Weapons plugin works well with the available adapter.

Custom Weapon Configs

The included configuration files are provided as-is for attribute demonstration purposes and not intended to showcase completely balanced weapons.

Building

This project can be built in a reproductive manner with Ninja, git, and Python 3.

  1. Clone the repository and its submodules: git clone --recurse-submodules ...
  2. Execute python3 configure.py --spcomp-dir ${PATH} within the repo, where ${PATH} is the path to the directory containing spcomp. Verified working against 1.9 and 1.10.
  3. Run ninja. Output will be available under build/.

Dependencies

This project uses a bunch of external tooling. Not all plugins use every dependency. To run the plugins from this project, you will need the compiled releases of the following:

The following is only used when building from source; if you're just running the plugins, you do not need these:

  • stocksoup: personal library for reusable SourceMod functions

Includes are bundled in the third_party/ subdirectory to ensure builds are consistent.

License

This project uses the MIT license. Do note that once compiled, SourceMod plugins are still bound to GPLv3, but you're welcome to use the code as reference in other projects under the more permissive license.

The software is provided "as is", and there is no real guarantee of support.

About

A collection of plugins to be used with the TF2 Custom Attribute framework.

License:MIT License


Languages

Language:SourcePawn 94.2%Language:Python 5.0%Language:C++ 0.8%