Home   Help Search Login Register  

Author Topic: cutrsc  (Read 1133 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
cutrsc
« on: 09 Aug 2005, 19:04:43 »
ive been having some troubles with cutrsc's im trying to get some text to appear below to black border in a cutscene
but the problem is that the text appear slighly wrong its in the right place but i want the text to start in the middle of the screen and the whole text to spred out to the right
instead i get the text starting about a quarter to the right
the text starts with missing letters and words
and it all doesnt all fit in the gap a link to a picture of the prob below

ive defined where it goes on the screen like this

Code: [Select]
x=0.7;
y=0.5;
w=0.3;
h=0.8;

ive tried many alternatives like

Code: [Select]
x=0.3;
y=0.5;
w=0.8;
h=0.8;

basically lots of opposites but the text is always cut off and doesnt all fit in like in the picture
can someone either
a) explain why its getting cut off
b) find out the right positions

i think its not a problem with where it is just a problem that it gets cut off

heres the pic

note - as you can see no error messages, but the screen has weird colours thats nothing to do with ofp or my cutrsc cause i saved it as a different format without changing the actual format so it lost colour info

anyway anyone know why this might be happening

Offline Pilot

  • Contributing Member
  • **
Re:cutrsc
« Reply #1 on: 09 Aug 2005, 19:51:53 »
Ok,
x=n is how far across the screen the text starts
y=n is how far down the screen the text starts
w=n is how far across the screen the text will go
h=n is how far down the screen the text will go

In your first examply, you said x=7.  This means the text will start 7 tenths of the way across the screen, which means your text won't start until after the halfway point.  If you want the text to start halfway, use:
x=.5;

You also said w=.3  This means the text will extend from 7 tenths of the way across the screen to the very right edge.  If you change x to .5, then you will need to change w to .5:
w=.5;

You also said y=.5 and h=.8.  This means the text will start halfway down and go down past the bottom of the screen.  y + h cannot equal more than 1 or the text will spill off, likewise, x + w cannot equal more than 1.
Now, change y to .7 or .8.  This will put the text further down.  Then, change h to .2 or .3, depending on what number you choose for y.

So, to put it all together, use the following figures:
x=.5;
y=.8;
w=.5;
h=.2;

Play around with the y figure a bit to get the exact location.

-Student Pilot

EDIT:
If the text is getting cut off, try decreasing the size of the text a little bit until it fits

Btw, I am unable to see the picture, so what I said is sort of a guess
« Last Edit: 09 Aug 2005, 19:54:48 by Student Pilot »

Offline 456820

  • Contributing Member
  • **
Re:cutrsc
« Reply #2 on: 09 Aug 2005, 20:18:59 »
thanks alot
im not too experienced with cutrsc and ive read the tut's but stil dont get it much but anyway ill play around with those figures thanks alot

Offline 456820

  • Contributing Member
  • **
Re:cutrsc
« Reply #3 on: 10 Aug 2005, 20:25:59 »
hey thanks alot almost solved just one quick question left

you say
Quote
w=n is how far across the screen the text will go

but how do you mean is it streatched for example if i had 'hello' written on the screen and set w to =1 would it strtch the text over the entir width of the screen or will it maintain the same width just would be allowed to stretch that far ? (for use of longer words)

Offline Pilot

  • Contributing Member
  • **
Re:cutrsc
« Reply #4 on: 10 Aug 2005, 20:31:21 »
That's how far the text will go.  The text will not stretch, it will remain the same size.

-Student Pilot

Offline 456820

  • Contributing Member
  • **
Re:cutrsc
« Reply #5 on: 10 Aug 2005, 20:37:56 »
thanks alot pilot

topic solved