• Having trouble receiving email verification when signing up? Contact a staff member via our Discord server!
  • Consider joining our Discord server if you haven't already! Discord is a free voice and text chat platform that's more or less a combination of Skype and Teamspeak. Using Discord, you can chat with other Relic Castle members in real-time! Wowza! Click here for the details!
Resource icon

Resource Mr. Gela's Name Windows

Mr. Gela

Elite Trainer
Member
#1
Mr. Gela submitted a new resource:

Mr. Gela's Name Windows - Enables the use of custom windows with names in them, to use for the name of NPCs, for example.

What's this?
See screenshots. owo

O.K. What do I do?
Import this Pastebin Link into a new script section. Use with the text code "\xn[text]".

It will default to the choice windowskin (left screenshot) but, if there's a file in the Windowskin folder called "speech whatever xn", it will use that one instead (right screenshot). A bunch of those are included in one of my other resources:...
Read more about this resource...
 

Hermanaso

Rookie
Member
Posts
1
#3
I cant change names windowskin

I named the image ''speech 1 xn'', 'speec xn'', 'speech01xn'' and ''speech whatever xn'' and it didnt work. It always use the ''choice 1'' image

Anyways this script its so nice and easy to plug in
 

Mr. Gela

Elite Trainer
Member
#4
I cant change names windowskin

I named the image ''speech 1 xn'', 'speec xn'', 'speech01xn'' and ''speech whatever xn'' and it didnt work. It always use the ''choice 1'' image

Anyways this script its so nice and easy to plug in
My instructions might've been vague. Are you using the default windowskins that come in Essentials? ("speech hgss 1" etc). If you are, the "XN" filename should look like "speech hgss 1 xn".

Please, let me know if that was it. :-)
 

WolfPP

Discord Wolf#1235
Member
Posts
99
#5
Oh nice! Can we put image too? I mean, like RPG lol image instead text name. And both too LOL

Ty ty!
 

Diego Mertens

Rookie
Member
Posts
6
#7
Hi, Mr. Gela!
I do it! I was coding since an hour, and I get what i'd want!
(en mi idioma/in my laguage)
¡Hola, Mr. Gela!
¡Lo hice! Estube codificando como por una hora, ¡Y conseguí hacerlo! Puse esto:
Ruby:
def pbDisplayNameWindow(msgwindow,param)
  if msgwindow.y <= 25
    namewindow=Window_AdvancedTextPokemon.new(_INTL("<ac>{1}</ac>",param))
    namewindow.setSkin("Graphics/Windowskins/"+MessageConfig::TextSkinName+" xn")
    namewindow.resizeToFit(namewindow.text,Graphics.width)
    namewindow.width=180 if namewindow.width<=180
    namewindow.width = namewindow.width
    namewindow.y=0
    namewindow.x=msgwindow.x
    namewindow.y+=OFFSET_NAMEWINDOWUP_Y
    namewindow.x+=OFFSET_NAMEWINDOW_X
    namewindow.viewport=msgwindow.viewport
    namewindow.z=msgwindow.z
    return namewindow
  else msgwindow.y >=25
    namewindow=Window_AdvancedTextPokemon.new(_INTL("<ac>{1}</ac>",param))
    namewindow.setSkin("Graphics/Windowskins/"+MessageConfig::TextSkinName+" xn")
    namewindow.resizeToFit(namewindow.text,Graphics.width)
    namewindow.width=180 if namewindow.width<=180
    namewindow.width = namewindow.width
    namewindow.y=msgwindow.y-namewindow.height
    namewindow.x=msgwindow.x
    namewindow.y+=OFFSET_NAMEWINDOW_Y
    namewindow.x+=OFFSET_NAMEWINDOW_X
    namewindow.viewport=msgwindow.viewport
    namewindow.z=msgwindow.z
    return namewindow
  end
end
And:
Ruby:
OFFSET_NAMEWINDOW_Y=0
OFFSET_NAMEWINDOW_X=0
OFFSET_NAMEWINDOWUP_Y=108
OFFSET_NAMEWINDOWUP_X=-1
 

Mr. Gela

Elite Trainer
Member
#9
Is it possible to change the windowskin for it in respect to the speech's windowskin

in the screenshot below you can see it still uses the windowskin for the first hgss frame and not the corresponding one even thou i have all the windowskins in the folder
It should be using the same windowskin unless your text command is overwriting that. Is that what's happening?
 
Top