nosoop / SM-TFOnTakeDamage

Hooks into TF2's slightly extended OnTakeDamage function.
GNU General Public License v3.0
7 stars 6 forks source link

error 417: cannot read from file: "classdefs\CTakeDamageInfo.sp" #6

Closed doroemon closed 1 year ago

doroemon commented 1 year ago

I can't complie this plugin because I didn't find CTakeDamageInfo.sp file, Please help thank you

nosoop commented 1 year ago

This project uses code generation; refer to the "building" section of the readme for steps to compile (the underlying build script will automatically call into the other tools for you).

nosoop commented 1 year ago

If you'd like to try to generate the files manually, you will need to run the following:

python3 -m pip install -r build-py-requirements.txt
python3 "misc/generate_classes.py" "scripting/templates/class.ms.sp" "classdefs/classdefs.h" "CTakeDamageInfo" "classdefs/CTakeDamageInfo.sp"

That said, this build step detail may change at any time. It's preferred to look at the last section of BUILD.md instead, as those should remain the same regardless of changes in the underlying build operations.