Author Topic: Looking to change the movie clip font color, but not sure what part to change  (Read 936 times)

Offline FlyingGrass

  • ~🛠 The avant-garde doctor of mechanical beings. 🔧 🔬
  • Elder Grey Pelt
  • ****
  • Posts: 2,516
  • Country: 00
  • Floof-O-Meter: 121
  • Avatar=Me|Signature=Me
    • FlyingGrass
    • channel/UCA7RfqQ1KLl4s8JhxIXNs_Q
    • View Profile
    • Mechanicafeles Discord link
After assuming it's an image and looking for an image, I found a code thinking I could code the font to use a new image. I found a file that looks like it pertains to font, it doesn't look like it needs images. The file is: FeralHeart/Media/Overlays/Overlay1/Templates.overlay
What part of this code applies to movie clip font?
Code: [Select]
template element TextArea(GuiTemplate/BasicText)
{
    font_name Tahoma
    char_height 0.03
colour_top 1 1 1
colour_bottom 1 1 1
    left 0.005
    top 0.005
}
template element TextArea(GuiTemplate/BasicText2)
{
    font_name Tahoma
    char_height 0.03
colour_top 1 1 1
colour_bottom 1 1 1
    left -0.01
    top 0.005
    alignment right
    horz_align right
}
template element TextArea(GuiTemplate/LargeText)
{
    font_name TempusSans
    char_height 0.05
colour_top 1 1 1
colour_bottom 1 1 1
    left 0.005
    top 0.005
}
template element TextArea(GuiTemplate/VeryLargeText)
{
    font_name TempusSans
    char_height 0.075
colour_top 1 0.647059 0
colour_bottom 1 0.843137 0
    left 0
    top -0.036
    alignment center
    horz_align center
    vert_align center
}
template element TextArea(GuiTemplate/CenteredText)
{
    font_name BlueHighway
    char_height 0.03
colour_top 1 1 1
colour_bottom 1 1 1
    left 0
    top -0.0125
    alignment center
    horz_align center
    vert_align center
}
template element TextArea(GuiTemplate/TextFieldText)
{
    font_name Tahoma
    metrics_mode pixels
    //char_height 0.03
    char_height 24
colour_top 1 1 1
colour_bottom 1 1 1
    //left 0.01
    //top 0.005
    left 6
    top 2
}
template element TextArea(GuiTemplate/SmallCenteredText)
{
    font_name BlueHighway
    char_height 0.025
colour_top 1 1 1
colour_bottom 1 1 1
    left 0
    top -0.01
    alignment center
    horz_align center
    vert_align center
}
« Last Edit: January 14, 2018, 03:34:45 pm by FlyingGrass »

My presets.

Good things take time, so I'll take an eternity and create something so good that the human brain can't handle the sheer goodness of it.

Erranti

  • Guest
Don't think anyone ever tried to attempt this...

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
I'm not sure exactly which part affects just the font color, there seems to be numerous "text area" code sections. If you were to somehow change it though, only you would see the color change, everyone else would have to change their coding as well to see the color difference.


You are amazing <3

Offline FlyingGrass

  • ~🛠 The avant-garde doctor of mechanical beings. 🔧 🔬
  • Elder Grey Pelt
  • ****
  • Posts: 2,516
  • Country: 00
  • Floof-O-Meter: 121
  • Avatar=Me|Signature=Me
    • FlyingGrass
    • channel/UCA7RfqQ1KLl4s8JhxIXNs_Q
    • View Profile
    • Mechanicafeles Discord link
I'm not sure exactly which part affects just the font color, there seems to be numerous "text area" code sections. If you were to somehow change it though, only you would see the color change, everyone else would have to change their coding as well to see the color difference.
I'm looking to change the color of all movie clip fonts to make them more readable, not so others can see my movie clips a different color ^-^

I'm sure it's one of the fonts that use the yellow color code, I'll test changing the color of both.

What is the easiest-to-see color on both grass and sand?
« Last Edit: January 14, 2018, 03:34:02 pm by FlyingGrass »

My presets.

Good things take time, so I'll take an eternity and create something so good that the human brain can't handle the sheer goodness of it.

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Oh I gotcha!! It might just be something you have to play around with. It's looking like the bit I've posted below is different from the others. It's titled "Very Large Text" which may be referring to the larger text used when a movie clip is actually playing.

This coding uses MATLAB color code, the following sequences represent different colors. You could always copy the entire code in case you mess up and just play around. Wherever it says Color 1 1 1 indicates that the text will be white.

Code: [Select]
template element TextArea(GuiTemplate/VeryLargeText)
{
    font_name TempusSans
    char_height 0.075
 colour_top 1 0.647059 0
 colour_bottom 1 0.843137 0
    left 0
    top -0.036
    alignment center
    horz_align center
    vert_align center
}



For a greater variety of the color sequences, look here: https://www.tug.org/pracjourn/2007-4/walden/color.pdf

EDIT: It looks like I was correct, the code I pasted is in fact the section that changes the movie clip font color. It is currently using this:

« Last Edit: January 14, 2018, 03:41:28 pm by Bloo. »


You are amazing <3

Offline FlyingGrass

  • ~🛠 The avant-garde doctor of mechanical beings. 🔧 🔬
  • Elder Grey Pelt
  • ****
  • Posts: 2,516
  • Country: 00
  • Floof-O-Meter: 121
  • Avatar=Me|Signature=Me
    • FlyingGrass
    • channel/UCA7RfqQ1KLl4s8JhxIXNs_Q
    • View Profile
    • Mechanicafeles Discord link
Thank you! Now I've customized my ingame font color!

I've even changed the vertical position of the font to see more in movie clips, should I make a tutorial on how to move the movie clip font upward to see more of the movie clip?

-Edits after testing, was so confident it would work- but the position of the movie clip font doesn't seem to change at all... Unless the font moved downwards. I should experiment with the movie clip font position a bit more

Edit again: It works!
« Last Edit: January 14, 2018, 04:30:45 pm by FlyingGrass »

My presets.

Good things take time, so I'll take an eternity and create something so good that the human brain can't handle the sheer goodness of it.

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Yea go ahead! I think that would be really helpful for some people, a little tutorial on how to change the font color and how to add more space so they can write more before it cuts off haha!


You are amazing <3