# F+ y1 {0 M. W3 J9 A pModel->MakeSWDForce( PARTS_RWEAPON, pItemProp->dwItemKind3, (dwOption & MOP_HITSLOW) ? TRUE : FALSE, dwColor, m_fAniSpeed ); 6 q0 I3 v! q, ]* w$ D' u pModel->MakeSWDForce( PARTS_LWEAPON, pItemProp->dwItemKind3, (dwOption & MOP_HITSLOW) ? TRUE : FALSE, dwColor, m_fAniSpeed ); : F8 E+ y, t0 H7 S0 n% c) M}Change the values after D3DCOLOR_ARGB ( XXX, XXX, XXX, XXX );改变值D3DCOLOR_ARGB后(XXX,XXX,XXX,XXX);6 t$ A( A1 L! n/ l* ~: s, E$ m% a1 p
Using the following macros work as well I believe:使用下列宏工作我相信: b- A% y5 D) `+ `" P7 G4 {0 s$ M0 o4 V, K2 ]- T
Code:代码:7 y+ T4 q7 T9 z, \4 s: L7 g
D3DCOLOR_XYUV2 x& b/ `' O2 M- L, ?* F8 a
D3DCOLOR_AYUV# |1 H# t; f' I/ e0 J0 _
D3DCOLOR_ARGB : i' v* w$ D' U5 f; _: vD3DCOLOR_RGBA. T9 c. G+ D# n% X, E6 `+ ~
D3DCOLOR_XRGB6 \- s% n/ A; x
D3DCOLOR_COLORVALUEObviously if you set a new D3DCOLOR type you also have to change the values as well. 显然如果你设定一个新的D3DCOLOR类型你也必须改变的价值。RGBA = red green blue alpha, so change the first three to the colors you desire and the fourth to the alpha level. RGBA红绿蓝色=阿尔法,所以改变前三个颜色你欲望和四年级到α-水平。With XRGB you would have no alpha, just XXX, XXX, XXX. 与XRGB就没有阿尔法,只是XXX,XXX,XXX。Do note that black is impossible unless you do heavy alterations to the source.黑色是不可能做的注意,除非你重修改源。' }7 B5 n8 _$ o/ r
0 @1 q$ X' N7 fThe format works this way: 255, 255, 255, 0. 这样做的格式:255、255、255 0。The numbers are Red, Blue, Green, Alpha. 这些数字都是红色、蓝色、绿色、α波。Change each value from 0 to 255 as you wish.改变每个值从0到255随你的便。 6 T- L3 s9 v0 i# J 4 R( _ e% _3 S/ v7 r' r2 ainb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器8 y* }7 E% f# w- R1 E
+ J# ]. w# r0 l
@$ i4 |$ Q. d, ?% q- |) C2 q