AnimeSuki.com Forum

AnimeSuki Forum (http://forums.animesuki.com/index.php)
-   Fansub Groups (http://forums.animesuki.com/forumdisplay.php?f=17)
-   -   Aegisub Help thread (http://forums.animesuki.com/showthread.php?t=40876)

starfish00 2006-12-28 20:14

Aegisub Help thread
 
line-per-syllable defalut set is "{\\an5\\pos($X,40)\\t($START,$END,\\fry360)}"

how to '9-advanced-skeleton' or '10-furigana' effect? or other effect

ArchMageZeratuL 2006-12-30 17:45

line-per-syllable is a simple karaoke effect that doesn't actually require you to write your own script.

Advanced Skeleton and Furigana, on the other hand, require you to write your own Lua script and include them as a library. This requires some basic (at least) programming knowledge, but allows you to program your karaoke effects to your heart's content, enabling very advanced effects.

Please see the manual for a detailed information on how to use those.

Katsuyu 2007-03-06 21:14

Aegisub...... Lua
 
hi ......

can you tell me where can I find the effect files ( Lue )...

.....

jfs 2007-03-06 22:25

I'll be blunt:
Write them yourself. Karaoke effects is (almost) all about showing off your skills, if you're just using someone else's effect you're missing the entire point of having an advanced effect. If you want to learn, there's several examples already included with Aegisub. It's rare for people to publish their effect scripts.
The other (much more common, I think?) option is to use one of methods that don't involve direct scripting. You could for example use simple-k-replacer, line-per-syllable or multi-template. And you'll find many good tips on making karaoke in the karaoke help thread.
Though if you insist on seeing some full-fledged complete scripts, here are some more examples.

And there is of course also other software for generating karaoke effects.

Katsuyu 2007-03-07 22:23

thanks jfs....

but I mean if any one have this files for karoake...

sorry....:rolleyes:

Sylf 2007-03-08 02:35

Those simple-k-replacer, line-per-syllable, and multi-template are multi-purpose karaoke script. Read those wiki links that jfs posted. They explain step-by-step how to use them.

Esente 2007-08-12 03:13

Drawing signs in Aegisub?
 
Hello, I am kind of new in the typesetting area. Our group is working on Pale Cocoon (great OVA by the way) right now, and I , as the group's typesetter, is trying to drawing the important boxes on to the screen. Please take a look to get a better idea of what I am trying to explain here:

http://img444.imageshack.us/img444/2...riginalij3.jpg
Original frame


http://img515.imageshack.us/img515/624/drawingce1.jpg
With the drawing on it.

In the anime, this scene includes a lot of frames moving from there to the upper-left corner, and there more boxes will appear. I try to draw a box cover the original box and then add subtitle there. My questions are:

As a fansub group, should we do that, or just simply add the subtitle at the bottom of the screen?

And if we could do that, what is the best way to do so? As you can see on the pics above, the way I do is working frame by frame. In each frame, I draw the box with the corresponding positions of the corners. It takes me a lot of time just to do a simple animation of 5 seconds (~100 frames). I also tried the FexTracker and the FexMovement, but it seemed that I couldn't do that correctly, or it did not give me the result I want.

Would you please give me some advice? I guess my explanation may not be clear, so feel free to question me. I will try to explain more detail.

xat 2007-08-12 04:59

First: Don't use FexTracker. Especially not for a project like Pale Cocoon.
Second: Upgrade. Try out the newest betas of Aegisub. I think you'll like the new drawing tools available.

If you're not under any time pressure I'd go for it. When it comes to deadlines you need to draw a line somewhere though.

Sans deadlines, it comes down to what you want your user base to see. Hint: Most people don't mind simple typesetting. That said, most of those I know who fansub do it to their expectations (which tend to be significantly higher) and not to the typical viewer's.

Now, assuming you want to do it, you could certainly give it a shot in ASS. Note that the text there isn't sharpened; I'd make use of \be -- maybe even OverLua can help you there? Given the sheer amount of animation to the user interfaces throughout Pale Cocoon, though, I can guarantee that it would take some time to perfect.

If you have access to one, an NLE with a reliable motion tracker might be better.

Esente 2007-08-12 05:12

1. I won't touch FexTracker.
2. Wow, the beta (r1458) looks nice, and yeah, the frame is not misplaced like in v1.10 any more, which also means everything I did become nothing (I based on the old frames).
3. Obviously I want to do the hard work (kind of perfectionist, you know). Drawing line frame-by-frame is only time-consuming, but not hard. However, making animation is hard, especially when I want to make the subtitles go along with the drawings. Tried \pos, and I'm not really sure I understand the releation between \pos and \an . I could get the subtitle to the right position, but then, the drawing would be somewhere else.

Like I said, I'm new to typesetting, but I really love it. I want to learn more, and time is not a obstacle here.

And what is NLE?

jfs 2007-08-12 06:12

NLE = Non-Linear Editor, something like Adobe AfterEffects, Sony Vegas and a bunch of other video editing tools. Even Avisynth could be an option.
For Avisynth, look for the ReplaceFrame plugin, it allows you to easily export a large number of frames as eg. PNG files, edit them in eg. Photoshop and then have them imported back into the video.

I would also recommend looking at a non-ASS-based solution if you want to do advanced overlay graphics like that, it's just way more work than it's worth, when better tools are available.

Esente 2007-08-12 17:27

Then it will become hard-sub, right? We only want to do soft-sub. I saw in one topic that there is a tool to convert image to ASS commands. I may want to give it a try!

xat 2007-08-12 17:35

When it comes to typesetting like this (usage of drawings/clips/animated text) you don't want to subject your users to rendering it. That image to ass program does a 1:1 translation from pixel to ass (last I saw of its discussion) -- definitely not practical especially if you're working frame by frame. Overlays are probably the way to go here.

jfs 2007-08-12 20:18

Yes, apart from the softsubs ending up being huge they will also be insanely slow to render, many current top-level machines might have trouble rendering it in real time. If you want 100% soft typesetting you also will have to cut some corners and sacrifice some prettyness.

Esente 2007-08-12 21:32

Sorry for being ignorant, but yeah, I only want to do some of the animations of Pale Cocoon. About 10, I believe. I finished drawing 3 of them, and the ass file is only 56KB. Is it big?

Um.. I'm not expecting prettiness in my soft-sub. I only want to draw boxes so that it look better than placing the subtitle at the bottom.

For the above screenshots, here are my commands:

{\be1\p1}m 212 196 l 309 305 l 274 358 l 180 240 l 212 197{\p0}
The style I use for this has alignment of 7.

And then I add the subtitle:
{\frz-42\pos(199,238)}Dai Duong
I use a different style, and the current alignment is 1 so that the subtitle appears exact at the pos(). But if I do this way, every frame will have two lines, one for drawing, and one for subtitle. It would take double time. Is there anyway I can combine those two lines together? I tried, but the sub and the drawing will appear unexpectedly.

jfs 2007-08-13 08:19

Nope, no way to combine them like that :(

ArchMageZeratuL 2007-08-13 12:49

Don't worry about having two lines per frame. VSfilter is actually faster at rendering two small lines than one big one. For drawing the overlay masks, I recommend you to look into assdraw2 (it's available somewhere on the Aegisub forums). Aegisub will eventually support drawing \p vectors in much the same way as it supports the vectorial \clip now.

If all you want to do simple stuff like what's shown on your screenshot, doing it with ASS feasible and shouldn't be too slow. Otherwise, it might start becoming a problem. However, I don't recommend hardsubbing over the original japanese text, as viewers who actually speak some japanese will be bothered by it.

Esente 2007-08-14 14:29

Just wish Aegisub will intergrate AssDraw2. It's such a perfect tool for my purpose. However, i still don't understand how can I work with two separated windows. And I couldn't see the frame frome Aegisub if I draw on AssDraw2.

ArchMageZeratuL 2007-08-14 14:45

Quote:

Originally Posted by Esente (Post 1095157)
Just wish Aegisub will intergrate AssDraw2. It's such a perfect tool for my purpose. However, i still don't understand how can I work with two separated windows. And I couldn't see the frame frome Aegisub if I draw on AssDraw2.

We plan to integrate something similar to it, as I said in the above post. To use Assdraw2 with Aegisub, just change the window opacity to 75% or so (it's somewhere in the menu)

b0nk 2007-08-16 05:28

Quote:

Originally Posted by jfs (Post 1093083)
Nope, no way to combine them like that :(

Are you sure about that? I've done boxes soft subbed with words on top before using only one line. I don't know how to do it in Aegisub but in notepad you open the .ass file and under the styles change the Borderstyle from 1 to 3 then you simply write out the the sign and you should see a box where the outline usually is. You control the value of the size of the box with the outline or \bord values. You can then manipulate the box using the \frx|y|z commands until you get something that matches also stretch the box with the \fscx|y command. Hope this helps.

jfs 2007-08-16 07:11

Oh, right. I was thinking of a box that also had an outlined border and not just a plain box like that. (And I always forget about the opque box border style too.)
Either way, you can set the style field in Aegisub, it's simply the checkbox labelled Opeque Box in the style editor.

ultimaweapon 2007-08-29 17:04

Can anyone help me please.....?
 
Hi,

what I want to say is ....


How can I gradient the color with aegisub program?

or is there any program that help me with?

actually, I have being died with aegisub but I couldn't know where or how can I gradient the color.

so, please explain to me if you have the idea about this?

or if you want my email:

fzf369@hotmail.com

I hope you will help me...

jfs 2007-08-29 19:20

This has been asked numerous times before. Please do some research before asking.

The ASS format does not allow gradients natively. The workaround is to use lots of copies of the line with different clipping and different colouring. Aegisub does not have a function to automate this but SSATool (use Google or whatever, please) has that.
Aegisub will get such a tool at some point, but we don't know when. It won't be in the near future.

getfresh 2007-08-29 19:33

Quote:

Originally Posted by jfs (Post 1121520)
This has been asked numerous times before. Please do some research before asking.

The ASS format does not allow gradients natively. The workaround is to use lots of copies of the line with different clipping and different colouring. Aegisub does not have a function to automate this but SSATool (use Google or whatever, please) has that.
Aegisub will get such a tool at some point, but we don't know when. It won't be in the near future.

If you decide to do it with SSATool I suggest not clipping by color but instead clipping by hex. Just place you lines like this

color 1 alpha 00
color 1 alpha 10
color 1 alpha 20
color 1 alpha 30
color 1 alpha 40
color 1 alpha 50
color 1 alpha 60
color 1 alpha 70
color 1 alpha 80
color 1 alpha 80
color 1 alpha A0
color 1 alpha B0
color 1 alpha C0
color 1 alpha D0
color 1 alpha E0
color 1 alpha F0
color 2

to get the number of clips you need just find the range the gradient will take place over. the number of pixels the range is wide is you number of clips, say the range is 250-300, means you need 50 clips. Next you take the number of clips and divide 256 by it to get the increment, i.e. 50/256= 5.12 round to nearest whole number, so 5. So that means every new clip you will decrease or increase the value by 5.

exp

\alpha&H00&
\alpha&H05&
\alpha&H0A&
\alpha&H0F&

and so on.

I'll dig up some old working code if I can, maybe you'll find it useful.

Code:

[Script Info]
; This is a Sub Station Alpha v4 script.
; For Sub Station Alpha info and downloads,
; go to http://www.eswat.demon.co.uk/
; or email kotus@eswat.demon.co.uk
Title: Beck OP
Original Script: <unknown>
ScriptType: v4.00
Collisions: Normal
PlayResY: 768
PlayDepth: 0
Wav: 0, 8947,C:\sysreset\download\beck3.wav
LastWav: 1
Timer: 100.0000

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: BOPK1,Moore Mary,58,&HFFFFFF,16777215,65535,-2147483640,-1,1,1,0,0,6,10,10,5,0,0

[Events]
Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)\1c&H747978&\shad1.5\bord1.5}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,27,2000,28)\1a&HF0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,28,2000,29)\1a&HE0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,29,2000,30)\1a&HD0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,30,2000,31)\1a&HC0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,31,2000,32)\1a&HB0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,32,2000,33)\1a&HA0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,33,2000,34)\1a&H90&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,34,2000,35)\1a&H80&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,35,2000,36)\1a&H70&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,36,2000,37)\1a&H60&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,37,2000,38)\1a&H50&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,38,2000,39)\1a&H40&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,39,2000,40)\1a&H30&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,40,2000,41)\1a&H20&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,41,2000,42)\1a&H10&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,42,2000,43)\1a&H00&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,43,2000,44)\1a&H10&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,44,2000,45)\1a&H20&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,45,2000,46)\1a&H30&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,46,2000,47)\1a&H40&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,47,2000,48)\1a&H50&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,48,2000,49)\1a&H60&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,49,2000,50)\1a&H70&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,50,2000,51)\1a&H80&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,51,2000,52)\1a&H90&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,52,2000,53)\1a&HA0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,53,2000,54)\1a&HB0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,54,2000,55)\1a&HC0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,55,2000,56)\1a&HD0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,56,2000,57)\1a&HE0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,57,2000,58)\1a&HF0&}I never dreamed before


