- UID
- 3
- 积分
- 8169
- 帖子
- 259
- 主题
- 68
- 论坛币
- 5016
- 威望
- 54
- EP值
- 2533
- MP值
- 20
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 1097 小时
- 最后登录
- 2022-10-8
|
預覽:http://pan.baidu.com/s/1hqqY9CC#dir/path=%2FSaiyakuFX_Preview- from tcaxPy import *
- def tcaxPy_Main(_I, _J, _N, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = [] # used for saving ASS FX lines
- Color = ['0000FF','0080FF','00FFFF','00FF80','FF0000','800000','FF0080']
- ass_main(ASS_BUF, SubL(_BT-10,_BT,3),fad(200,0)+pos(_X,_Y)+bord(2)+blur(3)+color1('FFFFFF')+color3(Color[_J%7]), _TXT)
- T = 10
- for i in range(int((_ET-_BT)/10)-1):
- ass_main(ASS_BUF, SubL(_BT+T*i,_BT+T*(i+1)),pos(_X,_Y)+color3(Color[(_J-i)%7])+blur(3)+bord(2), _TXT)
- ass_main(ASS_BUF, SubL(_BT+T*(i+1),_ET),pos(_X,_Y)+fad(0,200)+color3(Color[(_J-i)%7])+blur(3)+bord(2), _TXT)
-
- if _I == 0:
- if _J >=8 and _J <= 16:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 1:
- if _J >=10 and _J <= 14:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 4:
- if _J >= 10 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 5:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
-
- elif _I == 7:
- if _J >=10 and _J <= 11:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 9:
- if _J >=10 :
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I ==13:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- elif _I == 18:
- if _J >=10 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 19:
- if _J >=9 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 20:
- if _J >=8 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 24:
- if _J >=8 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 28 :
- if _J >= 9 and _J <= 20:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- elif _I == 29:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,7),pos(_X,_Y)+t1(0,50,fscx(150)+fscy(150))+t1(50,_KT*10,fscx(100)+fscy(100))+bord(2)+blur(4)+color1('FFFFFF')+color3('FFFFFF'), _TXT)
- else:
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,5),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+color1('FFFFFF')+alpha2(255)+alpha3(255), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20,_BT+_SK+_KT,6),pos(_X,_Y)+K(_KT)+bord(0)+blur(0)+alpha2(255)+color1('000000')+color3('FFFFFF'), _TXT)
- return (ASS_BUF, None)
复制代码 |
-
1
查看全部评分
-
|