- 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
用了mod
s.py 見我發的modtag的帖子
主要都是時間的計算 希望各位能看懂腳本- from tcaxPy import *
- from s import *
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = [] # 保存ASS特效
- TCAS_BUF = [] # 保存TCAS特效
- vc = [vc3("000000","961DCA","961DCA","961DCA"),vc3("961DCA","000000","961DCA","961DCA"),vc3("961DCA","961DCA","000000","961DCA"),vc3("961DCA","961DCA","961DCA","000000")][randint(0,3)]
- o = -3
- r = -15
- s = randint(140,200)
- T1 = _BT+_SK-5
- T2 = _BT+_SK+int(_KT/10)
- T3 = _BT+_SK+int(_KT/10)+int(_KT/5*4)
- T4 = _BT+_SK+_KT
- EFT=[bord(2.5)+pos(_X+o,_Y)+vc+frz(-r),bord(2)+pos(_X-o,_Y)+vc+frz(r)]
-
- stat0 = _j%2
- ass_main(ASS_BUF, SubL(T1, T2,20), EFT[stat0]+t(fsc(s,s)), VertLayout(_TXT))
- BT0 = getBT(0)-49
- step0= 56
-
- stat1=stat0
- cd2 = int(_KT/5*4)
- if _i>3:
- step0 = 28
- if _i == 6:
- step0 = 28
- if _j < 4:
- cd2 = int(_KT/5*4)
- else:
- if cd2>step0:
- cd2 = step0*2-(T2-getBT(6)-199)%(step0*2)
- if _i > 6:
- step0 = 28
- if cd2>step0:
- cd2 = step0*2-(T2-getBT(6)-199)%(step0*2)
- if _i>8:
- cd2 = int(_KT/5*4)
- if T2+cd2 != T3 :
- if _j%2==1:
- if cd2 <step0:
- cd2 = cd2 + step0
- else:
- cd2 = cd2 - step0
- ass_main(ASS_BUF, SubL(T2, T2+cd2,20), EFT[stat1]+fsc(s,s), VertLayout(_TXT))
- if T2+cd2 != T3:
- for T in range(T2+cd2,T3,step0):
- step1 = step0
- if T3-T < step0:
- step1 = T3-T
- stat1 = (stat1+1)%2
- s = randint(140,200)
- ass_main(ASS_BUF, SubL(T, T+step1,20), EFT[stat1]+fsc(s,s), VertLayout(_TXT))
- ass_main(ASS_BUF, SubL(T3, T4,20), EFT[stat1]+fsc(s,s)+t(fsc(100,100)), VertLayout(_TXT))
- stat2 = stat1
- cd = step0*2-(T4-BT0)%(step0*2)
- if _i == 6:
- step0 = 28
- if _j < 4:
- cd = -T4+getBT(6)+199
- else:
- cd = step0*2-(T4-getBT(6)-199)%(step0*2)
- if _i > 6:
- step0 = 28
- cd = step0*2-(T4-getBT(6)-199)%(step0*2)
- if stat2 != stat0:
- if cd <step0:
- cd = cd + step0
- else:
- cd = cd - step0
- if _j%2==1:
- if cd <step0:
- cd = cd + step0
- else:
- cd = cd - step0
-
- ass_main(ASS_BUF, SubL(T4, T4+cd,10), EFT[stat2], VertLayout(_TXT))
- for T in range(T4+cd,_ET+_j*5,step0):
- step = step0
- if _ET+_j*5-T<step:
- step = _ET+_j*5-T
- stat2 = (stat2+1)%2
- ass_main(ASS_BUF, SubL(T, T+step,10),EFT[stat2], VertLayout(_TXT))
- ass_main(ASS_BUF, SubL(_ET+_j*5, _ET+_j*5+40,10), EFT[stat2]+t(fry(360))+fad(0,350), VertLayout(_TXT))
- return (ASS_BUF,None)
复制代码 |
-
3
查看全部评分
-
|