ultimaweapon 2007-08-30 07:45

But I have found someone who can creat gradient color(an arabian man)whose name is soul slayer so, please look at the second image:
http://i156.photobucket.com/albums/t...9a8ec9b908.jpg

this is what I want to learn about if the aegisub program couldn't do that, then, please give another program for the subtitling can do this job.

I'll wait for you my friends

getfresh 2007-08-30 09:59

read jfs's post again... He already gave you the name of a different app that will do the gradients. And I gave you the code to be able to do it yourself if need be.

Also the second image you posted is not a gradient. All he did was set each letter a diff color.

example

Code:

{\1c&HFFFFFF&}E{\1c&HFFEEEE&}X{\1c&HFFDDDD&}A{\1c&HFFCCCC&}M{\1c&HFFBBBB&}P{\1c&HFFAAAA&}L{\1c&HFF9999&}E

[darkfire] 2007-08-30 12:24

There is a function for gradients on the aegisub forum for lua scripting (Automation 3\no longer supported) . And I think it is possible to add a gradient feature into aegisub 2.0 with the automation 4 framework.

ultimaweapon 2007-08-30 14:16

Quote:

Originally Posted by getfresh (Post 1122580)
read jfs's post again... He already gave you the name of a different app that will do the gradients. And I gave you the code to be able to do it yourself if need be.

