Home   Help Search Login Register  

Author Topic: change text color and size in cutscenes  (Read 666 times)

0 Members and 2 Guests are viewing this topic.

Offline MeKillYou

  • Members
  • *
  • Looking for some prob, shout for me(hehe)
change text color and size in cutscenes
« on: 07 Nov 2004, 11:37:29 »
my question how do i do this...
change text color and text size in cutscenes..

and third question how do u get the "typing effect"when text appears
sounds like an old typing machine..
which i ve seen in some mods.


bored_onion

  • Guest
Re:change text color and size in cutscenes
« Reply #1 on: 07 Nov 2004, 11:44:13 »
im not sure if there is a way to change titletext or cuttext size or font but you can create resources to shove over the top

as for the typewriter - heard of it dunno where to get it either
search the forum, there may be posts

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:change text color and size in cutscenes
« Reply #2 on: 07 Nov 2004, 11:55:52 »
I havn't seen the typewriter effect you speak of personally but this script may produce something like the effect:

CutText["G","PLAIN"]
PlaySound "TypewriterKey"
~0.5
CutText["GO","PLAIN"]
PlaySound "TypewriterKey"
~0.5
CutText["GOO","PLAIN"]
PlaySound "TypewriterKey"
~0.5
CutText["GOOD","PLAIN"]
PlaySound "TypewriterKey"




Offline MeKillYou

  • Members
  • *
  • Looking for some prob, shout for me(hehe)
Re:change text color and size in cutscenes
« Reply #3 on: 07 Nov 2004, 12:41:08 »
creates the effect i was asking for thx but i need sound aswell ....

u can change size and colors of text dunno how though
...

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:change text color and size in cutscenes
« Reply #4 on: 08 Nov 2004, 21:50:13 »
Quote
creates the effect i was asking for thx but i need sound aswell ....
You'll need to find such a sound yourself, and include it in your description.ext. Then you would play the sound each time you write a letter, via the "playsound" command. Actually, just like C0LDSt33L has in his script. Check out Bloodmixer's sound tut in the ed depot if you don't know how to put sounds in your mission.

Quote
u can change size and colors of text dunno how though
For that you will need either a dialog, or a cut resource. They are pretty similar to make I think, but dialogs can be interactive. In your case a dialog might be easiest, because you can't change the text of a cut resource (so you would need to make one resource for each letter in the word).


There is a dialog tut by vectorboson in the ed depot. I don't know of any cutrsc tutorials. Once you figure out how to make dialogs, I'll send you a simple script I wrote for them that makes a typewriter effect.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Blanco

  • Former Staff
  • ****
Re:change text color and size in cutscenes
« Reply #5 on: 08 Nov 2004, 23:40:33 »
Quote
and third question how do u get the "typing effect"when text appears
sounds like an old typing machine..
which i ve seen in some mods.

You are lucky, I just finished a tutorial about that subject!
Take a look in the editor depot - pending

http://www.ofpec.com/editors/resource_view.php?id=722
« Last Edit: 08 Nov 2004, 23:41:50 by Blanco »
Search or search or search before you ask.

Offline MeKillYou

  • Members
  • *
  • Looking for some prob, shout for me(hehe)
Re:change text color and size in cutscenes
« Reply #6 on: 10 Nov 2004, 11:58:21 »
I am lucky your absolutely right about that...
awesome demo (when i figured out how to get it work)

thx alot  ::)

now i need to figure out how everything is done
but that should not be a problem ....

thx again ;D