- 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 util.gdiFont import *
- from tcaxPy import *
- from s import *
- def tcaxPy_Init():
- global _FontFileName
- global _FaceID
- global _Fs
- global _Height
- global Font
- global GdiFont
- global GdiFont2
- _FontFileName = GetVal(val_FontFileName)
- _FaceID = GetVal(val_FaceID)
- _Fs = GetVal(val_FontSize)
- _Height = GetVal(val_TextHeight)
- Font = InitFont(_FontFileName, _FaceID, _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0xFFFFFF, 0, 0)
- GdiFont = gfInitFont(GetVal(val_FontFaceName), _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0, False)
- GdiFont2 = gfInitFont(GetVal(val_FontFaceName), 20, GetVal(val_Spacing), GetVal(val_SpaceScale), 0, False)
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = []
- clr3 = "4C2A7E"
- #小字處理
- if _i == 13 :
- ts = _BT + _SK-15
- te = ts + _KT
- dx2 = getposX(3,8) +3+ _j*(getposX(3,12) -getposX(3,8)-20)/5
- dy2= _Y - int(_Fs / 2 + 0.5) -_Fs+10
- tx = int((getBT(4)-15-_ET)/13)
- outline = gfGetOutline(GdiFont2, _TXT, dx2, dy2)
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,10), an(7)+fad(150,100) + pos(_X, _Y-_Fs/2)+color3("FEAFFD")+bord(15)+blur(8) + clip2(4, outline), "{\p1}m -20 1 l 20 1 l 20 0 l -20 0{\p0}")
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,4), an(7)+fad(150,100) + pos(0, 0) + bord(2.5)+color3(clr3)+p(4),outline )
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,3), an(7)+fad(150,100) + pos(0, 0) + bord(4)+blur(4)+color3("FEAFFD")+p(4),outline )
- dx1 = _X - int(_A / 2 + 0.5)
- dy1 = _Y - int(_Fs / 2 + 0.5)
- outline = gfGetOutline(GdiFont, _TXT, dx1, dy1)
- if _i < 13:
- #main
-
- tx = int((getBT(_i+1)-15-_ET)/_n)
- if _i == 12 or _i == 0:
- tx = 0
- ts = _BT + _SK-15
- te = ts + _KT
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,10), an(7)+fad(150,100) + pos(_X, _Y-_Fs/2)+color3("FEAFFD")+bord(15)+blur(8) + clip2(4, outline), "{\p1}m -20 1 l 20 1 l 20 0 l -20 0{\p0}")
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,4), an(7)+fad(150,100) + pos(0, 0) + bord(2.5)+color3(clr3)+p(4),outline )
- ass_main(ASS_BUF, SubL(ts, _ET+(_n-_j)*tx,3), an(7)+fad(150,100) + pos(0, 0) + bord(4)+blur(4)+color3("FEAFFD")+p(4),outline )
- #sapphire
- t1 = ts
- t2 = te
- t3 = 0
- global oriX
- global angle
- if _j == _n-1:
- oriX = _X +_Fs
- elif _j == 0:
- _X = _X -_Fs
- oriX = getposX(_i,_j+1)
- else:
- oriX = getposX(_i,_j+1)
- if _j == 0:
- angle = 0
- EFT = an(7) + mov(_X, _Y,oriX,_Y) + fry(angle)+t(fry(angle+5*_KT))+ bord(1)+color3("000000") + fsc(120,120)
- ass_main(ASS_BUF, SubL(t1, t2,2),EFT +color1("645A5C")+p(4),"m 98 20 b 98 20 98 20 98 20 b 98 20 98 20 98 20 b 117 22 128 32 136 40 b 132 46 125 51 119 52 b 124 59 126 68 126 76 b 121 81 115 84 108 86 b 110 94 110 103 107 111 b 87 113 67 104 49 88 b 69 77 97 50 99 20 m -98 21 b -96 45 -69 81 -49 90 b -64 103 -84 112 -107 112 b -110 104 -109 95 -107 86 b -113 85 -119 81 -125 75 b -124 68 -121 59 -118 53 b -124 51 -132 47 -138 40 b -125 30 -112 24 -98 21" )
- ass_main(ASS_BUF, SubL(t1, t2,2), EFT +color1("B5725E")+p(4),"m 60 -79 b 76 -113 102 -158 139 -185 b 165 -146 165 -88 162 -46 b 177 -25 187 0 192 23 b 165 31 130 33 98 30 b 107 -5 101 -49 60 -79 m 128 -136 b 117 -132 122 -115 134 -118 b 146 -121 142 -140 128 -136 m 132 -81 b 118 -76 125 -57 139 -62 b 150 -67 144 -83 132 -81 m 147 -18 b 132 -9 145 8 157 0 b 167 -5 162 -22 147 -18 m -62 -82 b -83 -115 -103 -150 -146 -179 b -149 -181 -151 -184 -155 -183 b -176 -131 -172 -79 -166 -40 b -178 -21 -186 6 -190 28 b -160 35 -131 32 -102 26 b -108 -23 -97 -56 -62 -82 m -141 -134 b -130 -134 -130 -119 -140 -117 b -150 -117 -153 -132 -141 -134 m -142 -79 b -131 -81 -125 -66 -135 -61 b -144 -56 -155 -72 -143 -78 m -154 -15 b -142 -18 -139 -4 -145 0 b -151 7 -167 -7 -153 -15" )
- ass_main(ASS_BUF, SubL(t1, t2,2), EFT +color1("8BF5FF")+p(4),"m 1 -105 b -54 -105 -104 -63 -104 0 b -104 71 -54 105 1 105 b 48 105 106 70 106 0 b 106 -69 49 -105 1 -105 m 1 -95 b 48 -95 94 -56 96 0 b 95 55 49 93 1 95 b -44 96 -91 63 -94 0 b -89 -64 -53 -91 1 -95" )
- ass_main(ASS_BUF, SubL(t1, t2,2), EFT +color1("FFFFFF")+p(4),"m 0 -90 b 63 -88 91 -32 91 2 b 89 51 55 89 -1 92 b -43 91 -87 66 -91 1 b -91 -42 -62 -89 0 -90 m -1 -90 m -1 -76 b -60 -76 -81 -24 -78 2 b -72 58 -34 79 0 80 b 40 77 77 47 78 2 b 77 -46 43 -76 -1 -76" )
- ass_main(ASS_BUF, SubL(t1, t2,2), EFT +color1("8BF5FF")+p(4),"m 3 -73 b 15 -63 24 -51 29 -41 b 43 -41 54 -38 67 -35 b 65 -19 61 -8 54 4 b 60 16 63 26 65 39 b 56 43 40 45 27 46 b 19 56 10 66 1 75 b -10 67 -19 58 -27 47 b -39 46 -51 42 -63 38 b -61 26 -57 13 -53 1 b -59 -11 -63 -24 -65 -36 b -52 -40 -38 -42 -23 -44 b -16 -52 -8 -62 3 -73" )
- angle += 5*_KT
- #出場
- if _j == _n-1 and _i < 12 and _i != 0:
- t3 = getBT(_i+1)-15
- EFT = an(7) + mov(oriX, _Y,getposX(_i+1,0)-_Fs,_Y) + fry(angle%360+((t3-t2)//30)*360)+t(fry(0))+ bord(1)+color3("000000") + fsc(120,120)
- ass_main(ASS_BUF, SubL(t2, t3,2),EFT +color1("645A5C")+p(4),"m 98 20 b 98 20 98 20 98 20 b 98 20 98 20 98 20 b 117 22 128 32 136 40 b 132 46 125 51 119 52 b 124 59 126 68 126 76 b 121 81 115 84 108 86 b 110 94 110 103 107 111 b 87 113 67 104 49 88 b 69 77 97 50 99 20 m -98 21 b -96 45 -69 81 -49 90 b -64 103 -84 112 -107 112 b -110 104 -109 95 -107 86 b -113 85 -119 81 -125 75 b -124 68 -121 59 -118 53 b -124 51 -132 47 -138 40 b -125 30 -112 24 -98 21" )
- ass_main(ASS_BUF, SubL(t2, t3,2), EFT +color1("B5725E")+p(4),"m 60 -79 b 76 -113 102 -158 139 -185 b 165 -146 165 -88 162 -46 b 177 -25 187 0 192 23 b 165 31 130 33 98 30 b 107 -5 101 -49 60 -79 m 128 -136 b 117 -132 122 -115 134 -118 b 146 -121 142 -140 128 -136 m 132 -81 b 118 -76 125 -57 139 -62 b 150 -67 144 -83 132 -81 m 147 -18 b 132 -9 145 8 157 0 b 167 -5 162 -22 147 -18 m -62 -82 b -83 -115 -103 -150 -146 -179 b -149 -181 -151 -184 -155 -183 b -176 -131 -172 -79 -166 -40 b -178 -21 -186 6 -190 28 b -160 35 -131 32 -102 26 b -108 -23 -97 -56 -62 -82 m -141 -134 b -130 -134 -130 -119 -140 -117 b -150 -117 -153 -132 -141 -134 m -142 -79 b -131 -81 -125 -66 -135 -61 b -144 -56 -155 -72 -143 -78 m -154 -15 b -142 -18 -139 -4 -145 0 b -151 7 -167 -7 -153 -15" )
- ass_main(ASS_BUF, SubL(t2, t3,2), EFT +color1("8BF5FF")+p(4),"m 1 -105 b -54 -105 -104 -63 -104 0 b -104 71 -54 105 1 105 b 48 105 106 70 106 0 b 106 -69 49 -105 1 -105 m 1 -95 b 48 -95 94 -56 96 0 b 95 55 49 93 1 95 b -44 96 -91 63 -94 0 b -89 -64 -53 -91 1 -95" )
- ass_main(ASS_BUF, SubL(t2, t3,2), EFT +color1("FFFFFF")+p(4),"m 0 -90 b 63 -88 91 -32 91 2 b 89 51 55 89 -1 92 b -43 91 -87 66 -91 1 b -91 -42 -62 -89 0 -90 m -1 -90 m -1 -76 b -60 -76 -81 -24 -78 2 b -72 58 -34 79 0 80 b 40 77 77 47 78 2 b 77 -46 43 -76 -1 -76" )
- ass_main(ASS_BUF, SubL(t2, t3,2), EFT +color1("8BF5FF")+p(4),"m 3 -73 b 15 -63 24 -51 29 -41 b 43 -41 54 -38 67 -35 b 65 -19 61 -8 54 4 b 60 16 63 26 65 39 b 56 43 40 45 27 46 b 19 56 10 66 1 75 b -10 67 -19 58 -27 47 b -39 46 -51 42 -63 38 b -61 26 -57 13 -53 1 b -59 -11 -63 -24 -65 -36 b -52 -40 -38 -42 -23 -44 b -16 -52 -8 -62 3 -73" )
复制代码 |
-
1
查看全部评分
-
|