Also the second image you posted is not a gradient. All he did was set each letter a diff color.

example

Code:

{\1c&HFFFFFF&}E{\1c&HFFEEEE&}X{\1c&HFFDDDD&}A{\1c&HFFCCCC&}M{\1c&HFFBBBB&}P{\1c&HFFAAAA&}L{\1c&HFF9999&}E


Thanks man, this is what I want to get this point

eventhough he didn't gradient the color, but he made it very beautiful like gradient

but, actually, you have catched them,

so, thanks alot alot alot

ultimaweapon 2007-08-30 14:35

Hi again,

now I know this tutorial.

but someone can gradient the color by vertical way like this:

http://i156.photobucket.com/albums/t...rdragon/05.jpg

how it became like that!! Please someone help me with that!!

(notice that text is for karaoke not just is in freez position)

jfs 2007-08-30 15:19

Taking a very quick look it's only two halves in slightly different colour. Notice that there's actually a sharp transition from the start to end colour right in the middle of the line.

ultimaweapon 2007-08-31 14:11

but...how?

!!!

this is a vertical was not horizontal !

PLEASE GIVE ME THE RIGHT SOLUTION FOR THAT!!!

Sylf 2007-08-31 14:17

Aegisub is not the solution to everything. In case of gradience/clip creation, there's no real automated way of doing it. You'll need to learn the \clip override function for ASS, and enter it in the line. This post contains a sample code including clip.

