Guest Phanima Posted November 8, 2010 Share Posted November 8, 2010 hi im german i never saw this scriptcode before. maybe u can help me <header alignx="left" fontsize="14"><tip_red><r name = "name"/> <r name = "seconds"/>s</tip_red></header> Quote Link to comment Share on other sites More sharing options...
Guest mehael Posted November 9, 2010 Share Posted November 9, 2010 It is formated with tags dynamic caption.. Code: <header alignx="left" fontsize="14"> <tip_red> <r name = "name"/> <r name = "seconds"/> s </tip_red> </header> if you added to your addon XXXX.(WidgetTextView).xdb with link to XXXX.txt, and XXXX.txt was formated in html how in your question.. you may add in code this text as simple: Code: YorCaption'sName:SetVal( "name", userMods.ToWString(anyStringVar))YorCaption'sName:SetVal( "second", common.FormatInt(anyMathVar,"%d")) .. I wish you understand me >_< Quote Link to comment Share on other sites More sharing options...
Guest Phanima Posted November 9, 2010 Share Posted November 9, 2010 thank u much y i undestand but i dont get how to use the fulll function of it not only .... colorizing and centre and so on Quote Link to comment Share on other sites More sharing options...
Guest mehael Posted November 10, 2010 Share Posted November 10, 2010 You can to add text's shadow.. it is full functions of it Code: <header alignx = "left" fontsize="14" shadow="1"> <rs class="class"> <tip_yellow> <r name="Name"/> </tip_yellow> </rs> </header> Quote Link to comment Share on other sites More sharing options...
Guest Phanima Posted November 11, 2010 Share Posted November 11, 2010 ty wich collors are aviable in this languafe cause black isnt "tip_black" Quote Link to comment Share on other sites More sharing options...
SLA Posted November 15, 2010 Share Posted November 15, 2010 It is so called "ValuedText" format, which has SGML-compatible syntax, very similar to HTML. Its content must be encoded as UTF-16LE (it is called "Unicode" in MS Notepad), with BOM mark. Capabilities: - Align text horizontally (alignx="left" or "center" or "right") - Align text vertically (aligny="top" or "middle" or "bottom") - Set font size (fontsize="12") - Set font face (fontname = "AllodsWest" (it is default) or fontname = "AllodsSystem"). UPD: Attention! In Eastern AO localizations, there is only one font - "Allods", and it is really Arial Unicode MS renamed to Allods.ttf. - Set font color (color="0xAARRGGBB" or predefined colors like class="tip_green" or tags <tip_green></tip_green>) - Set font outline width (outline="1") - Set font outline color (outlinecolor="0xAARRGGBB") - Set font shadow offset (shadow="1") - Make parahraphs (<p></p>) - Make breaks (<br/>) - Insert icon images (syntax is unknown, sorry) - Define places for Lua variables insertion (<r name="Name"/>) - Etc? For example, here is a string, with font color set to opaque white (you can define ANY color with ANY degree of transparency): Code: <body color="0xFFFFFFFF" alignx="center" fontsize="10" outline="1"><r name="value"/></body> Predefined colors are: - tip_red - tip_white - tip_golden - tip_green - tip_blue - tip_grey - tip_purple - Etc? UPD: More predefined colors: Friendly Neutral Aggressive LogColorBlue LogColorBrown LogColorCian LogColorGold LogColorGreen LogColorLightGreen LogColorMagenta LogColorOrange LogColorPink LogColorWhite LogColorYellow Quote Link to comment Share on other sites More sharing options...
Guest Phanima Posted November 24, 2010 Share Posted November 24, 2010 Thanks for ur reply helped me very much Quote Link to comment Share on other sites More sharing options...
Nikon Posted February 8, 2011 Share Posted February 8, 2011 SLA, ты с тех пор больше ничего нового не обнаружил в тегах? Как бы сделать горизонтальную табуляцию? Банальные пробелы не канают, если стоят в начале текста Quote Link to comment Share on other sites More sharing options...
Recommended Posts