Page 1 of 1

Simple target_print question for EP maps

Posted: Thu Feb 02, 2012 4:18 pm
by dONKEY
There may be a better entity or different way of doing this for EntityPlus, but at the start of my level I had the idea of a the player triggering a sequence of target_print ents to introduce my storyline. Trouble is my story has quite a few sentences and I can't find away of using paragraphs for target_print, I can only write one single long sentence, which doesn't fit on the screen.
Is there a better/easier way of doing this is EP?

Re: Simple target_print question for EP maps

Posted: Thu Feb 02, 2012 4:32 pm
by deqer
Use \n at the end of your line.

NOTE: Doesn't work if followed by certain characters such as hyphens; in those cases, prepend a space. For e.g., if your line ends with "-", then add a space "- \n", not "-\n"

If you want to do multiple, then use a bit of target_delay. If a single target_relay connect to multiple target_delays. Each target_delay will have a "wait" set to it. The wait increases for each target_print. For e.g. For 3 parts of text, 6 seconds each.

Code: Select all

target_relay -> target_delay(1) wait "0" -> target_print wait "6"
             -> target_delay(2) wait "6" -> target_print wait "6"
             -> target_delay(3) wait "12" -> target_print wait "6"

Re: Simple target_print question for EP maps

Posted: Thu Feb 02, 2012 6:27 pm
by Eraser
You could also make a texture with your text and render that to the screen using target_effect's OVERLAY spawnflag. If you create a custom shaded for it, you could even have it scroll across the screen.

Re: Simple target_print question for EP maps

Posted: Thu Feb 02, 2012 6:29 pm
by Eraser
Oh, another option is to create actual geometry, texture it with a text texture and use cutscene cameras to pan across it.

Re: Simple target_print question for EP maps

Posted: Fri Feb 03, 2012 12:06 am
by dONKEY
Thanks guys.
I thought about the camera and geometry idea, had used that in Q4 SP, was just looking at alternatives. I'll play around a bit.