How can I change the font of the choice boxes?

Discussion in 'Visual Novel Maker Support' started by Ganimate, Sep 15, 2018.

  1. Ganimate

    Ganimate Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Hi everyone! First time on the forums and first time using VN Maker! Enjoying it a lot so far!

    Now, here's the questiong that brings me here seeking for help: I want to change the font of the default choice boxes that VN Maker has.

    I found this script in the forums which is really useful:

    https://forums.rpgmakerweb.com/index.php?threads/ael-image-choices.88324/

    The thing is... I would like to change the font of THE default one if that's possible (as seen in the image below). Is it possible to change it from the default code of the engine? With another script? If you guys can help out, I would really appreciate it!

    Thanks everyone! 05.jpg
     
    #1
  2. SimProse

    SimProse Veteran Veteran

    Messages:
    363
    Likes Received:
    197
    Location:
    United States
    First Language:
    English
    #2
    Ganimate likes this.
  3. Ganimate

    Ganimate Villager Member

    Messages:
    8
    Likes Received:
    1
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Yeah! Indeed it's an awesome script! But as I wrote, I already knew about it, I'm looking for a way to change the deafult box without using an external box. Anyways, thank you so much for taking the time to reply!! :)
     
    #3
  4. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,632
    Likes Received:
    14,381
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Hi @Ganimate it's definitely possible. There is the text command or script method. I find the script solution easier so here we go.

    upload_2018-9-18_7-18-47.png

    - Create a new coffeescript file in the Script Editor and call it Style_Ganimate or something like that. Make sure it's above Main.
    - Insert the following snippet with your changes:
    Code:
    ###
    # Regular message text style for use in backlog, etc.
    ###
    ui.UIManager.styles.messageText = {
        "font": { "name": "Tahoma", "size": 25, "smallCaps": false, "italic": false, "border": true, "borderSize": 4 }
    }
    
    ###
    # Text for ADV game messages.
    ###
    ui.UIManager.styles.advMessageText = {
        "font": { "name": "Tahoma", "size": 25, "smallCaps": false, "italic": false, "outline": { "size": 4, "color": [0, 0, 0, 255] } }
    }
    
    ###
    # Text for NVL game messages.
    ###
    ui.UIManager.styles.nvlMessageText = {
        "font": { "name": "Tahoma", "size": 25, "smallCaps": false, "italic": false, "border": true, "borderSize": 4 }
    }
    
     
    #4

Share This Page