安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题




"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"
//