TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 5312|回复: 1
打印 上一主题 下一主题

求助,Aegisub特效脚本的应用问题。 [复制链接]

Rank: 4

跳转到指定楼层
楼主
发表于 2013-7-22 01:40:50 |只看该作者 |倒序浏览
那天在论坛里下载了一个脚本打包的文件。找了里面的几个喜欢的特效练手。
可是,有些脚本在apply karaoke template后,没有反应。
字幕没有任何特效,还是原本的那种。
不知道是不是我在哪个方面操作有问题~
请大神指教~




脚本是这样子的:



Comment: 0,0:00:00.00,0:00:00.00,Default,PJDancefloor,0000,0000,0000,,Khi sử dụng ghi nguồn effect : PJDancefloor! :))
Comment: 0,0:00:00.00,0:00:00.00,Default,PJDancefloor,0000,0000,0000,,Only available in VSFilterMod! :))
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,-----------------------------------------------------------------------------
Comment: 0,0:00:00.00,0:00:00.00,Default,FX1,0000,0000,0000,code line all,function AutoTags(Intervalo,Dato1,Dato2)            local RESULTADO=""     local SUERTE = 0     local CONTADOR = 0     local ARREGLO = 0                           local count = math.ceil(line.duration/Intervalo)                                         ARREGLO = {Dato1,Dato2}                                          for i = 1, count do               CONTADOR = i                                            if Dato1 and Dato2 then                                             if  CONTADOR%2 ==0 then                                                                    SUERTE = ARREGLO[1]                                            else                                                                    SUERTE = ARREGLO[2]                                            end                            end                                                 RESULTADO = RESULTADO .."\\t(" ..(i-1)*Intervalo.. "," ..i*Intervalo.. ",\\" ..SUERTE..")"..""                                  end                              return RESULTADO                                             end
Comment: 0,0:00:00.00,0:00:00.00,Default,FX1,0000,0000,0000,template char noblank multi,!retime("start2syl",250-($syln-$si)*100,0)!{\an5\move(!$scenter+math.random(-100,100)!,!$smiddle+math.random(-100,100)!,$scenter,$smiddle,0,300)\fad(300,0)\fsc!math.random(100,150)!\t(0,300,\fsc100)}
Comment: 13,0:00:00.00,0:00:00.00,Default,FX1,0000,0000,0000,template noblank multi,!retime("syl",0,300+($si-1)*45)!{\an5\pos($center,$middle)c&HFFFFFF&\3c&HFFFFFF&\blur4\bord4\fscx125\fscy125\t(50,!$dur!,\fscx100\fscy100\c&000000&\3c&H000000&\bord2\blur0)\fad(0,300)}{!AutoTags(100,'c&HFFFFFF&\\3c&HFFFFFF&\\blur4\\bord4','c&HFFFFFF&\\3c&H000000&\\blur0\\bord2')!}
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,-----------------------------------------------------------------------------
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end ;
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,code line all,ci = {0,0}; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,template char noblank,!char_counter(1)!!retime("start2syl",-500+(ci[1]-1)*40,0)!{\pos($scenter,$smiddle)\an5\fry-360\alpha&ff&\bord0\blur1\t(0,300,\alpha&0&\fry0\blur0)}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,template noblank char multi,!retime("syl",0,0)!{\pos($scenter,$smiddle)\an5\t(0,!line.duration!,\be1\blur0\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,template noblank char multi,!retime("syl",0,j*20)!{\pos($scenter,$smiddle)\an5\blur5\bord3\be3\1vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)\fsc150\t(!line.duration/4*2!,!line.duration!,\alpha&ff&\be1\fsc150\blur0\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&))}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX2,0000,0000,0000,template noblank char,!retime("syl2end",0,300)!{\move($scenter,$smiddle,!$scenter+math.random(-100,100)!,!$smiddle+math.random(-100,100)!,!line.duration-math.random(250,300)!,!line.duration!)\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)\be1\an5\t(!line.duration-250!,!line.duration!,\alpha&ff&\bord0\blur!math.random(3,15)!\fsc!math.random(50,80)!)}
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,-----------------------------------------------------------------------------
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end ;
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,code line all,ci = {0,0}; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,template char noblank,!char_counter(1)!!retime("start2syl",-500+(ci[1]-1)*40,0)!{\move(!$scenter-100!,$smiddle,$scenter,$smiddle,0,350)\an5\fsc250\frz-25\bord0\blur1\t(0,350,\fsc100\frz0)}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,template noblank char multi,!retime("syl",0,0)!{\pos($scenter,$smiddle)\an5\t(0,!line.duration!,\be1\blur0\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,template noblank char multi,!retime("syl",0,j*20)!{\pos($scenter,$smiddle)\an5\t(\t(0,!(line.duration-100)/3*2!,\fsc180\blur5\bord1\be3\1vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&))\t(!(line.duration-100)/3!,!line.duration!,\be1\fsc100\blur0\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&))}{!AutoTags(100,'c&HFFFFFF&\\3c&HFFFFFF&\\blur4\\bord4','c&HFFFFFF&\\3c&HFFFFFF&\\blur0\\bord2')!}
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,template noblank char,!retime("syl2end",0,300)!{\move($scenter,$smiddle,!$scenter+math.random(-50,50)!,$smiddle,!line.duration-250!,!line.duration!)\bord3\1vc(&H4F4BFF&,&HFFFFFF&,&HFFFFFF&,&H4F4BFF&)\3vc(&HFFFFFF&,&HFFFFFF&,&HFFFFFF&,&HFFFFFF&)\be1\an5\t(!line.duration-250!,!line.duration!,\alpha&ff&\bord0\blur5\be5\fsc80)}
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,-----------------------------------------------------------------------------
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end ;
Comment: 0,0:00:00.00,0:00:00.00,Default,FX3,0000,0000,0000,code line all,ci = {0,0}; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,-----------------------------------------------------------------------------
Comment: 0,0:00:00.00,0:00:00.00,Default,Translation Effect,0000,0000,0000,template noblank char,!char_counter(1)!!retime("line",-500+(ci[1]-1)*45,300)!{\move(!$scenter+math.random(-100,100)!,$smiddle,$scenter,$smiddle,0,300)\fry-360\an5\alpha&ff&\t(0,300,\alpha&0&\fry0)\fad(0,300)}

Rank: 6Rank: 6

沙发
发表于 2013-7-22 21:09:33 |只看该作者
本帖最后由 zxdfcgv 于 2013-7-22 21:10 编辑

FX Circus - PJdancefloor.rar (1.66 KB, 下载次数: 1466)

这个脚本吧,首先套板子这种问题我真心不想讲

说另外的几个问题:
1:脚本默认1600*480长分辨率,注意更改

2:脚本包含4个效果,FX1~FX3  和一个 translation行特效,样式都为Default,注意更改样式的名称区别开,否则,字幕样式如果为Default的话,4个效果会重叠在一起

3脚本说明了 Only available in VSFilterMod! 所以挂MOD预览和压制
1

查看全部评分

您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-11-23 01:15

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH