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

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

[完整特效] [jiji]003_Fate/kaleid liner_OP [复制链接]

Rank: 5Rank: 5

跳转到指定楼层
楼主
发表于 2013-11-17 04:27:50 |只看该作者 |倒序浏览
  1. from tcaxPy import *
  2. from s import *

  3. def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
  4.     ASS_BUF = []                # 用于保存ASS特效
  5.             ########文字效果########
  6.     jianbian1 = vc1('FFB9FF','FFB9FF','FFFFFF','FFFFFF')
  7.     #AllColor = (color1("FFFFFF")+color2("FFFFFF")+color3("FFFFFF")+color4("FFFFFF"))
  8.     ass_main(ASS_BUF,SubL(_BT-60+_j*1,_BT+_SK,1),an(5)+bord(0.5)+moves4(_X+200,_Y+randint(-100,100),_X-200,_Y+randint(-50,50),_X-10,_Y+randint(-50,50),_X,_Y,0,600)+fad(300,0)+jianbian1 ,_TXT)#入场效果
  9.     ass_main(ASS_BUF,SubL(_BT+_SK,_BT+_SK+_KT,1),an(5)+bord(0.5)+pos(_X,_Y)+t(0,_KT*5,fscy(120)+jianbian1+color3("FFFFFF")+bord(5)+blur(8))+t(_KT*5,_KT*10,fsc(100,100)+bord(2)+blur(5)) ,_TXT)#表现方式
  10.     ass_main(ASS_BUF,SubL(_BT+_SK+_KT,_ET+(_j-_n)*2,1),an(5)+bord(0.5)+pos(_X,_Y)+jianbian1 ,_TXT)#表现方式至退场效果之间的衔接
  11.     ass_main(ASS_BUF,SubL(_ET+(_j-_n)*2,_ET+30-_j*1 ,1),an(5)+bord(0.5)+jianbian1+moves3(_X,_Y,_X+100,_Y+randint(-100,100),_X-100,_Y+randint(-100,100))+t(fry(360)+alpha(255)) ,_TXT)#退场效果
  12.    
  13.             ########附加效果########
  14.     ass_main(ASS_BUF,SubL(_BT+_SK+10,_BT+_SK+40+_n*2,2),an(5)+pos(_X,_Y)+fsc(0,0)+blur(2)+t(fsc(150,150)+fad(0,500))+t(0,600,shad(0)+bord(7)+blur(6))+color1("FFFFFF")+color3("DBABDF"),"{\p1}m 23 0 l 15 12 l 0 16 l 10 27 l 9 42 l 23 36 l 37 42 l 36 27 l 46 16 l 31 12")#五角星
  15.     for j in range(0,20):
  16.         ass_main(ASS_BUF,SubL(_BT+_SK,_BT+_SK+100,2),an(5)+bord(1)+fad(0,400)+fsc(randint(50,80),randint(50,80))+blur(6)+color3("DBABDF")+move(_X,_Y,_X+randint(-20,20),_Y+randint(0,100)),"{\p4}m 20 0 b 20 10 30 20 74 19 b 30 20 20 30 20 79 b 20 30 10 20 -33 20 b 10 20 20 10 20 -39")
  17.     for j in range(0,5):
  18.         ass_main(ASS_BUF,SubL(_ET,_ET+randint(400,800)),an(5)+bord(1)+color3("DBABDF")+fad(0,randint(100,700))+blur(6)+fsc(randint(5,50),randint(5,50))+moves4(_X,_Y,_X+randint(-70,100),_Y+randint(-80,-50),_X+randint(-80,50),_Y+randint(-40,80),_X+randint(-70,50),_Y+randint(-60,60)),"{\p1}m 21 16 b 17 16 17 23 21 23 b 25 23 26 16 21 16 m 24 19 l 43 20 l 24 20 m 18 19 l 0 20 l 18 20 m 20 16 l 21 0 l 22 16 m 20 23 l 21 40 l 22 23")

  19.     return (ASS_BUF, None)
复制代码
嘛~依旧是之前自动化模板改的~请用vsfiltermod挂载ass
预览:http://pan.baidu.com/s/1nDc5J
2

查看全部评分

Rank: 5Rank: 5

沙发
发表于 2013-11-22 00:43:14 |只看该作者
  1. # tcc file version

  2. < tcc file version = 1.000 >

  3. # mode configuration

  4. < inherit ass header = false >
  5. < k mode = syllable >
  6. < text layout = horizontal >
  7. < tcaxpy init = false >
  8. < tcaxpy user = false >
  9. < tcaxpy fin = false >

  10. # py settings
  11. < py file = jiji-003.py >    < beg line = 1 >    < end line = 0 >





  12. < k-timed ass file = jiji-23-kaleid liner karaoke effect_k.ass >
  13. < font file = dfbrushrd.ttc >    < font face id = 2 >    < font size = 38 >
  14. < fx width = 1280 >    < fx height = 720 >    < fx fps = 23.976 >
  15. < alignment = 2 >
  16. < x offset = 10 >    < y offset = 20 >
  17. < spacing = 0 >    < space scale = 1.000 >



  18. # style settings

  19. < font face name = "" >
  20. < bord = 1 >    < shad = 0 >
  21. < primary color = FFFFFF >    < secondary color = 000000 >    < outline color = 000000 >    < back color = 000000 >
  22. < primary alpha = 0 >    < secondary alpha = 240 >    < outline alpha = 0 >    < back alpha = 240 >

  23. # additional settings

  24. < blur = 0.000 >
复制代码
tcc~
1

查看全部评分

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

GitHub|TCAX 主页

GMT+8, 2024-11-22 19:11

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH