Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
"baseclass" "fireaxe"
"baseindex" "2"
Second, set the "viewmodel" only right after setting the attributes.
"viewmodel"
{
"modelname" "models/weapons/c_models/c_psycho_axe/c_psycho_axe.mdl"
}
So, the player will see the custom model in their hands, but it will look like a stock model from another player's view.
Correct. You have to rename the files inside that folder, like this.....
tf\models\weapons\c_models\c_melf_magic_poison\c_melf_magic_poison.mdl
Do NOT touch the files in the materials folder. You have to have a way so people can download the files, like a fast download server..... that does cost little bit of money. You can use Dropbox, but the players would have to manually download and place the files in the required folders.
Btw, this is something I recently posted on a YouTube comment who asked the same question. Most of it is repeating, but might as well paste it here.....
The public version of the plugin doesn't support that complete (and please understand there's a reason for that).
This is what I can tell you...
1) Go back to the plugin page ( https://forums.alliedmods.net/showthread.php?t=285258 )
2) Look at the "EXAMPLE WEAPON CONFIG" tab
3) Only set the "viewmodel" (and not "worldmodel")
4) Lastly.... very Important!!!.... Make sure the base weapon is a stock weapon (as in, Scattergun, Pistol, and Bat)
This way you will see the custom model in your hands, but every else will see the stock weapon and will not be invisible.
"sound"
{
"player"
{
"find" ")weapons/rocket_shoot.wav"
"replace" "mvm/giant_soldier/giant_soldier_rocket_shoot.wav"
}
"player"
{
"find" ")weapons/rocket_shoot_crit.wav"
"replace" "mvm/giant_soldier/giant_soldier_rocket_shoot.wav"
}
}
Now, the mod can only mostly-replace sounds.... as in, the more lag you have with the server... you will hear 2 different sounds (the oringal sound and the replacement sound)
Unable to load plugin "tf2attributes.smx": Error detected in plugin startup (see error logs)
And the error logs don't show anything
Also I think the tf2items.randomizer.txt you have on the page is incorrect
""Games"
{
/* Team Fortress 2 */
"tf"
{
"Offsets"
{
"CTFPlayer::EquipWearable"
{
"windows" "429"
"linux" "430"
"mac" "430"
}
}
}
}"
Seems to be a crapton shorter than
https://raw.githubusercontent.com/FlaminSarge/tf2attributes/master/tf2.attributes.txt
also compiling tf2attributes.sp results in this error
// ----------------------------------------
//// tf2attributes.sp
//
// tf2attributes.sp(210) : warning 234: symbol "FCVAR_PLUGIN" is marked as depre
cated: No logic using this flag ever existed in a released game. It only ever ap
peared in the first hl2sdk.
//
//
// tf2attributes.sp(217) : warning 225: unreachable code
// tf2attributes.sp(325) : error 017: undefined symbol "Address_MinimumValid"
// tf2attributes.sp(333) : error 017: undefined symbol "Address_MinimumValid"
// tf2attributes.sp(796) : error 017: undefined symbol "Address_MinimumValid"
//