引用 | 编辑
a220168722
2013-05-03 21:27 |
楼主
▼ |
||
x0
请问一下各位高手如果要把原本CS1.6杀人的右上角杀人图示 不显示的语法是甚么呢0.0? x0
|
引用 | 编辑
a7811311622
2013-05-04 00:01 |
2楼
▲ ▼ |
下面是引用 a220168722 于 2013-05-03 21:27 发表的 杀人图示的问题:方法有两种: 1 复制程式 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 |
引用 | 编辑
a220168722
2013-05-04 12:45 |
3楼
▲ ▼ |
谢谢楼上两位高手的帮忙
修改过后确实可以使杀人不显示 x0 |
引用 | 编辑
a7811311622
2013-05-04 15:14 |
5楼
▲ ▼ |
下面是引用 s8720419 于 2013-05-04 13:54 发表的 :呃…那数字就是SPR读取时的ID啊… <fakemeta_const.inc>里面就有写: 复制程式 EngFunc_PrecacheModel, // int ) (char *s); 例如ZP主插件的 复制程式 g_trailSpr = engfunc(EngFunc_PrecacheModel, sprite_grenade_trail) 所以才需要这样用个变数去抓这浮动的ID… 手榴弹爆破后的黑印效果确实是用 TE_WORLDDECAL 去显示的… SPR的ID代号是 46、47、48 三个 …至于是不是像CZ要将ID增加12我就不知道了… x0 |
引用 | 编辑
弑血
2013-05-05 00:01 |
6楼
▲ ▼ |
下面是引用 a7811311622 于 2013-05-04 15:14 发表的 : 恩恩 我不懂的是 46'47'48这三个值是哪边衍生出来的 应该有相对应的值才会出现想要的效果 还是说CS内建 本来就要用 这三个 值 去使用? x0 |
引用 | 编辑
a7811311622
2013-05-05 14:24 |
7楼
▲ |
下面是引用 s8720419 于 2013-05-05 00:01 发表的 :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 |