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

 找回密码
 新人加入
楼主: Alex
打印 上一主题 下一主题

[已解决] Apply script! [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

楼主
发表于 2013-9-8 18:37:02 |显示全部楼层
Alex 发表于 2013-9-8 14:58
I have another question

What is the best position for _x & _y to use it for romaji (English) ?

I think this script can also be applied on romaji karaoke files without modification :)

So you started using TCAX? cool~

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

沙发
发表于 2013-9-8 21:12:04 |显示全部楼层
Alex 发表于 2013-9-8 21:07
thank you

this is my first FX by using TCAX


Good job~

tips: TCAX provides ASS tag functions, such as pos(_x, _y), t(t1, t2, a, code), color1("aabbcc"), etc.

they are more convenient and are recommended when writing TCAX scripts. check any of the existing scripts you'll find how to use these tag functions.

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

板凳
发表于 2013-9-8 21:17:56 |显示全部楼层
Alex 发表于 2013-9-8 21:11
My new question is, how i will use char method and pixel ?


Several ways,

here is one example,

http://www.tcax.org/forum.php?mod=viewthread&tid=176

other recommended tutorials (not related)
http://www.tcax.org/forum.php?mod=viewthread&tid=177
http://www.tcax.org/forum.php?mod=viewthread&tid=178

a good way for learning to write TCAX scripts is to check out the shared existing ones
http://www.tcax.org/forum.php?mod=forumdisplay&fid=42

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

地板
发表于 2013-9-13 23:48:43 |显示全部楼层
Alex 发表于 2013-9-13 17:22
there is problem in line 39 - return (ASS_BUF, TCAS_BUF)
I don't know why exactly ?

This is a Python Grammar error... Python requires strict indention.

The code of the same level (block) should be aligned, i.e., have the same indention.

so, the solution to your question is to add two more white spaces to the beginning of line 39 - return (ASS_BUF, TCAS_BUF)

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

5#
发表于 2013-9-14 19:43:55 |显示全部楼层
Alex 发表于 2013-9-14 00:04
Yeah, u r right, it's working now

k, I used picture after that I applied the effect(script), the re ...


use AVS script to do the preview.

to preview ASS file, we use VSFilter.dll plugin and TextSub function

Analogously, we use TcasFilter.dll plugin (placed in the TCAX's root directory) and TcasSub function to preview TCAS file

p.s. feel free to ask

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

6#
发表于 2013-9-15 19:09:13 |显示全部楼层
Alex 发表于 2013-9-15 15:55
thank you,

it's really good to learn and know new things


what do you mean by char fx? sorry, but I'm not familiar with Aegisub.

give some specific example (the char fx you want to create), then I may help you figure it out about how to do the same thing in TCAX.

I didn't test TCAX with Arabic Language, but I think it does support. since the font Engine used by TCAX is the great FreeType Library, if you encounter any problem, please inform me.  

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

7#
发表于 2013-9-17 23:33:47 |显示全部楼层
Alex 发表于 2013-9-15 20:08
Char = character (letter)
it's making each letter separately in each line

Open a TCC file, and set < k mode = normal > to syllable ?

I don't know what exactly you want, since I'm not too familiar with Aegisub.

you can try this exampel http://tcxcore.googlecode.com/files/example.zip and learn the TCAX way to accomplish your FX if you have enough interests.

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

8#
发表于 2013-9-23 21:41:55 |显示全部楼层
Alex 发表于 2013-9-18 06:26
I already saw this example, I think there's no a property/advantage (function) in TCAX to helping ma ...

it can be done in TCAX, through the method in my previous post, well, which you may have already found?

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

9#
发表于 2013-9-23 21:42:10 |显示全部楼层
Alex 发表于 2013-9-19 21:40
finally, I found the method to make that effect
testings still continue XD

good to see you still active.
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-5-5 04:00

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH