User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: NPC script modification request...

  1. #1
    espeorb
    Guest

    NPC script modification request...

    This seems easy enough to do, but I don't know. Okay, you know pkmnfrk's NPC script? Yeah, see that would be a good basis. I would like to have an NPC script like that which displays a black background under the message. Sort of like this:



    Okay, a lot like that. This may or may not already be in the showcase, but I've searched through several pages and cannot find it. Pkmnfreak's NPC script makes it hard to distinguish the string/message from a varied background, even when using a different color for the string. Could anybody do this?

  2. #2
    Keese
    Join Date
    Jan 2008
    Age
    28
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    743
    Level
    9
    vBActivity - Bars
    Lv. Percent
    58.43%

    Re: NPC script modification request...

    The script doesn't change the background I don't think, it just plays a string. Therefor, you would have to change it in the string editor.

  3. #3
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,301
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.31%

    Re: NPC script modification request...

    Go to the tile editor.
    Make a black tile.
    Copy it so that you have 4 in a square shape.

    Go to the string editor.
    Select a string.
    See that little black box in the right-middle, below where you type in the string?
    Click it.
    Select the top left tile of the square you just made.

    Repeat for all strings.

  4. #4
    Wizrobe The_Amaster's Avatar
    Join Date
    Dec 2005
    Location
    St. Mystere
    Age
    32
    Posts
    3,803
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    8,807
    Level
    28
    vBActivity - Bars
    Lv. Percent
    25.7%

    Re: NPC script modification request...

    Clarified:
    Go to the tile editor.
    Make a black tile.
    Copy it so that you have 4 in a square shape.
    Do this just once


    Go to the string editor.
    Select a string.
    See that little black box in the right-middle, below where you type in the string?
    Click it.
    Select the top left tile of the square you just made.
    Do this for every string

  5. #5
    espeorb
    Guest

    Re: NPC script modification request...

    Squee! Now I feel like an idiot and a newbie, though. Oh well. Thanks so much!

  6. #6
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,139
    Level
    18
    vBActivity - Bars
    Lv. Percent
    9.85%
    I should amend the script's page, since this question has come up before. I wish there was a way to change the background of a string, though. I guess it's just another thing to work around with my custom messa- er, I probably shouldn't say anything at this point...
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  7. #7
    espeorb
    Guest

    Re: NPC script modification request...

    Hmm.... that's odd. I set the background of all the strings to a pure-black tile that has the exact same tile to the bottom, right and bottom-right of it. They're basically filler tiles included in the tileset. However, they don't show up behind the message. Why is this? Is it because black is counted as a "transparent color"? Or what?

  8. #8
    &&
    ZC Developer
    Joe123's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    3,061
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,301
    Level
    26
    vBActivity - Bars
    Lv. Percent
    8.31%

    Re: NPC script modification request...

    Quote Originally Posted by Amaster42 View Post
    Clarified:
    Do this just once
    Do this for every string
    heh, I thought that went without saying really.


    And I believe the transparent colour's not counted as transparent in a string background, but it may have changed...

  9. #9
    espeorb
    Guest

    Re: NPC script modification request...

    Quote Originally Posted by Joe123 View Post
    heh, I thought that went without saying really.


    And I believe the transparent colour's not counted as transparent in a string background, but it may have changed...
    It may have changed, though I don't know. I'm using 901, though I'm trying to upgrade every time they put a new build on shardstorm. That's kind of hard. But anyway, I know that it's counted as transparent in basically everything though I don't know about strings. Unless there's something I'm doing terribly wrong.

    Here's some screenshots:


    The above pic contains me showing you with a red border, red arrow and text which tile I'm using for a string. Ignoring the red brush border, the tile has the exact same tile to the bottom, right and the bottom right.


    This one shows the exact same string (not shown in first pic) in the game, with pkmnfrk's NPC script (unmodified). As you can see, no black background, thus barely readable.

  10. #10
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,139
    Level
    18
    vBActivity - Bars
    Lv. Percent
    9.85%

    Re: NPC script modification request...

    Take an unused tile (such as the one you picked), and edit it. Fill it with a black other than the first black (with the white X).

    Bad:


    Good:
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social