Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
client color character
|
Author |
Message |
Novocaine
Apprentice
Posts: 3
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Mar 2014
Reputation: 0
New Hera Reborn
|
client color character
Hi,
I'm trying to find out if is possilbe to set in client the color "orange" for guilds who have the same alignment, but are in war each other.
We are trying to remove the guild alignment, setting all the guilds to neutral, but we wish to keep the client colors for the in war guilds.
i.e.
A guild and B guild are neutral, but in war. Actually A and B can see each other in green due to the alignment, but i wish to set it to orange.
is it possible to do?
I have tried to use the tag.override.noto tag, but i saw that reads the noto_types defined in sphere_defs.scp
should I add a new def under noto_types?
thank you
|
|
03-29-2014 02:08 AM |
|
|
Novocaine
Apprentice
Posts: 3
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Mar 2014
Reputation: 0
New Hera Reborn
|
RE: client color character
hi there.
i notice that tag.override.noto.uid is not working as intended.
i tried to use @NotoSend to create an event, but is still not working.
Code:
ON=@NotoSend
src.sysdebug src <src.name>, i <i.name>
IF !( <I.UID> == <SRC.UID> )
IF ( <I.HASGUILD> ) && ( <SRC.HASGUILD> )
REF1=<SRC.MEMORYFINDTYPE.MEMORY_GUILD.LINK> //gilda di SRC
REF2=<I.MEMORYFINDTYPE.MEMORY_GUILD.LINK> //gilda di I
IF ( <REF1.UID> == <REF2.UID> ) //se appartengono alla stessa gilda, allora sono alleati
src.SYSMESSAGE <ref1.abbrev> <ref2.abbrev>
IF (<SRC.FLAGS>&statf_criminal)
I.TAG.OVERRIDE.NOTO.<SRC.UID>=4 //MOSTRAMI COME CRIMINAL A SRC
SAY <src.name> CRIMINAL
ENDIF
IF ( <SRC.KILLS> >= 5 )
I.TAG.OVERRIDE.NOTO.<SRC.UID>=6 // MOSTRAMI COME EVIL A SRC
SAY <src.name> EVIL
ENDIF
IF !( <SRC.FLAGS>&statf_criminal ) || ( <SRC.KILLS> < 5)
SAY <src.name> SAME GUILD
I.TAG.OVERRIDE.NOTO.<SRC.UID>=2 //MOSTRAMI COME VERDE A SRC
ENDIF
ELSE
IF ( <REF1.guildfromuid.<I.MEMORYFINDTYPE.MEMORY_GUILD.LINK>.isenemy> )
I.TAG.OVERRIDE.NOTO.<SRC.UID>=5
SAY <src.name> - <SRC.UID> - <SRC.TAG.OVERRIDE.NOTO.<I.UID>> ENEMY
ELSE
SAY <src.name> - <SRC.UID> - <SRC.TAG.OVERRIDE.NOTO.<I.UID>> NON-IN-GUERRA
ENDIF
ENDIF
ENDIF
ENDIF
script passes and "say" comand spam correctly the align intended, tag is also written but not working.
any suggestion?
(This post was last modified: 04-03-2014 05:26 AM by Novocaine.)
|
|
04-03-2014 05:26 AM |
|
|
XuN
Sphere Developer
Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30
|
RE: client color character
|
|
04-03-2014 06:03 AM |
|
The following 1 user Likes XuN's post:1 user Likes XuN's post
Novocaine (04-03-2014)
|
User(s) browsing this thread: 1 Guest(s)