VSFilterMod中文说明文档提供:ASS特效研习社:网址:(这个站最近服务器坏了,以后再上)临时网址:(欢迎加入)Fontscale字体缩放\fscscaleSimilartoaggregate\fscxscale\fscyscale.Animatableby\t.效果与同时使用\fscxscale\fscyscale相同。可用\t实现动态效果。Example例子\fsc200—makethetextdoublesize.\fsc200—字体放大到原来的两倍。Leading纵向偏移\fsvpleadingChangestextleading.Animatableby\t.改变文字的纵向偏移。可用\t实现动态效果。Example例子1.{\r\fsvp0}\fsvp0{\r\fsvp10}\fsvp10{\r\fsvp-10}\fsvp-10复制代码1.{\r\fsvp10}\fsvp10{\r\frz10}\frz10{\r\fsvp0}\fsvp0{\r\fsvp-10}\fsvp-10复制代码Baselineobliquity基线倾斜\frsangleCharacter'sbaselineobliquity.Rotationanchordependsfromstyledefinitionand\antag.Animatableby\t.文字的基线倾斜。选择方向取决于style设定和\an特效。可用\t实现动态效果。(曲奇:这里style是指style中设定对齐方法的参数(Alignment),与\an效果相同)Example例子1.{\frs90\frz-90}\frs90\frz-90复制代码1.{\frs45\frz-45\fsp5}\frs45\frz-45\fsp5复制代码ZcoordinateZ坐标\zargSetszcoordinate.Itmaybesignifiedasadistancefromscreentotext.It'snoticeableincaseofusing\frxand\frytags.Animatableby\t.设置Z坐标。它可能表示文字到屏幕的距离。结合\frx和\fry效果更显著。可用\t实现动态效果。(其实和真正意义上的z轴相比效果上有偏差——艾注)Example例子1.{\z100\t(\z0\frx360)}a复制代码1.{\z100\t(\z0\fry360)}a复制代码Distortion扭曲\distort(u1,v1,u2,v2,u3,v3)Distortstextbymovingcornerpinstospecifedrelativecoordinates.Animatableby\t.扭曲文字是通过移动角上坐标具体确定相对的坐标。可用\t实现动态效果。Example例子1.{\distort(1,0,1.2,1,-0.2,1)}\distort(1,0,1.2,1,-0.2,1)复制代码1.{\distort(1,-0.3,1,1.3,0,1)}\distort(1,-0.3,1,1.3,0,1)复制代码1.{\distort(1,0,1.1,1,0.1,1)}\distort(1,0,1.1,1,0.1,1)复制代码Boundariesdeforming边界变形\rndarg\rndxarg\rndyarg\rndzargMovesborderpointsonrandomnumberofpixelsfrom(-arg,arg)intervalinselecteddirection.Animatableby\t.在选定的区间内(-arg,arg)随机移动边界上的像素。可用\t实现动态效果。Example例子1.{\r\rnd1}\rnd1{\r\rndx1}\rndx1{\r\rndy1}\rndy1{\r\rndz1}\rndz1\N{\r\rnd3}\rnd3{\r\rndx3}\rndx3{\r\rndy3}\rndy3{\r\rndz3}\rndz3\N{\r\rnd5}\rnd5{\r\rndx5}\rndx5{\r\rndy5}\rndy5{\r\rndz5}\rndz5\N{\r\rnd10}\rnd10{\r\rndx10}\rndx10{\r\rndy10}\rndy10{\r\rndz10}\rndz10\N{\r\rnd15}\rnd15{\r\rndx15}\rndx15{\r\rndy15}\rndy15{\r\rndz15}\rndz15复制代码Gradients渐变\$vc(left-top-color,right-top-color,left-bottom-color,right-bottom-color)\$va(left-top-transparency,right-top-transparency,left-bottom-transparency,right-bottom-transparency)Createsgradientsbyusinganchorcolorsoropacitylevels.Maybeslow.Animatableby\t.用颜色或透明度创建渐变。可能渲染时比较慢。可用\t实现动态效果。(已修复与\fad的兼容问题。调整RRGGBB为BBGGRR。$的取值1-4,分别表示主要颜色、次要颜色、边框、阴影。)Example例子1.{\r\1vc(00FFFF,FFFF00,FF00FF,000000)}\1vc(00FFFF,FFFF00,FF00FF,000000)\N{\r\1vc(00FFFF,000000,00FFFF,000000)}\1vc(00FFFF,000000,00FFFF,000000)\N{\r\1vc(FFFFFF,FFFFFF,000000,000000)}\1vc(FFFFFF,FFFFFF,000000,000000)\N{\r\1vc(0000FF,000000,000000,0000FF)}\1vc(0000FF,000000,000000,0000FF)\N{\r\3va(FF,FF,00,00)}\3va(FF,FF,00,00)\N{\r\3va(FF,00,FF,00)}\3va(FF,00,FF,00)复制代码Imagesinsteadofcolorfills图片替代颜色填充\$img(path_to_png_file[,xoffset,yoffset])Replacescolorfillwithrepeatedimagepattern.Parametersareslashed(/)pathtoimageandoptionalfill'sbaseoffset.Pathmayberelativetocurrentsubtitlefilelocation.FirstVSFilterModloadsattachedimagesandiffailstrystofindthemlocaly.VSFilterModsupportsonly24or32bittruecolorpngswithorwithouttransparencychannel.Offsetisanimatableby\t.Notethat\beand\blurtagwillnotblurimagebutonlymaskwhichisusedtoplacefill.替代颜色填充重复的图片图案。参数为图片路径(用(/)分隔)和可调整填充的基本偏移量。路径可能是相对于当前字幕文件的位置。首先VSFilterMod加载附加的图片,如果失败尝试在本地找到他们。VSFilterMod只支持24或32位带或不带透明通道的真彩色png格式的图片。偏移量是可用\t实现动态效果。请注意\be和\blur不能模糊图片,只能模糊被图片填充的那个边框。Example例子1.{\3vc(&HFF00FF&,&HFFFF00&,&H00FFFF&,&HFFFFFF&)\1img(D:/as.png,0,0)\pos(300,250)\bord10\p1}m-1500b-150-80-80-1500-15080-150150-80150-115080801504150-80150-15080-1500{\p0}复制代码Polarmove极限移动\mover(x1,y1,x2,y2,angle1,angle2,radius1,radius2[,t1,t2])Itworkslike\movebutnowit'spossibletouserounded,ovalorspiraltrajectories.它跟\move的工作原理一样,但是可以实现圆形、椭圆形或者螺旋形轨迹。Example例子\mover(10,10,60,60,0,0,0,0)—it'sequivalentto\move(10,10,60,60).\mover(10,10,60,60,0,0,0,0)—这个相当于\move(10,10,60,60).\mover(0,0,0,0,-90,0,150,150)—movesrelativelytoupperleftscreencorneralonganarcofacircle(-90,0)withradius150points.\mover(0,0,0,0,-90,0,150,150)—在屏幕左上角沿着一个半径为150像素的圆转过(-90,0)角度。\mover(x1,y1,x2,y2,angle1,angle2,radius1,radius2[,t1,t2])参数解释下x1,y1,x2,y2[,t1,t2]就不解释了angle1开始时旋转角度angle2结束时旋转角度radius1开始时旋转半径radius2结束时旋转半径(该数值早期版本无效,后修正——艾注)Spline-move曲线移动\moves3(x1,x1,x2,y2,x3,y3[,t1,t2])\moves4(x1,x1,x2,y2,x3,y3,x4,y4[,t1,t2])Itmovessubtitlebysplinecurvetrajectory.Functionswiththreeorfourbasepointsareavailable,theyproducecubicorbicubicBeziercurvetrajectory.它用曲线轨迹移动字幕。函数可以带三或四个基点,它们产生三次或四次Bezier曲线轨迹。Shaking抖动\jitter(left,right,up,down,period[,seed])Itperformssubtitlepositionshaking.Firstfourparametersadjustmaximumoffsetineverydirection,fifthparametersetsshakingperiodinmilliseconds,sixthparametersetstheinitialseedforrandomnumbergeneratorsotheformshakingwillnotchangeuponcalls.Animatableby\t.它使字幕位置产生抖动。前四个参数调整在各个方向的最大偏移量,第五个参数设置在毫秒内的抖动周期,第六个参数设置为随机数发生器的初始种子,使之震动的形式保持一致。可用\t实现动态效果。Moveablevectorclip可移动矢量clip\movevc(x1,y1)\movevc(x1,y1,x2,y2[,t1,t2])Itmovesvectorclips(\clip,\iclip)independentlytosubtitles(unaffectedby\moveor\pos).Parame