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

标题: 【こうしんりょう】随机记录..... [打印本页]

作者: 125269qwe    时间: 2012-8-4 16:07:22     标题: 【こうしんりょう】随机记录.....

template syl notext noblank,!retime("syl",0,0)!!maxloop(linenum)!{\an5\pos(!$center+math.random(-3,3)!,!$middle+math.random(-3,3)!)\be2\t(\alpha&HFF&\be5)\fnAria\c!color3!\3c!color3!\clip(0,0,640,!barheight!)\fscx300\fscy!math.random(50,100)!\frz!math.random(-70,70)!\fry!math.random(-20,20)!\p1}m 0 0 l 640 0 640 3 0 3 0 0
作者: 125269qwe    时间: 2012-8-5 14:10:31

本帖最后由 125269qwe 于 2012-8-5 14:10 编辑
  1. shape="m 97 0 b 96 25 76 56 60 73 b 46 87 31 96 19 88 b 12 94 7 97 1 101 l 0 99 b 6 95 11 92 17 86 b 11 65 27 50 35 42 b 58 23 77 5 97 0 "
  2. !maxloop(math.random(5,7))!{\an1!randsize(80,120)!!move_feather($sleft,$sbottom-60,2000,false)!\alpha!_G.ass_alpha(math.random(20,100))!\bord0\be2\p2}!shape!
  3. !maxloop(math.random(7,10))!{\an1!randsize(50,90)!!move_feather($sleft,$sbottom-60,3000,true)!\1c!(math.random(4)==1) and colors[math.random(#colors)] or colors[$si%#colors+1]!\alpha!_G.ass_alpha(math.random(20,100))!\bord0\blur2\p2}!shape!
  4. !retime("postsyl",0,300)!!maxloop(math.floor($width/3))!{\an5!burst($top,$left,$bottom,$right,25,10)!\3c&HECE25E&\blur2\fad(0,300)\fnArial\fs35}・
复制代码

作者: 125269qwe    时间: 2012-8-5 14:17:02

$x:词的 X坐标; 
$y:词的 Y坐标; 
$start: K的开始时间; 
$end:  K 的结束时间; 
$mid:  K的时间中间点; 
$kdur 和$dur,$kdur*10  =  $dur

Preline     行的时间开始点
start2syl  行开始时间点到每个词的 K 开始时间点的一段时间
Presyl      K的开始时间点
Postsyl   K 的结束时间点
syl2end   每个词的 K 结束时间点到行结束时间点的一段时间
Postline   行的结束时间点
!retime("sylpct",50,100)!
两个数的取值范围为 0‐100,取值是 K 值的百分之几。前面一个数控制词的开始时间,后面一个控制结束时间。
作者: 125269qwe    时间: 2012-8-16 03:05:01

  1. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char noblank,!char_counter(1)!!retime("start2syl",-1700+(ci[1]-1)*45,0)!{\1a&HFF&\1vc(!line.styleref.color1!,!line.styleref.color1!,!line.styleref.color2!,!line.styleref.color2!)\bord3}{\an5\moves4(!$scenter+70!,$smiddle,!$scenter+70!,!$smiddle-150!,$scenter,!$smiddle+120!,$scenter,$smiddle,0,1000)\fad(230,0)}
复制代码
  1. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char noblank,!char_counter(2)!!retime("start2syl",-1700+(ci[2]-1)*45,0)!{\1vc(!line.styleref.color1!,!line.styleref.color1!,!line.styleref.color2!,!line.styleref.color2!)\bord3}{\an5\moves4(!$scenter+70!,$smiddle,!$scenter+70!,!$smiddle+150!,$scenter,!$smiddle-120!,$scenter,$smiddle,0,1000)\fad(230,0)}
复制代码

作者: 125269qwe    时间: 2012-8-16 03:22:21

  1. Comment: 0,0:00:00.00,0:00:00.00,ED-Romanji,flowers,0000,0000,0000,code line,math.randomseed(_G.os.time()*line.kara.n); flowersizemin = math.floor(line.height*0.75); flowersizemax = math.floor(line.height*1.25); falltime = math.floor(line.duration/line.kara.n); flowersize = 0; function rndsize() flowersize = math.random(flowersizemin,flowersizemax); return "" end
  2. Comment: 0,0:00:00.00,0:00:00.00,ED-Romanji,,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end
  3. Comment: 0,0:00:00.00,0:00:00.00,ED-Romanji,,0000,0000,0000,code line all,ci = { 0 }; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
  4. Comment: 0,0:00:00.00,0:00:00.00,ED-Romanji,flowers,0000,0000,0000,template syl noblank notext loop 10,!retime("syl",0,falltime)!!rndsize()!{\an5\move(!math.random($sleft,$sright)!,!math.random($stop,$sbottom)!,!$scenter+math.random(0,$height*9)!,!$smiddle+math.random($height*0.5,$height*1.5)!)\1a&HFF&\fscx0\fscy0\t(0,$sdur,\1a&H33&\fscx!flowersize!\fscy!flowersize!\frz!(j%2*2-1)*math.random(135,180)!)\t($sdur,!$sdur+falltime!,\alpha&HFF&\frx!math.random(-270,270)!\fry!math.random(-270,270)!\frz!(j%2*2-1)*math.random(270,360)!)}{\shad0\bord0\1c!line.styleref.color4!\p1}m 35 41 b 32 40 31 41 29 40 b 25 40 22 38 18 35 b 16 32 13 27 13 24 b 13 22 13 21 14 20 b 17 21 18 22 20 22 b 19 20 19 20 18 17 b 21 16 23 16 23 16 b 26 18 29 19 32 24 b 34 29 35 32 34 35 b 34 38 34 39 35 41
  5. Comment: 0,0:00:00.26,0:00:00.26,ED-Romanji,Sakura,0000,0000,0000,template notext noblank fxgroup sakuraroi loop 5,!retime("syl",0,800)!{\alpha&HFF&\blur4\t(0,!$dur/5!,\alpha0\blur0)\fr!-(360/maxj)*(j-1)!\t(0,1000,\fr!-(360/maxj)*(j-1)-90!)\t(1000,3000,\fr!-(360/maxj)*(j-1)-360!)\t(3000,10000,\fr!-(360/maxj)*(j-1)!\c&HFFFFFF&)\c!line.styleref.color4!\an5\move($scenter,$smiddle,!$scenter+math.random(-80,50)!,!$smiddle+math.random(-80,130)!,$dur,!$dur+800!)\t($dur,!$dur+800!,\fscx0\fscy0)\shad0\bord0\fad(0,300)\p1\be1\an5}m 12 15 b 15 16 16 15 18 16 b 22 16 26 18 30 21 b 32 24 35 29 35 32 b 35 34 35 35 34 36 b 31 35 30 34 28 34 b 29 36 29 36 30 39 b 27 40 25 40 25 40 b 21 38 18 37 15 32 b 13 27 12 24 13 21 b 13 18 13 17 12 15
  6. Comment: 0,0:00:00.26,0:00:00.26,ED-Romanji,Falling,0000,0000,0000,template notext noblank loop 5,!retime("syl",0,800)!{\t(0,$dur,\fscx75\fscy75)\t($dur,!$dur+800!,\fscx35\fscy35)\alpha&HFF&\blur4\t(0,!$dur/5!,\c&HFFE7FD&\alpha0\blur0)\fr!-(360/maxj)*(j-1)!\t(0,1000,\c!line.styleref.color4!\fr!-(360/maxj)*(j-1)-90!)\t(1000,3000,\fr!-(360/maxj)*(j-1)-360!)\c!line.styleref.color4!\an5\move(!$scenter+math.random(-30,30)!,!$smiddle-math.random(30,90)!,!$scenter+math.random(-80,50)!,!$smiddle+math.random(80,130)!,0,!$dur+800!)\fscx35\fscy35\shad0\bord0\fad(0,300)\p1\be1\an5}m 35 41 b 32 40 31 41 29 40 b 25 40 22 38 18 35 b 16 32 13 27 13 24 b 13 22 13 21 14 20 b 17 21 18 22 20 22 b 19 20 19 20 18 17 b 21 16 23 16 23 16 b 26 18 29 19 32 24 b 34 29 35 32 34 35 b 34 38 34 39 35 41
  7. Comment: 2,0:00:00.00,0:00:00.00,ED-Romanji,,0000,0000,0000,template char noblank,!retime("start2syl",-1000+($si-1)*150,0)!{\1c!line.styleref.color3!\fry100\be1\fscx0\fscy0\bord0\1a&H06&\an5\move(!$center-50!,!$middle+math.random(-50,50)!,$scenter,$smiddle,0,500)\t(0,500,\fscx100\fscy100\1c!line.styleref.color1!\bord!line.styleref.outline!\fry0)}
  8. Comment: 1,0:00:00.00,0:00:00.00,ED-Romanji,fall char,0000,0000,0000,template char noblank,!retime("syl",0,500)!{\1a&H06&\c!line.styleref.color4!\shad0\bord0\org(!$center-30!,$middle)\an5\move($center,$middle,!$center+math.random(-30,30)!,!$middle+math.random(90,130)!)\t(0,!$dur/2!,\frx60\fscx150\fscy150)\t(!$dur/2!,$dur,\blur1\frx0\fscx100\fscy100)\t(0,!$dur+400!,\frz-30\fry30\frx50\fr30)\fad(0,200)}
  9. Comment: 1,0:00:00.00,0:00:00.00,ED-Romanji,2light,0000,0000,0000,template char noblank,!retime("syl",0,0)!{\org(!$center-30!,$middle)\an5\pos($center,$middle)\t(0,!$dur/2!,\c!line.styleref.color4!\frx3\blur3\fscx150\fscy150)\t(!$dur/2!,$dur,\c!line.styleref.color1!\frx0\fscx100\fscy100\blur0\alpha&H66&)}
  10. Comment: 1,0:00:00.00,0:00:00.00,ED-Romanji,end,0000,0000,0000,template noblank,!retime("syl2end",0,0)!{\an5\pos($center,$middle)\alpha&H66&\fad(0,300)}
复制代码

作者: 125269qwe    时间: 2012-8-24 09:47:26

本帖最后由 125269qwe 于 2012-8-24 09:52 编辑
  1. Comment: 1,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank,!retime("start2syl",-400+100*$si,0)!{\bord0\fad(300,0)\move($x,!$y-20!,$x,$y,0,300)}
  2. Comment: 1,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank,!retime("syl",0,0)!{\bord3\blur3\3c&HFFFFFF&\t(\3c!line.styleref.color3!)\pos($x,$y)}
  3. Comment: 1,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank,!retime("syl2end",0,-100*($syln-$si))!{\pos($x,$y)}
  4. Comment: 1,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank,!retime("postline",-100*($syln-$si),200-100*($syln-$si))!{\an5\pos($center,$middle)\bord0\t(\blur2\fscx80\fscy80)\fad(0,200)}
  5. Comment: 1,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank,!retime("syl2end",0,400-100*($syln-$si))!{\an5\pos($center,$middle)\bord3\blur3\1a&HFF&\fad(0,400)}
  6. Comment: 2,0:00:00.00,0:00:00.00,Romaji,,0000,0000,0000,template syl noblank notext,!maxloop(25)!!retime("syl",0+(j-1)*math.floor(($sdur+300)/100),300+(j-1)*math.floor(($sdur+300)/100))!{\an5\move(!math.floor($left-$swidth*0.15)!,!math.floor($bottom-$sheight*0.15)!,!math.floor($right+$swidth*0.2)!,!math.floor($top+$sheight*0.2)!)\t(\frz360)\org(!math.floor($center-$swidth*0.1)!,!math.floor($middle-$sheight*0.1)!)\p2\bord0\alpha!_G.ass_alpha(math.floor(0.5*(j-10)^2))!\fad(0,!400+(j-1)*math.floor(($sdur+300)/100)!)\c!(j>10) and _G.ass_color(_G.HSV_to_RGB(179,(j-10)/50,1)) or ""!}m 0 5 b 0 1 3 0 5 0 b 7 0 10 1 10 5 b 10 9 7 10 5 10 b 3 10 0 9 0 5
复制代码
  1. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,code line,count={0,0,0} function inc(index) count[index]=count[index]+1 return count[index] end
  2. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char,!retime("preline",-300+20*inc(1),20*count[1])!{\bord0\fad(300,0)\move($x,!$y-20!,$x,$y,0,300)}
  3. Comment: 1,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char,!retime("line",20*inc(2),-350+20*count[2])!{\pos($x,$y)\fad(250,300)\1a&HFF&\be3\fscx140\fscy140\t(0,300\fscx100\fscy100)}
  4. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char,!retime("line",20*inc(3),-350+20*count[3])!{\pos($x,$y)\bord0\fad(0,300)}
复制代码

作者: 125269qwe    时间: 2012-10-16 14:35:45

  1. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,code once,hikari = "m 0 0 b 23 25 35 37 60 60 b 37 35 25 23 0 0 m 60 0 b 35 23 23 35 0 60 b 25 37 37 25 60 0"
  2. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end
  3. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,code line all,ci = {0,0}; cn = _G.unicode.len(orgline.text_stripped:gsub("",""))
  4. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template notext noblank loop 25,!retime("syl",0+($dur/maxj)*j,400-($dur/maxj)*j)!{\an5\pos(!$center+math.random(-syl.width*0.5,syl.width*0.5)!,!$middle+math.random(-40,40)!)\fad(0,300)\bord0\blur2\p1}!hikari!
  5. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char,!char_counter(1)!!retime("start2syl",-600+(ci[1]-1)*30,0)!{\an5\move(!$center+10!,!$middle-35!,$center,$middle,30,300)\fad(300,0)\fscx40\fscy40\c&HFFFFFF&\3c&HD586FF&\blur3\frz-190\t(0,300,\frz0\fscx100\fscy100)}
  6. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template,!retime("syl",0,0)!{\an5\move($center,!$middle-30*(-1)^(syl.i+1)!,$center,$middle)\c&HFFFFFF&\3c&HD586FF&\blur3}
  7. Comment: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,template char,!char_counter(1)!!retime("syl2end",0,-200+(ci[1]-1)*20)!{\an5\pos($center,$middle)\fad(0,200)\c&HFFFFFF&\3c&HD586FF&\blur3}
复制代码

作者: 125269qwe    时间: 2012-11-25 00:56:22

快毕业了,很多事情要忙,相对的特效的学习方面的时间很难分配了.........
不过兴趣未减,这对于我来说是很好的。
能坚持下去是一件快乐的事情。
作者: 2016dragon    时间: 2016-6-1 21:57:27

我看得头晕




欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://tcax.org/) Powered by Discuz! X2