New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move weapon handling to an external file #23
Comments
50Wliu
added a commit
that referenced
this issue
Sep 17, 2015
- Get rid of "By Classname" and "By Definition Index", just merge the two together to make it simpler - Rewrite "remove" and "add" now that I think I know more of what I'm doing Refs #23
|
50Wliu
added a commit
that referenced
this issue
Sep 18, 2015
This helps prevent two things: * TF2Attributes complaining if 'remove' didn't exist (could be easily prevented by a null check, but eh) * Variable shadowing Should also make the weapon config code more consistent. Refs #23
50Wliu
added a commit
that referenced
this issue
Sep 18, 2015
50Wliu
added a commit
that referenced
this issue
Sep 26, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was planned a long time ago but apparently nobody had time to do it.
File should be something like
ff2_weapons.txt
weapons.cfg
inaddons/sourcemod/configs/freak_fortress_2/
."By Classname"
"name
" (this will allow us to filter out weapons we don't want to match)include
/exclude
keys instead?"By Definition Index"
"replace"
- renamed to"removeattribs"
"remove"
- renamed to"addattribs"
"add"
"onhit"
"ontakedamage"
The text was updated successfully, but these errors were encountered: