- 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_Init():
- # Tips: initialize your global variables here
- global _FontSize
- global pyFont
- _FontSize = GetVal(val_FontSize)
- pyFont = InitFont(GetVal(val_FontFileName), GetVal(val_FaceID), GetVal(val_FontSize), GetVal(val_Spacing), GetVal(val_SpaceScale), 0x0000FF, 0, 0)
- def tcaxPy_Main(_I, _J, _N, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = [] # used for saving raw TCS FX data
- # 格子光圈
- if _I >= 5 :
- for i in range (0,24,2):
- for j in range(10,60,20):
- a = -5 + j
- x = 5+ j
- sb1 = "m " + str(a) + " " +"-5" + " l "+ str(x)+" " +"-5"+" l"+" "+str(x)+" "+"5"+" l"+" "+str(a)+" "+"5"
- ass_main(ASS_BUF, SubL(_BT+_SK-3,_BT+_SK+_KT+50-j,1),alpha3(20)+alpha1(80)+color1("42FFFF")+bord(2)+blur(4)+color3("00A0FF")+be(8)+pos(_X,_Y)+fad(50,200)+org(_X,_Y)+frz(15*i)+t1(0,(_KT+30)*10,alpha1(40-randint(-10,20))+alpha3(50-randint(-20,10))),"{\\p1}"+sb1)
- for i in range(1,24,2):
- for j in range(0,60,20):
- a = -5 +j
- x = 5+j
- sb2 = "m " + str(a) + " " +"-5" + " l "+ str(x)+" " +"-5"+" l"+" "+str(x)+" "+"5"+" l"+" "+str(a)+" "+"5"
- ass_main(ASS_BUF, SubL(_BT+_SK-3,_BT+_SK+_KT+50-j,1),alpha3(20)+alpha1(80)+color1("42FFFF")+bord(2)+blur(4)+color3("00A0FF")+be(8)+pos(_X,_Y)+fad(50,200)+org(_X,_Y)+frz(15*i)+t1(0,(_KT+30)*10,alpha1(40-randint(-10,20))+alpha3(50-randint(-20,10))),"{\\p1}"+sb2)
-
- ass_main(ASS_BUF, SubL(_BT-40,_BT+_SK-3,20),pos(_X,_Y)+fad(100,0),"{\\b1}"+_TXT)
- ass_main(ASS_BUF, SubL(_BT-40,_BT+_SK-3,15),pos(_X+2,_Y+2)+alpha1(20)+fad(100,0)+color1("000000")+blur(1.5),"{\\b1}"+_TXT)
- #金属字
- ass_main(ASS_BUF, SubL(_BT+_SK-5,_BT+_SK+_KT,49),pos(_X+1,_Y+1)+alpha1(120)+t2(0,50,0.6,fscx(140)+fscy(140))+t2((_KT+5)*10-80,(_KT+5)*10,0.4,fscx(100)+fscy(100)+bord(0)+blur(0)) + color1("000000") + blur(1) , "{\\b1}"+_TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK-5,_BT+_SK+_KT,50),pos(_X,_Y)+alpha1(0)+t2(0,50,0.6,fscx(140)+fscy(140))+t2((_KT+5)*10-80,(_KT+5)*10,0.4,fscx(100)+fscy(100)+bord(0)+blur(0)) + color1("FFFFFF"), "{\\b1}"+_TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK-5,_BT+_SK+_KT,51),pos(_X+2,_Y+2)+alpha1(35)+t2(0,50,0.6,fscx(140)+fscy(140))+t2((_KT+5)*10-80,(_KT+5)*10,0.4,fscx(100)+fscy(100)+bord(0)+blur(0)) + color1("1B1B1B")+ blur(1) , "{\\b1}"+_TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET,20),pos(_X,_Y)+fad(0,100),"{\\b1}"+_TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET,15),pos(_X+2,_Y+2)+alpha1(20)+fad(0,100)+color1("000000")+blur(1.5),"{\\b1}"+_TXT)
- #马赛克
- for i in range(int(_A/10)):
- for j in range(int(40/10)):
- X = randint(0,5)
- if X == 0 :
- ass_main(ASS_BUF, SubL(_BT-30+randint(-20,20),_BT+randint(-20,20),20),an(7)+pos(_X-_A/2+i*10+randint(-3,3),_Y-20+j*10+randint(-3,3))+fad(50,50)+alpha(0)+shad(0),"{\p1}m 0 0 l 15 0 15 15 0 15{\p0}")
- elif X == 1 :
- ass_main(ASS_BUF, SubL(_BT-30+randint(-20,20),_BT+randint(-20,20),20),an(7)+pos(_X-_A/2+i*10+randint(-3,3),_Y-20+j*10+randint(-3,3))+fad(50,50)+alpha(150)+shad(0),"{\p1}m 0 0 l 15 0 15 15 0 15{\p0}")
- else :
- ass_main(ASS_BUF, SubL(_BT-30+randint(-20,20),_BT+randint(-20,20),20),an(7)+pos(_X-_A/2+i*10+randint(-3,3),_Y-20+j*10+randint(-3,3))+fad(50,50)+alpha(255)+shad(0),"{\p1}m 0 0 l 15 0 15 15 0 15{\p0}")
- return (ASS_BUF,None)
- def tcaxPy_Fin():
- # Tips: finalize your global variables here
- FinFont(pyFont)
复制代码 |
-
1
查看全部评分
-
|