Multi-step monologues for NPCs?

Power to the Player!
User avatar
nephy13
Posts: 137
Joined: Sun Oct 15, 2006 12:31 am

Re: Multi-step monologues for NPCs?

Post by nephy13 »

Well, I could find no reference in the scenarios to the @{RGBA} business, but I tested it out anyway and it seems to work fine. Works for broadcast or spoken dialog in the chat window but not for chat-bubbles.

[For those who aren't programmers, I'll explain it in detail]
Where R is the red hexadecimal value from 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F (Where 0 means no red and F is maxium red).
G is the green value 0-F
B is the blue value 0-F
A is the alpha (or transparency value) where 0 is invisible and F in fully opaque.

Example (I'll leave you to guess what it looks like! hehe!):
@{F00F}Red! @{0F0F}Green! @{00FF}Blue! @{888F}Grey! @{0FF8}Semi-transparent cyan @{FFFF}Back to normal solid white

Remember, if you are just making a single word or phrase coloured, then you need to use @{FFFF} to reset to normal text after that word.

Incidentally, the system doesn't care if you enter @{ffff} or @{FFFF}. Case is not important.
Last edited by nephy13 on Tue Nov 28, 2006 2:24 am, edited 1 time in total.
Trying to take over Cho by force of alts alone:Gwillim, a Tryker swashbuckler and Captain [leader] of The Blackwater Buccaneers
Gwyneth, a Tryker sorceror in The Blackwater Buccaneers (Guild recruiter at the Ruins of Silan)
Sal, a Fyros surgeon in The Blackwater Buccaneers
Lonk, a Zoraï hunter in [thread=26562]Divine Indignation[/thread]
User avatar
kaetemi
Posts: 1547
Joined: Tue Sep 21, 2004 6:33 pm

Re: Multi-step monologues for NPCs?

Post by kaetemi »

nephy13 wrote:Works for broadcast or spoken dialog in the chat window but not for chat-bubbles.
And plotitem descriptions (and scenario title and description last time i tried...)
- Kaetemi [Kami] [Fyros] [Elder of Atys] [NeL Developer]
Rebuild the Kami faction and save Atys from the Karavan! Join the Kami Alliance! Freedom to the Players!
User avatar
seawe
Posts: 317
Joined: Sat Oct 02, 2004 4:12 am

Re: Multi-step monologues for NPCs?

Post by seawe »

cool :) ty
~ Whispering Windes ~

.:WorldofRyzom.com:. | [thread=33866]G'Morning Atys Music Mix[/thread] | -
Raising Dragonlings to set free on Atys:
Cratchagon | Lakelands Nellie
Post Reply

Return to “The Ryzom Ring”