And when jfs said "it's only two halves in slightly different colour," he's saying that the line can be made with two lines -- first line that's \clipped to show the top half of the line with darker color, and the second line that's \clipped to show the bottom half.

For more information about clip, read the Aegisub help file that comes with version 1 -- Help -> Contents -> Typesetting -> Ass Overide Tags, and find the section about \clip. It has pretty good explanation with a sample screen.

al-z3ol 2007-08-31 16:33

ultimaweapon


this is an automation script

this is what you want and it's with Arabic comments


it's made by MexFx

Code:

-- Original written by Haider Ben Abu Baker (aka Haku)
-- Released into the public domain
--[[

 "ملل , لكن لا بد منه "

السكربت وشرحه لمنتدى الترجمة لمكسات
ليستخدم كمرجع فقط إن أردت نقله لمكان آخر فليس عليك
سوى ذكر المصدر فقط , وهذا كافي


حــــيــدر

]]




--Conact ... PM at Mexat.com/vb
--Or MailTO : hw_hm@hotmail.com


name = "Grad"
description = "Stupid gradient Effect "


configuration = {}
version, kind = 3, 'basic_ass'

include("karaskel-adv.lua")


function do_syllable(meta, styles, config, line, syl)
        local output = {n=0}
        local x=syl.center + line.centerleft
        local y = 40


       

                      l = copy_line(line)
                      l.text = string.format("{\\an8\\pos(%d,%d)\\1c&H0000FF&}%s",x,y, syl.text_stripped)
                      l.layer = 0  -- سنجعل النسخة الحمراء في طبقة سفلية
                      table.insert(output, l)





