RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] changing text to black

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 87
hello i need a little help with editing a script. im kinda new to scripting and im trying to change an AMS script's text color to black permanetly.

i have learned about those codes that can make it black temporarily but it seems like a hastle to keep putting in the code over and over again so can anyone help me make the text black? it seems kinda simple.

i need to know what i should change in the script
« Last Edit: July 22, 2007, 06:39:09 AM by Zeriab »

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
I think you need to change the system's normal color, I'll take a look, hld on

edit: normal_color is in Window_Base...

anyways, if you want all the text in the game to be Black, open up a new script above main, below the AMS
and put this script in

Code: [Select]
class Window_Base
  def normal_color
    return Color.new(255, 255, 255, 255)
  end
end

and that will make all the text displayed in the game black
(well the text in menu boxes and such)

if you only want it to work with messages (i.e. not the title screen etc..), I'll have to take a look at the AMS
« Last Edit: July 22, 2007, 04:12:53 AM by NAMKCOR »

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

**
Rep: +0/-0Level 87
alright i tried that but it didnt seem to work. i think that the problem may be bacause of one of my other scripts. i am going to start a new project and check

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
put that directly above main, i.e. the last custom script

edit: oops
forgot to change the numbers XD


Code: [Select]
class Window_Base
  def normal_color
    return Color.new(0, 0, 0, 255)
  end
end

there
put THAT one in the seperate code

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

**
Rep: +0/-0Level 87
ok i tried that. it didnt work but i fixed the problem by editing the window-base by changing one of the sets of numbers to (0, 0, 0, 255) and using \c in a message to make it permanent.

thank you for helping me   :)

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
yeah
I'm pretty sure I know why that didn't work, but I'm glad you were able to figure it out

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon