Jump to content
Sign in to follow this  
aook002

Credits

Recommended Posts

Hey all,

I was just wondering as I was watching a film last night. Are you able to create 'credits' at the end of a mission, rolling from the bottom of the screen to the top. I hope you know what i mean.....

I know you can use something like this (or can you?):

<u>Showing a title cut on the screen

Parameters :</u>

Text to display

Fading method :

"BLACK OUT" - Fade to black screen

"BLACK IN" - Fade in from black screen

"BLACK FADED" = Seems to be a smoother fade to black than "BLACK OUT"

"BLACK" = Seems the same as "BLACK OUT"

"WHITE OUT" - Fade to white screen

"WHITE IN" - Fade in from white screen

Fading time in seconds

titleCut ["Hello","BLACK IN",10]

<u>Adding a title

Parameters : </u>

Text to display

Text style :

"PLAIN DOWN" = Plain text in lower part of screen

"PLAIN" = Plain text in middle part of screen

titletext ["Sweet!","PLAIN DOWN"]

Thanks

Aook smile_o.gif

Share this post


Link to post
Share on other sites

Ok! Fine don't answer me, i think ill just make the 'credits' by fading in one after the other.

Aook

Share this post


Link to post
Share on other sites

dude!

I would have answered you if I knew anything about it.

These boards are abit slow these days, you will need to wait i'm afraid.

Share this post


Link to post
Share on other sites

I don´t think there is a way to scroll text or images in a suitable manner. All these resources are static. What you can do is some typewriter effect. I had used it in the campaign trailer.

Here is a part of the script.

I hope you get the idea.

Quote[/b] ]TitleText["E","PLAIN DOWN",0.1]

~0.15

TitleText["EV","PLAIN DOWN",0.1]

~0.15

TitleText["EVE","PLAIN DOWN",0.1]

~0.15

TitleText["EVER","PLAIN DOWN",0.1]

~0.15

TitleText["EVERO","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON.","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. ","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. U","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. US","PLAIN DOWN",0.1]

I´d be a bit more moderate. Noone here gets paid for helping others and 1 day for a request is really no time.

Share this post


Link to post
Share on other sites

Perhaps make an image and move it up the screen?

Share this post


Link to post
Share on other sites
Quote[/b] ]Perhaps make an image and move it up the screen?

Resources are static. If he wanted to do that he had to embedd hundreds of instances of the same image with different y coordinates in description.ext. Not a good idea wink_o.gif

Share this post


Link to post
Share on other sites

Sorry for the outburst...just was a bit impatient i guess  sad_o.gif

Anyway thanks for the replies..... biggrin_o.gif

I think ill try the idea from balschoiw...

Quote[/b] ]Quote  

TitleText["E","PLAIN DOWN",0.1]

~0.15

TitleText["EV","PLAIN DOWN",0.1]

~0.15

TitleText["EVE","PLAIN DOWN",0.1]

~0.15

TitleText["EVER","PLAIN DOWN",0.1]

~0.15

TitleText["EVERO","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON.","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. ","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. U","PLAIN DOWN",0.1]

~0.15

TitleText["EVERON. US","PLAIN DOWN",0.1]

Aook smile_o.gif

Share this post


Link to post
Share on other sites

Sorry about bringing my old post up again.

But i was just wondering what are the other text positions you can have like "PLAIN DOWN"?

I would be very grateful if someone could tell me...

Thanks Aook smile_o.gif

Share this post


Link to post
Share on other sites

Well, I hate to tell people my techniques of doing things without actually doing them myself... soooo I might as well for the hell of it.

First it would be good to have Oxygen.  Make a huge long block in O2 with a couple of vertical segments.

Go in your image editor you have, fill the area black,  and type in your credits.  Go back in O2, and use that image as a texture and apply it to the top block segment.

The reason for the segments is because OFP only allows 32x32 64x64 ETC image sizes, and if you make one huge long block and apply the texture, the font will be stretched out or duplicated depending on how you apply it.

Once you have your block with all the textures on it, make it a static object in OFP.

Place it anywhere flat,  and script a camera to face at the addon as if you were readin the credits. Move camera from top to bottom.  This will give you your credits affect perfectly.