--أما بقية النسخ المتدرجة في الأولان من الأحمر إلى الأصفر فستكون في طبقات أعلى

        for i = 0,19 do  -- سننشيء عشرين نسخة متدرجة


                      l = copy_line(line)
                      l.text = string.format("{\\be1\\an8\\pos(%d,%d)\\1c&H%02X%02XFF&\\clip(0,0,640,%d)}%s",x,y,i*5,i*20+10,62-i ,syl.text_stripped) -- هذا السطر مشروح بالتفصيل في الأسفل

                      l.layer = i  --الطبقة ستكون قيمة متغير التكرار , أي أنها ستزيد مع كل نسخة , وبهذا نحصل على ما تريد
                      table.insert(output, l)


        end
         
 return output

end








--[[
string.format("{\\be1\\an8\\pos(%d,%d)\\1c&H%02X%02XFF&\\clip(0,0,640,%d)}%s",x,y,i*5,i*20+10,62-i ,syl.text_stripped)


في هذا السطر نكتب الأكواد اللازمة لكل نسخة من النسخ العشرين
لاحظ أن جميعها تقع في نفس الموقع , أي كل وحده فوق الثانية
ولكن التغيير يحدث في الألوان + مكان القطع بكود
clip

بالنسبة للأللوان فقد إستخدمنا
%02X

أي أن هذا الرقم سيستبدل برقم سداسي عشري , وهو قيمة متغير التكرار مضروبة الرقم خمسة
أي أن كل نسخة سيكون لونها أخف من التي قبلها وبذلك نصل من اللون الأحمر إلى الأصفر

أما الكود
clip
فقد جعلنا آخر قيمة فيه متغيرة وتساوي إثنين وستين في النسخة الأولى , أي من منتصف الجملة
ثم تقل هذه القيمة مع كل نسخة

^^بإختصار , أنشأنا تدرج رائع



]]




from here

getfresh 2007-08-31 19:59

Quote:

Originally Posted by getfresh (Post 1121544)

Code:

[Script Info]
; This is a Sub Station Alpha v4 script.
; For Sub Station Alpha info and downloads,
; go to http://www.eswat.demon.co.uk/
; or email kotus@eswat.demon.co.uk
Title: Beck OP
Original Script: <unknown>
ScriptType: v4.00
Collisions: Normal
PlayResY: 768
PlayDepth: 0
Wav: 0, 8947,C:\sysreset\download\beck3.wav
LastWav: 1
Timer: 100.0000

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: BOPK1,Moore Mary,58,&HFFFFFF,16777215,65535,-2147483640,-1,1,1,0,0,6,10,10,5,0,0

