OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: laggy on 28 Feb 2010, 12:50:22

Title: Is it possible to move a cutRsc/titleRsc around on the screen?
Post by: laggy on 28 Feb 2010, 12:50:22
Hello there,

Let's say I have a .paa of a handwritten "dear mother" letter.
Can I animate that rsc and make it scroll over the screen (like the Star Wars opening titles)?
I realize this must be possible through a dialogue, but I want to keep it simple, it is for an intro.

I thought ot the "Eagle Wing" campaign titles, where they move the letters around. Mandoble did the same thing in his mission "Triple Blow". Those where not pictures, but letters though.

Grateful for any input,

Laggy
Title: Re: Is it possible to move a cutRsc/titleRsc around on the screen?
Post by: nominesine on 28 Feb 2010, 15:01:14
Make an empty background of suitable colour for the letter. Make the text a transparent image with no background. Define the text as 20+ entries in the description.ext. Since you may define where on the screen the resource is suppose to show up, you may move it upwards step by step until the entire text is shown on the screen.

Messy? Yes, indeed. And I suspect that it will be difficult to produce a smooth scrolling movement. But worth a try if you have some time to spare (and I know you do, so get going  ;) )
Title: Re: Is it possible to move a cutRsc/titleRsc around on the screen?
Post by: Mandoble on 03 Mar 2010, 08:10:26
Picture controls or text controls move and animate the very same.

Try this (http://www.ofpec.com/ed_depot/index.php?action=details&id=363&game=ArmA) to startwith. It needs some tweaks to work on A2 (add disableserialization at the beginning of the script).
Title: Re: Is it possible to move a cutRsc/titleRsc around on the screen?
Post by: laggy on 03 Mar 2010, 19:12:38
Thanks Mandoble  :good:

Will check it out.

Laggy