http://ofp.gamezone.cz/index.php?sekce=videomissions

Go here and click my "STAR WARS MINIONS OF THE EMPIRE" preview to see my advanced way of special effects.  The text is not moving at all, however the camera is.  Camera is mans best friend. Use it wisely.

Share this post


Link to post
Share on other sites

SpecOp9, im grateful for the reply, but really i dont understand a word of wot you're saying, im only a small-scale mission maker nothing fancy like massive mod groups such as CLSA and BAS  sad_o.gif and you could say im not really a scripting master either...but i can do some things smile_o.gif

But hey thanks anyway. Ive used a typewriter effect from Balschoiw, it works fine.

But at the moment im just looking for the other positions you can put the text like:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titletext ["Hello","PLAIN DOWN"]

Thanks anyway people.

Aook  smile_o.gif

Share this post


Link to post
Share on other sites

The only way to scroll anything on the screen is to create your text as a picture (jpeg/paa) and to declare it as multiple controls with a slightly different position for each. Then you use showControl true/false to display the picture at different positions giving the illusion of scrolling.

CSLA2 credits is a good example of it.

Cheers

Share this post


Link to post
Share on other sites

there is also a way without addons or resources to scroll letters on the screen.

look here:

http:/www.frank-hoeflich.de/ofp/Title.intro.pbo

edit:

link fixed, just text now.

Share this post


Link to post
Share on other sites

Look, you can do it just like they do in the movies.

I used a typewriter effect, compleete with click sound in a few missions,, but theres no reason you cant scroll them up.

What you need to do is start the text at the bottom, then move it up one line at a time. get the timing right and it will appear to be scrolling, exactly as they do in the movies.

The only thing is that it will only go halfway up the screen.

But you would start at the bottom of the screen using a line break <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> \n

So for example;

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

Cuttext ["TJ's M A R A T H O N !!\n\n\n\n\nBallistic Addon Studios","PLAIN",0.1]

~0.15

Cuttext ["\n\n\n\nBallistic Addon Studios","PLAIN",0.1]

~0.15

Cuttext ["\n\n\nBallistic Addon Studios","PLAIN",0.1]

~0.15

Cuttext ["\n\nBallistic Addon Studios","PLAIN",0.1]

~0.15

Cuttext ["\nBallistic Addon Studios","PLAIN",0.1]

There, that message will scroll up the screen, you just need to play with the timings to get it right.

(Now you have another name to add to the credits biggrin_o.gifbiggrin_o.gifbiggrin_o.gif )

Share this post


Link to post
Share on other sites

Thanks all and TJ

I think i got your 'hint hint' TJ  tounge_o.gif

I think ill go try this now......cheers

Aook smile_o.gif

Share this post


Link to post
Share on other sites

OK, lets say I'm a complete noob at this (which I really am)... I am very confused, I have no idea where to put that text above to make it appear at my mission start...

For example, my mission starts with player in moving helicopter, I assigned him a waypoint with FADE effect but I can't see that effect at all and I would like to add some intro letters at beginning with screen fading from black... what should I do?

I have no idea what that ''Code Sample'' means for example... What should I copy from here, and paste it where? Sorry, it's just I don't undertsnad this... It's so hard...

Share this post


Link to post
Share on other sites

You can and its very complicated to do but it pays off!! Looks really cool, if you have played the end of BIS EW campaign you will see they have good credits scrolling from the bottom of the screen and its kinda done like how i did it in ARMA but i lost my scripts and looking through the BIS mission for theres was complicated lol! But its in there if you want it :)

Share this post


Link to post
Share on other sites
OK, lets say I'm a complete noob at this (which I really am)... I am very confused, I have no idea where to put that text above to make it appear at my mission start...

For example, my mission starts with player in moving helicopter, I assigned him a waypoint with FADE effect but I can't see that effect at all and I would like to add some intro letters at beginning with screen fading from black... what should I do?

I have no idea what that ''Code Sample'' means for example... What should I copy from here, and paste it where? Sorry, it's just I don't undertsnad this... It's so hard...