[Events]
Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)\1c&H747978&\shad1.5\bord1.5}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,27,2000,28)\1a&HF0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,28,2000,29)\1a&HE0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,29,2000,30)\1a&HD0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,30,2000,31)\1a&HC0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,31,2000,32)\1a&HB0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,32,2000,33)\1a&HA0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,33,2000,34)\1a&H90&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,34,2000,35)\1a&H80&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,35,2000,36)\1a&H70&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,36,2000,37)\1a&H60&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,37,2000,38)\1a&H50&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,38,2000,39)\1a&H40&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,39,2000,40)\1a&H30&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,40,2000,41)\1a&H20&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,41,2000,42)\1a&H10&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,42,2000,43)\1a&H00&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,43,2000,44)\1a&H10&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,44,2000,45)\1a&H20&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,45,2000,46)\1a&H30&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,46,2000,47)\1a&H40&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,47,2000,48)\1a&H50&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,48,2000,49)\1a&H60&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,49,2000,50)\1a&H70&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,50,2000,51)\1a&H80&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,51,2000,52)\1a&H90&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,52,2000,53)\1a&HA0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,53,2000,54)\1a&HB0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,54,2000,55)\1a&HC0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,55,2000,56)\1a&HD0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,56,2000,57)\1a&HE0&}I never dreamed before
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fad(80,80)\pos(522,5)}{\clip(0,57,2000,58)\1a&HF0&}I never dreamed before


Well this is a first for me... quoting myself... But ultimaweapon that is the EXACT kind of code you would use for a 2 color gradient.

ArchMageZeratuL 2007-09-01 14:48

Why are you using Advanced Substation Alpha tags in plain old SSA files? :rolleyes:

getfresh 2007-09-01 14:51

Because you can. Any other witty comments?

edogawaconan 2007-09-03 05:45

Quote:

Originally Posted by getfresh (Post 1126549)
Because you can. Any other witty comments?

or can't (officially, at least http://malakith.net/aegiwiki/SSA )

cyth 2007-09-03 05:57

Quote:

Originally Posted by edogawaconan (Post 1128851)
or can't (officially, at least http://malakith.net/aegiwiki/SSA )

Um, the renderer uses the tags just fine? You can feed it a .txt and it'll still recognise/parse all the tags and declarations the way they were intended (minus the bugs).

edogawaconan 2007-09-03 06:04

Quote:

Originally Posted by Toua (Post 1128859)
Um, the renderer uses the tags just fine? You can feed it a .txt and it'll still recognise/parse all the tags and declarations the way they were intended (minus the bugs).

well right. Though it won't work on at least 2 cases:
  • Old "SSA" renderer (it accept the file but fail to render)
  • Strict renderer (which will only 'load' support for tags for format specified in header)
no one will normally hit either case though :uhoh:

getfresh 2007-09-04 22:51

Quote:

Originally Posted by edogawaconan (Post 1128851)
or can't (officially, at least http://malakith.net/aegiwiki/SSA )

Can, that code is directly from the beck kara I did for A-E's beck. And it did just what is coded there. The proof is in the pudding~

And I used textsub 2.23 (an old render) just so you know. Don't follow textsubs "can and can't" list like it's god. Theres so many glitches you can abuse to your advantage.

edogawaconan 2007-09-05 11:32

Quote:

Originally Posted by getfresh (Post 1131618)
Can, that code is directly from the beck kara I did for A-E's beck. And it did just what is coded there. The proof is in the pudding~

And I used textsub 2.23 (an old render) just so you know. Don't follow textsubs "can and can't" list like it's god. Theres so many glitches you can abuse to your advantage.

even if you can it doesn't mean you should. what's the harm following specs anyway :uhoh:

(blame vsfilter? :confused: )

just for fun:
Code:

[Script Info]
; This is a Sub Station Alpha v4 script.
; For Sub Station Alpha info and downloads,
; go to http://www.eswat.demon.co.uk/
; or email kotus@eswat.demon.co.uk
Title: Beck OP
Original Script: <unknown>
ScriptType: v4.00
Collisions: Normal
PlayResY: 768
PlayDepth: 0
Wav: 0, 8947,C:\sysreset\download\beck3.wav
LastWav: 1
Timer: 100.0000

[V4 Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: BOPK1,Moore Mary,58,&HFFFFFF,16777215,65535,-2147483640,-1,1,1,0,0,6,10,10,5,0,0

[Events]
Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: Marked=0,0:00:15.40,0:00:17.45,BOPK1,,0000,0000,0000,,{\fax1.5}I never dreamed before



All times are GMT -5. The time now is 02:57.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.