The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Atracious on January 09, 2008, 12:25:22 AM

Title: another CMS question.... [RESOLVED]
Post by: Atracious on January 09, 2008, 12:25:22 AM
How do you make it so that a CMS doesn't use black as the background, but rather the map? I just want to show 1 window and 1 menu over the map scene...kinda like in chaos project...I thought there was a topic about this but i couldn't find it...

EDIT: also, can you change the background of a menu/window from the blue to a picture?

i got the map as a background: put @window_0 = Spriteset_Map.new at the top
Title: Re: another CMS question....
Post by: kathis on February 10, 2008, 08:31:43 AM
I believe they use a hub...

Looking at blizzards scripts I would say it is a hub, This won't do anything for your script unless you have the whole wiring to make it want to work but it's what I see


[spoiler] .....
@hud = Hud.new if BlizzABS::Config::HUD_ENABLED && $game_system.hud
      # create options window
      @window = Window_Command.new(192, ['Menu', 'AI Setup', 'Controls', 'Cancel'])
      # disable second option (not available yet)
      @window.disable_item(1)
      # set x and y position
      @window.x, @window.y = 320 - @window.width/2, 240 - @window.height/2
      # set z position
      @window.z = 21000
      # set back opacity
      @window.back_opacity = 160
      # create spriteset
      @spriteset = Spriteset_Map.new
      # create viewport
      @view = Viewport.new(0, 0, 640, 480)
      # tint viewport
      @view.tone = case BlizzABS::Config::MENU_COLOR_TINT
      when 0 .....
[/spoiler]


I cannot say exactly how to do it but that's how I believe it is done. Also I believe it causes a paused game like when you enter the menu itself as well.