The "code sample" thing is just a forum conversion problem that happened to every post existing prior the migration of the forum that contained a content inside a code or quote tags.

By example the post from TJ above should in fact look like this :

Look, you can do it just like they do in the movies.

I used a typewriter effect, compleete with click sound in a few missions,, but theres no reason you cant scroll them up.

What you need to do is start the text at the bottom, then move it up one line at a time. get the timing right and it will appear to be scrolling, exactly as they do in the movies.

The only thing is that it will only go halfway up the screen.

But you would start at the bottom of the screen using a line break

 \n

So for example;

Cuttext ["TJ's M A R A T H O N !!\n\n\n\n\nBallistic Addon Studios","PLAIN",0.1]
~0.15
Cuttext ["\n\n\n\nBallistic Addon Studios","PLAIN",0.1]
~0.15

Cuttext ["\n\n\nBallistic Addon Studios","PLAIN",0.1]
~0.15

Cuttext ["\n\nBallistic Addon Studios","PLAIN",0.1]
~0.15

Cuttext ["\nBallistic Addon Studios","PLAIN",0.1]

There, that message will scroll up the screen, you just need to play with the timings to get it right.

(Now you have another name to add to the credits )

Share this post


Link to post
Share on other sites

OK, thank you for an explanation. I thought it may be something like that. Trust me, it can be very confusing for someone new at this lol... Anyways, what do I do with that text? Where do I place it? Sqf file? In that case where do I initialize it?

Could you explain this to me? Thank you!

Share this post


Link to post
Share on other sites

I used following:

Waypoint with On Act. ''nul = execVM "intro.sqs";''

And this is text in intro.sqs to be displayed:

TitleText["A","PLAIN",0.1]
~0.15
TitleText["Av","PLAIN",0.1]
~0.15
TitleText["Avg","PLAIN",0.1]
~0.15
TitleText["Avga","PLAIN",0.1]
~0.15
TitleText["Avgan","PLAIN",0.1]
~0.15
TitleText["Avgani","PLAIN",0.1]
~0.15
TitleText["","PLAIN",0.1]
~0.15
TitleText["Avgani o","PLAIN",0.1]
~0.15
TitleText["Avgani ou","PLAIN",0.1]
~0.15
TitleText["Avgani out","PLAIN",0.1]
~0.15
TitleText["Avgani outs","PLAIN",0.1]
~0.15
TitleText["Avgani outsk","PLAIN",0.1]
~0.15
TitleText["Avgani outski","PLAIN",0.1]
~0.15
TitleText["Avgani outskir","PLAIN",0.1]
~0.15
TitleText["Avgani outskirt","PLAIN",0.1]
~0.15
TitleText["Avgani outskirts","PLAIN",0.1]
~1
TitleText["\n0","PLAIN",0.1]
~0.15
TitleText["\n03","PLAIN",0.1]
~0.15
TitleText["\n03:","PLAIN",0.1]
~0.15
TitleText["\n03:0","PLAIN",0.1]
~0.15
TitleText["\n03:00","PLAIN",0.1]
~0.15
TitleText["\n03:00h","PLAIN",0.1]
~5
TitleText["","PLAIN",0.1]
~0.1
TitleText["\n","PLAIN",0.1]

But for some reason only first letter is displayed...

I would like to have typing effect and to make it look like this in the end:

Avgani outskirts

03:00h

And then I want it to disappear...

Share this post


Link to post
Share on other sites

What's up with the execVM? It seems like a SQS script to me, so you should execute it like: ''[] exec "intro.sqs";''. Moreover, is this for OFP or Arma? This is the OFP section and I believe Arma has its own more practical ways of doing text like that. You should search the forums for the answer.

Share this post


Link to post
Share on other sites

Yes this is for Arma 2, and trust me, I did search but I couldn't find anything... Sorry if there is something I missed...

Could you link me to something useful?

Share this post


Link to post
Share on other sites

Well, I myself don't know, but there were some text effects in the EW campaign released in Arma 2 patch 1.05. Maybe if you unpbo it and look at the scripts, you can find it out. If not, feel free to ask in the Arma 2 forums, as this is the OFP section.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×