VintageDoodle
04-05-2014, 07:42
Is it possible to change the "item_class" of a weapon in tf2items.weapons.txt?
KvGetString(hKeyValues, "class", strBuffer, sizeof(strBuffer));
TF2Items_SetClassname(hItem, strBuffer);
iItemFlags |= OVERRIDE_CLASSNAME;
Why does this remove weapons?
I found a related thread https://forums.alliedmods.net/showthread.php?p=2046815 here but I don't understand what powerlord means by keeping track of when the weapon is being replaced.
KvGetString(hKeyValues, "class", strBuffer, sizeof(strBuffer));
TF2Items_SetClassname(hItem, strBuffer);
iItemFlags |= OVERRIDE_CLASSNAME;
Why does this remove weapons?
I found a related thread https://forums.alliedmods.net/showthread.php?p=2046815 here but I don't understand what powerlord means by keeping track of when the weapon is being replaced.