搜索
查看: 6226|回复: 21

[转贴]能使其他玩家看到你自定义的模型的插件

[复制链接]
发表于 2005-9-3 11:23:47 | 显示全部楼层 |阅读模式 来自 中国–广东–广州–番禺区
Weapons Models

Version: 0.3
Author: KRoTaL

0.1 Release
0.2 Added possibility to replace knife sounds
0.3 Added chicken model and c4 ledglow sprite


This plugin allows you to replace the models (v_, p_ and w_) of all the weapons,
knife sounds, and the sprite of the c4 led.
Players will only have to download the models/sounds/sprites,
their original models/sounds/sprites won't be modified.

vmodel is the model you see in your hands.
pmodel is the model you see in other players' hands.
wmodel is the model you see when the weapon is on the ground.

If you change a weapon cvar in game, it won't work until mapchange,
because the model/sound/sprite hasn't been precached.

The names of the models/sounds must be different than the default ones,
else players won't download them because they already have them on their computer.


Cvars:

weapons_models "1" - 0: disables the plugin (but does not prevent the plugin from precaching files)
1: enables the plugin
See below.


Examples:

p228_vmodel "models/custom_weapons/v_p228.mdl"
knife_pmodel "models/p_axe.mdl"
bomb_wmodel "models/egg.mdl"
knife_hit_sound "sound/axe_hit.wav"
ledglow_sprite "sprites/custom_led.spr"

Setup (AMX 0.9.9):

Install the amx file.
Enable VexdUM (both in metamod's plugins.ini and amx's modules.ini)
Copy-paste all these cvars in your server.cfg (or listenserver.cfg or amx.cfg)
and fill the ones you want with the path to your custom model/sound/sprite.

p228_vmodel ""
p228_pmodel ""
p228_wmodel ""
scout_vmodel ""
scout_pmodel ""
scout_wmodel ""
hegrenade_vmodel ""
hegrenade_pmodel ""
hegrenade_wmodel ""
xm1014_vmodel ""
xm1014_pmodel ""
xm1014_wmodel ""
c4_vmodel ""
c4_pmodel ""
c4_wmodel ""
mac10_vmodel ""
mac10_pmodel ""
mac10_wmodel ""
aug_vmodel ""
aug_pmodel ""
aug_wmodel ""
smokegrenade_vmodel ""
smokegrenade_pmodel ""
smokegrenade_wmodel ""
elite_vmodel ""
elite_pmodel ""
elite_wmodel ""
fiveseven_vmodel ""
fiveseven_pmodel ""
fiveseven_wmodel ""
ump45_vmodel ""
ump45_pmodel ""
ump45_wmodel ""
sg550_vmodel ""
sg550_pmodel ""
sg550_wmodel ""
galil_vmodel ""
galil_pmodel ""
galil_wmodel ""
famas_vmodel ""
famas_pmodel ""
famas_wmodel ""
usp_vmodel ""
usp_pmodel ""
usp_wmodel ""
glock18_vmodel ""
glock18_pmodel ""
glock18_wmodel ""
awp_vmodel ""
awp_pmodel ""
awp_wmodel ""
mp5navy_vmodel ""
mp5navy_pmodel ""
mp5navy_wmodel ""
m249_vmodel ""
m249_pmodel ""
m249_wmodel ""
m3_vmodel ""
m3_pmodel ""
m3_wmodel ""
m4a1_vmodel ""
m4a1_pmodel ""
m4a1_wmodel ""
tmp_vmodel ""
tmp_pmodel ""
tmp_wmodel ""
g3sg1_vmodel ""
g3sg1_pmodel ""
g3sg1_wmodel ""
flashbang_vmodel ""
flashbang_pmodel ""
flashbang_wmodel ""
deagle_vmodel ""
deagle_pmodel ""
deagle_wmodel ""
sg552_vmodel ""
sg552_pmodel ""
sg552_wmodel ""
ak47_vmodel ""
ak47_pmodel ""
ak47_wmodel ""
knife_vmodel ""
knife_pmodel ""
p90_vmodel ""
p90_pmodel ""
p90_wmodel ""
bomb_wmodel ""
chicken_model ""

knife_deploy_sound ""
knife_slash_sound ""
knife_stab_sound ""
knife_hit_sound ""
knife_hitwall_sound ""

ledglow_sprite ""


Credits:

Code to replace knife sounds from ChickenMod Rebirth by T(+)rget


YOU NEED VEXDUM 1.0
Vexdum 1.0:上面
插件:下面

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
发表于 2005-9-3 16:51:47 | 显示全部楼层 来自 乌克兰

回复: [转贴]能使其他玩家看到你自定义的模型的插件

好复杂啊。。。。。。。
回复 1 0

使用道具 举报

 楼主| 发表于 2005-9-3 19:51:55 | 显示全部楼层 来自 中国–广东–广州–番禺区

回复: [转贴]能使其他玩家看到你自定义的模型的插件

我看不懂。。。(表K我)
回复

使用道具 举报

发表于 2011-3-6 00:17:48 | 显示全部楼层 来自 中国–广东–江门
具体说明有吗???好像挺好的!!!!!
回复

使用道具 举报

发表于 2011-5-11 15:19:36 | 显示全部楼层 来自 中国–山东–淄博
hahah这东西 高校啊
回复

使用道具 举报

发表于 2011-5-15 10:24:04 | 显示全部楼层 来自 中国–广东–云浮
具体说明有吗???
回复

使用道具 举报

发表于 2011-5-15 10:25:18 | 显示全部楼层 来自 中国–广东–云浮
具体说明有吗???
回复

使用道具 举报

发表于 2011-5-15 10:26:30 | 显示全部楼层 来自 中国–广东–云浮
具体说明有吗???
回复

使用道具 举报

发表于 2011-5-15 10:29:06 | 显示全部楼层 来自 中国–广东–云浮
具体说明有吗???
回复

使用道具 举报

发表于 2011-5-15 10:32:15 | 显示全部楼层 来自 中国–广东–云浮
具体说明有吗???
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表