广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 7613 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
a220168722 手机
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x16
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[1.6][插件] 杀人图示的问题  (已解决)
请问一下各位高手
如果要把原本CS1.6杀人的右上角杀人图示
不显示的语法是甚么呢0.0?


[ 此文章被a220168722在2013-05-04 12:46重新编辑 ]


献花 x0 回到顶端 [楼 主] From:台湾台固媒体股份有限公司 | Posted:2013-05-03 21:27 |
弑血
个人头像
个人文章 个人相簿 个人日记 个人地图
社区建设奖 特殊贡献奖 创作大师奖
小有名气
级别: 小有名气 该用户目前不上站
推文 x108 鲜花 x239
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 a220168722 于 2013-05-03 21:27 发表的 杀人图示的问题: 到引言文
请问一下各位高手
如果要把原本CS1.6杀人的右上角杀人图示
不显示的语法是甚么呢0.0?



取代掉他


模组include <hamsandwich>


请使用使用HAM_SUPERCEDE


对了 请用在 杀人讯息那段FUNTION



目前传授教学&有兴趣者可以问我
BOT瞄准攻击NPC&模仿事件触发计算出场&新增地图重生位置等等
已修复entity的attachment错误问题,开始尝试写出各种npc_boss成品
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
献花 x1 回到顶端 [1 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-03 22:42 |
a7811311622 手机
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 优秀管理员勋章 社区建设奖
头衔:我…在工作了…我…在工作了…
版主
级别: 版主 该用户目前不上站
版区: CS提问区
推文 x771 鲜花 x2152
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 a220168722 于 2013-05-03 21:27 发表的 杀人图示的问题: 到引言文
请问一下各位高手
如果要把原本CS1.6杀人的右上角杀人图示
不显示的语法是甚么呢0.0?
方法有两种:

复制程式
public plugin_init()
{
    register_plugin("undefined", "1.0", "MyChat:a7811311622")
    
    register_message(get_user_msgid("DeathMsg"), "message_deathmsg")
}

public message_deathmsg(msg_id, msg_dest, msg_entity)
{
    if (你想挡住杀人讯息的条件)
        return PLUGIN_HANDLED;
    
    return PLUGIN_CONTINUE;
}

复制程式
set_msg_block(get_user_msgid("DeathMsg"), BLOCK_SET) // 暂时将所有的杀人讯息全部挡住
// 你挡住杀人讯息后想做的内容
set_msg_block(get_user_msgid("DeathMsg"), BLOCK_NOT) // 取消杀人讯息的挡住,不然之后的杀人讯息都不用出来了…


尚无签名,欢迎 [新增个性化签名]
献花 x1 回到顶端 [2 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-04 00:01 |
a220168722 手机
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x16
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

谢谢楼上两位高手的帮忙 表情
修改过后确实可以使杀人不显示


献花 x0 回到顶端 [3 楼] From:台湾台固媒体股份有限公司 | Posted:2013-05-04 12:45 |
弑血
个人头像
个人文章 个人相簿 个人日记 个人地图
社区建设奖 特殊贡献奖 创作大师奖
小有名气
级别: 小有名气 该用户目前不上站
推文 x108 鲜花 x239
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 a7811311622 于 2013-05-04 00:01 发表的 : 到引言文

方法有两种:

[code]public plugin_init()
.......



a78大
能问你插件的问题吗
我最近去找类似喷漆的贴图
之后 找到 是 World decals
可是 后面 我参考了 ZP的血脚印的原理
还是看不懂 他最后的值表情
既不是SPR 只是数字? 就可以 产生脚印般的图示表情


还是说 是我搞错了表情


我想说 模拟 手榴弹爆破后 在地板上 留下 炸弹黑印效果表情



目前传授教学&有兴趣者可以问我
BOT瞄准攻击NPC&模仿事件触发计算出场&新增地图重生位置等等
已修复entity的attachment错误问题,开始尝试写出各种npc_boss成品
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
献花 x0 回到顶端 [4 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-04 13:54 |
a7811311622 手机
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 优秀管理员勋章 社区建设奖
头衔:我…在工作了…我…在工作了…
版主
级别: 版主 该用户目前不上站
版区: CS提问区
推文 x771 鲜花 x2152
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 s8720419 于 2013-05-04 13:54 发表的 : 到引言文




a78大
能问你插件的问题吗
我最近去找类似喷漆的贴图
之后 找到 是 World decals
可是 后面 我参考了 ZP的血脚印的原理
还是看不懂 他最后的值表情    
既不是SPR 只是数字? 就可以 产生脚印般的图示表情    


还是说 是我搞错了表情    


我想说 模拟 手榴弹爆破后 在地板上 留下 炸弹黑印效果表情  
呃…那数字就是SPR读取时的ID啊…
<fakemeta_const.inc>里面就有写:
复制程式
    EngFunc_PrecacheModel,                // int  )            (char *s);
中间的INT就是回传这物件的代号…就像是证件号码会有顺序码辨识用的…
例如ZP主插件的
复制程式
g_trailSpr = engfunc(EngFunc_PrecacheModel, sprite_grenade_trail)
g_trailSpr 就是ID…随着你载入的档案量变化这 g_trailSpr 也不会每次都一样的ID…
所以才需要这样用个变数去抓这浮动的ID…

手榴弹爆破后的黑印效果确实是用 TE_WORLDDECAL 去显示的…
SPR的ID代号是 46、47、48 三个 …至于是不是像CZ要将ID增加12我就不知道了…


[ 此文章被a7811311622在2013-05-04 15:40重新编辑 ]


尚无签名,欢迎 [新增个性化签名]
献花 x0 回到顶端 [5 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-04 15:14 |
弑血
个人头像
个人文章 个人相簿 个人日记 个人地图
社区建设奖 特殊贡献奖 创作大师奖
小有名气
级别: 小有名气 该用户目前不上站
推文 x108 鲜花 x239
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 a7811311622 于 2013-05-04 15:14 发表的 : 到引言文

呃…那数字就是SPR读取时的ID啊…
<fakemeta_const.inc>里面就有写:
复制程式
    EngFunc_PrecacheModel,                // int  )            (char *s);
中间的INT就是回传这物件的代号…就像是证件号码会有顺序码辨识用的…
例如ZP主插件的
复制程式
g_trailSpr = engfunc(EngFunc_PrecacheModel, sprite_grenade_trail)
g_trailSpr 就是ID…随着你载入的档案量变化这 g_trailSpr 也不会每次都一样的ID…
所以才需要这样用个变数去抓这浮动的ID…

手榴弹爆破后的黑印效果确实是用 TE_WORLDDECAL 去显示的…
SPR的ID代号是 46、47、48 三个 …至于是不是像CZ要将ID增加12我就不知道了…



恩恩
我不懂的是 46'47'48这三个值是哪边衍生出来的表情
应该有相对应的值才会出现想要的效果表情
还是说CS内建 本来就要用 这三个 值 去使用?表情



目前传授教学&有兴趣者可以问我
BOT瞄准攻击NPC&模仿事件触发计算出场&新增地图重生位置等等
已修复entity的attachment错误问题,开始尝试写出各种npc_boss成品
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
按这里检视影片,登入论坛可以直接观看
献花 x0 回到顶端 [6 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-05 00:01 |
a7811311622 手机
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 优秀管理员勋章 社区建设奖
头衔:我…在工作了…我…在工作了…
版主
级别: 版主 该用户目前不上站
版区: CS提问区
推文 x771 鲜花 x2152
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 s8720419 于 2013-05-05 00:01 发表的 : 到引言文




恩恩
我不懂的是 46'47'48这三个值是哪边衍生出来的表情
应该有相对应的值才会出现想要的效果表情
还是说CS内建 本来就要用 这三个 值 去使用?表情
CS材质档的固定数据…
清单如下:(没意外的话应该是在AlliedModders找来的…)
复制程式
//DECALS LIST

1    black "A"
2    rescue hostages spot
3    green blood (very small) [1]
4    green blood (very small) [2]
5    green blood (small) [3]
6    green blood (small) [4]
7    green blood (medium) [5]
8    green blood (medium) [6]
9    wall burn mark [1]
10    wall burn mark [2]
11    wall burn mark [3]
12    red arrow downleft
13    red arrow downright
14    red arrow upright
15    red arrow upleft
16    red arrow leftdown
17    red arrow leftup
18    red arrow rightup
19    red arrow rightdown
20    carwheels mark[1]
21    carwheels mark[2]
22    bombsite mark
23    bombsite mark
24    red sqare mark length 
25    red sqare mark width
26    green blood splash[1]
27    green blood splash[2]
28    granade explotion mark
29    granade explotion mark small
30    granade explotion mark very small
31    black "9"
32    black "8"
33    black "7"
34    black "6"
35    black "5"
36    black "4"
37    black "3"
38    black "2"
39    black "1"
40    black "0"
41    bullet hole[1]
42    bullet hole[2]
43    bullet hole[3]
44    bullet hole[4]
45    bullet hole[5]
46    granade explotion big[1]
47    granade explotion big[2]
48    granade explotion big[3]
49    rust mark[1]
50    rust mark[2]
51    rust mark[3]
52    rust mark[4]
53    sand mark[1]
54    red signe symbol
55    yellow signe symbol
56    yellow roadside mark length 
57    yellow roadside mark width
58    wet spot
59    wet spot harder
60    orange symbol
61    green rust mark[1]
62    green rust mark[2]
63    green rust mark[3]
64    green rust mark[4]
65    gray mark
66    black "9" another direction
67    black "8" another direction
68    black "7" another direction
69    black "6" another direction
70    black "5" another direction
71    black "4" another direction
72    black "3" another direction
73    black "2" another direction
74    black "1" another direction
75    black "0" another direction
76    yellow road marks
77    white symbol
78    gray rust mark[1]
79    gray rust mark[2]
80    gray rust mark[3]
81    gray rust mark[4]
82    black "9" BIG
83    black "8" BIG
84    black "7" BIG
85    black "6" BIG
86    black "5" BIG
87    black "4" BIG
88    black "3" BIG
89    black "2" BIG
90    black "1" BIG
91    black "0" BIG
92    almost invisable sqare
93    orange half-life symbol
94    orange half, half-life symbol
95    nearly empty orange circle
96    empty orange circle
97    broken orange circle
98    part of the orange circle
99    bloody hand mark
100    "trators die"
101    "you die"
102    "surrender freeman"
103    "you'r dead freeman"
104    "die freeman"
105    big shot mark
106    ground crash
107    bloody footstep
108    bloody footstep
109    crack in the ground[1]
110    crack in the ground[2]
111    crack in the ground[3]
112    crack in the ground[4]
113    crack in the ground[5]
114    crack in the ground[6]
115    "unknown"
116    wall burn mark [1]
117    wall burn mark [2]
118    wall burn mark [3]
119    wall burn mark [4]
120    cracks in the ground
121    invisable
122    invisable
123    invisable
124    invisable
125    invisable
126    invisable
127    invisable
128    dry blood mark[1]
129    dry blood mark[2]
130    invisable
131    invisable
132    invisable
133    invisable
134    invisable
135    black thing[1]
136    black thing[2]
137    "crouch"
138    crack in the ground[1]
139    crack in the ground[2]
140    crack in the ground[3]
141    crack in the ground[4]
142    yellow "z"
143    yellow "y"
144    yellow "x"
145    yellow "w"
146    yellow "v"
147    yellow "u"
148    yellow "t"
149    yellow "s"
150    yellow "r"
151    yellow "q"
152    yellow "p"
153    yellow "o"
154    yellow "n"
155    yellow "m"
156    yellow "l"
157    yellow "k"
158    yellow "j"
159    yellow "i"
160    yellow "h"
161    yellow "g"
162    yellow "f"
163    yellow "e"
164    yellow "d"
165    yellow "c"
166    yellow "b"
167    yellow "a"
168    "processing area 3"
169    "sector A"
170    "sector B"
171    "storage area 3"
172    "storage area 2"
173    "storage area 1"
174    "storage area 3"
175    "storage area 2"
176    "storage area 1"
177    "storage area 1"
178    invisable
179    white blood splash[1]
180    white blood splash[2]
181    white blood splash[3]
182    "break"
183    white mark
184    bloody hand mark[1]
185    bloody hand mark[2]
186    bloody hand mark[3]
187    bloody hand mark[4]
188    bloody hand mark[5]
189    bloody hand mark[6]
190    red blood (very small)[1]
191    red blood (very small)[2]
192    red blood (small)[3]
193    red blood (small)[4]
194    red blood (medium)[5]
195    red blood (medium)[6]
196    red blood (medium)[7]
197    red blood (medium)[8]
198    chaos mark
199    bullet hit[1]
200    bullet hit[2]
201    bullet hit[3]
202    bullet hit[4]
203    bullet hit[5]
204    red blood (big)[1]
205    red blood (big[2]
206    black arrow up
207    black arrow down
208    red arrow up
209    red arrow down
210    red arrow right
211    red arrow left
212    "ammo"
213    yellow "9" BIG
214    yellow "8" BIG
215    yellow "7" BIG
216    yellow "6" BIG
217    yellow "5" BIG
218    yellow "4" BIG
219    yellow "3" BIG
220    yellow "2" BIG
221    yellow "1" BIG
222    yellow "0" BIG
223    numbers written with blood
224    dark square


尚无签名,欢迎 [新增个性化签名]
献花 x1 回到顶端 [7 楼] From:台湾中华电信股份有限公司 | Posted:2013-05-05 14:24 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.024413 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言