飞飞世界论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 8243|回复: 0
打印 上一主题 下一主题

改变名字的颜色详细教程

[复制链接]

200

主题

203

帖子

984

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
984
QQ
跳转到指定楼层
楼主
发表于 2016-1-10 03:21:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
只是一些随机的小教程我要释放。这真是没什么大不了(本线,包括如何使用颜色编码,可以去下首先学习十六进制颜色。)。
我会更新这个线程,如果我找到其他小来源编辑的色彩。
更新:攻击自解压颜色。
______
浏览”的原动力。”(确保你有一个工作,使用spikebensor一)。
搜索:color_player
你现在有这个:
代码:
#define COLOR_PLAYER   0xffffffff#define COLOR_GAMEMASTER        0xff2D7CAE#define COLOR_ADMINISTRATOR     0xffAE2D2D#define COLOR_NPC              0xffa0a0ff  #define COLOR_MONSTER          0xffffffa0#define COLOR_PARTY            0xffffff00#define COLOR_GUILDCOMBAT      0xff00ff00$ P/ I) c! d: `8 T* V$ h2 j
现在好了,你可能已经猜到,color_party是党员
color_npc是NPC(顺便说一句,我改变了自己党员的颜色)
______
会长(moverrender文件)- >
现在,搜索:
if( pGuild->IsMaster(m_idPlayer))
代码:
if( pGuild->IsMaster(m_idPlayer))

+ @; v% l% U+ l4 J
           dwColor = 0xFFFFFF99;
业力的颜色- >
这并不涉及源,propkarma.txt在资源文件夹:
特技攻击颜色->(需要+非常基本的知识,和常识)
(原动力。人民党)
搜索
if( nOption == 10 )
代码:
                       if( nOption ==10 )
                               dwColor= D3DCOLOR_ARGB( 255, 255, 0, 0 );
                       else if(nOption == 9 )
                               dwColor= D3DCOLOR_ARGB( 255, 255, 150, 0 );
                       else if(nOption >= 7 )
                               dwColor= D3DCOLOR_ARGB( 255, 198, 0, 255 );
                       else if(nOption >= 5 )
                               dwColor= D3DCOLOR_ARGB( 255, 123, 82, 255 );
                       else if( nOption>= 3)
                               dwColor= D3DCOLOR_ARGB( 255, 129, 221, 251 );
                       else if(nOption >= 1 )
                               dwColor= D3DCOLOR_ARGB( 255, 201, 251, 190 );
                       else
9 s$ V8 c% T% ~" ]- |
              dwColor = D3DCOLOR_ARGB( 255, 255,255, 255 );
那些不是十六进制颜色,argb,不难的。
非常基本的=>如果noption(你的武器的等级)10你的解压颜色
当攻击将:(255,255,0,0)。
a-r-g-b格式。
十六进制颜色:如何
你首先需要良好的旧的油漆从窗口,窗口的计算器。
代码:
十六进制颜色:如何
/ ^: N# l8 L) j4 |( m* G9 v* }' M5 l& y. J- W" J
You first need good old paint from windows, and window'scalculator.首先,您需要从Windows的旧漆,和窗口的计算器。
Code:邮编:
Ok lets take NPC's colour, we all know it'skinda blueish.好让我们人大的颜色,大家都知道它的有点青色。 Now Hex is like ARGB -> 0xffa0a0ff : Wewill ignore 0x and ff for now.现在六角的是一样的ARGB - >0xffa0a0ff:我们现在将忽略0x和FF。In this case, RGB here is :R = a0 G = a0 B = ff You need your calculator.在这种情况下,RGB这里是:R = A0,G = A0 = FF你需要你的计算器。 Go in "programming mode"in your calculator, check the Hex option at the left ( and the Dword optiontoo ), if you want to know what "a0" is , type a0 then check the"dec" option on the left, your result will be "160" that'sthe Red colour, get it?走在“编程模式”在你的计算器,检查了Hex选项,在左边( 和选项的DWORD)如果你想知道什么是“A0”,然后键入A0检查“DEC”在左边的选项,您的结果将是“160”的红色,怎么做呢?

- w2 L0 R0 M, a: T7 [  D7 e3 L0 b) R
Hope this helped a bit?希望这有助于一点了吗? I did not spoonfeed, this wasmeant to be written for average users.我没有spoonfeed,这意味着要为普通用户编写的。 ( m' l: R  C* q/ _* s' p

6 A( @5 Q5 v5 _2 {9 A$ ^  B: C
@ABSOLUTE NOOBS: If you can't understand everything,don't worry, it was meant to be @绝对NOOBS:如果你不能明白了一切,不用担心,它本来是

% c: _2 n- T& J* s6 ^0 X
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|飞飞世界技术论坛  

GMT+8, 2024-5-4 07:55 , Processed in 0.060061 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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