Author Topic: ASS tags  (Read 2187 times)

0 Members and 1 Guest are viewing this topic.

Offline Youka

  • Administrator
  • Advanced
  • *****
  • Posts: 169
    • Youkas forum
    • Youtube's channel
    • Youtube's channel
ASS tags
« on: 10. October 2011, 09:14:19 »
Legend
Values to insert are italic
Tags are bold
Descriptions are normal
Orange values are optional

Escape sequences
\NNewline
\nWrap style 2: New Line; else: Empty Space
\hEmpty space

Override tags
\b0/1
\i0/1
\u0/1
\s0/1
\bordFLOAT NUMBER
\xbordFLOAT NUMBER
\ybordFLOAT NUMBER
\shadFLOATNUMBER
\xshadFLOAT NUMBER
\yshadFLOATNUMBER
\beINTEGER NUMBER
\blurFLOAT NUMBER
\1cBLUEGREENRED (HEXADEZIMALCODE)
\2cBLUEGREENRED (HEXADEZIMALCODE)
\3cBLUEGREENRED (HEXADEZIMALCODE)
\4cBLUEGREENRED (HEXADEZIMALCODE)
\cBLUEGREENRED (HEXADEZIMALCODE)
\1aALPHA (HEXADEZIMALCODE)
\2aALPHA (HEXADEZIMALCODE)
\3aALPHA (HEXADEZIMALCODE)
\4aALPHA (HEXADEZIMALCODE)
\alphaALPHA (HEXADEZIMALCODE)
\frzFLOAT NUMBER
\frFLOAT NUMBER
\frxFLOAT NUMBER
\fryFLOAT NUMBER
\faxFLOAT NUMBER
\fayFLOAT NUMBER
\fscxINTEGER NUMBER
\fscyINTEGER NUMBER
\org(X, Y)
\fnNAME
\fsINTEGER NUMBER
\feINTEGER NUMBER
\fspINTEGER NUMBER
\an1-9
\a1-3/5-7/9-11
\rNAME
\q0-3




\pos(X, Y)
\move(X1, Y1, X2, Y2, TIME1, TIME2)
\fad(DURATION1, DURATION2)

\fade(ALPHA1, ALPHA2, ALPHA3, TIME1, TIME2, TIME3, TIME4)



\t(TIME1, TIME2, ACCELERATION,TAGS)
\clip(SCALE, X1, Y1, X2, Y2)

\clip(SCALE, DRAW COMMAND)
\iclip(SCALE, X1, Y1, X2, Y2)

\iclip(SCALE, DRAW COMMAND)
\pINTEGER NUMBER


\pboINTEGER NUMBER
\kINTEGER NUMBER
\kfINTEGER NUMBER
\koINTEGER NUMBER
\ktINTEGER NUMBER
Bold?
Italic?
Underline?
Strikeout?
Bordersize
Horizontal bordersize
Vertical bordersize
Range of shadow (right-down)
Range of shadow (horizontal)
Range of shadow (vertical)
Strength of 2D binomial blur
Strength of gaussian blur
Inner color
Karaoke color
Border color
Shadow color
Inner color (like \1c)
Inner transparency
Karaoke transparency
Border transparency
Shadow transparency
Inner/Karaoke/Border/Shadow transparency
Rotation about z-axis
Rotation about z-axis
Rotation about x-axis
Rotation about y-axis
Shearing about x-axis
Shearing about y-axis
Width in percent [others filters than VSFilter support floating numbers]
Height in percent [others filters than VSFilter support floating numbers]
Orientation point for transformation
Fontname
Fontsize
Fontencoding
Spacing between characters
Alignment (see number keyboard)
Old alignment of SSA (ignore it!)
Loads style and cancels style tags before
Wrap style
VALUE = 0: Texts have equal wide (if not possible, top line is wider)
VALUE = 1: Texts fill each line as much as possible
VALUE = 2: Texts can extend beyound the edges of screen
VALUE = 3: Texts have equal wide (if not possible, bottom lines are wider)
Position point
Move from first point to second point during first time to second time
Fading in: Start time of line until end of first duration
Fading out: End time of line minus second duration until end time of line
Hint: Alpha values are decimal here (0-255 / visible-invisible)
At the beginning: First alpha value
First fade: first time until second time change to second alpha value
Second fade: third time until fourth time change to third alpha value
From first time to second time, with acceleration, object format changes by new override tags
Just clipping area visible
(rectangle with first point is top-left corner and second point is bottom-right corner)
Now clipping area is a drawing instead of a rectangle
Just clipping area invisible
(rectangle with first point is top-left corner and second point is bottom-right corner)
Now clipping area is a drawing instead of a rectangle
VALUE > 0: Toggle text field to drawing command line
Drawing will be scaled down with factor 2^(VALUE-1)
VALUE = 0: Toggle text field back to text
Shifting drawing on y-axis
Karaoke duration (VALUE*10)
Karaoke duration (VALUE*10) *inner fill*
Karaoke duration (VALUE*10) *inner/outline fill*
Resets real start time of current karaoke text (VALUE*10)

Shape commands
m X Y
n X Y
l X Y
b X1 Y1 X2 Y2 X3 Y3
s X1 Y1 X2 Y2 X3 Y3 ... Xn Yn
p X Y
c
Move to point (closing current shape)
Move to point (without closing current shape)
Line to point
Bezier curve along point one and two to point three
Cubic curve along n-1 points to point n
Extend bezier curve to point
Closing current shape

Hints
  • Possible transformations with \t:
    -->Colors: \1c, \2c, \3c, \4c, \c
    -->Alpha: \1a, \2a, \3a, \4a, \alpha
    -->Border: \bord, \xbord, \ybord
    -->Shadow: \shad, \xshad, \yshad
    -->Transformations: \frz, \frx, \fry, \fax, \fay, \fscx, \fscy
    -->Blur: \be, \blur
    -->Font: \fs, \fsp
    -->Clips (rectangle): \clip, \iclip
  • Coordinates reach until 1/8 units (except drawing code)
  • Blur affects outline, but if there's no outline, it affects the whole object (text or shape)
  • If there's no \org defined, the anchor point of alignment is the orientation point for transformations
  • All times are in milliseconds
« Last Edit: 25. September 2012, 21:26:04 by Youka »
Yandere > Genki-Girl > Tsundere > Deredere > Dandere > Kuudere