Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Mightylink on October 14, 2008, 03:43:00 am

Title: CMS Custom_Equipment_Scene Help
Post by: Mightylink on October 14, 2008, 03:43:00 am
Ok first I just wanna say this is low priority, I don;t absolutely need it and I know I've bugged you too much already :P

I am trying to replace the equipment scene completely with a quest menu but it doesn't seem to work. I think it is because your cms is trying to force it as an equipment menu.

I don't want an equipment menu of any kind I would like it completely replaced into a quest screen.

I have Runes Quest Log Script and it is called by $scene = Scene_QuestPage1

It works as a stand alone item but I want it as part of the main menu. I want it to replace the equipment option so it shows the quest log instead of equipment.

The reason for this is cause I feel that having 2 equipment menus is pointless, I only want the one that actually lets you change your equip.

Anyway I went into the stormtronics cms config

set CUSTOM_EQUIPMENT_SCENE = true

and went to this part and put

        if BlizzCFG::CUSTOM_EQUIPMENT_SCENE
          $scene = Scene_QuestPage1
        else

now when I go in game and select the equipment option (haven't renamed to quest log yet) it forces me to select a character and when I do the game crashes, with no errors, so I think its still trying to use the equipment option as an equipment screen when I just want it to call the quest log.

How can I get this working?
Title: Re: CMS Custom_Equipment_Scene Help
Post by: Blizzard on October 14, 2008, 04:03:27 am
Find this piece of code (line 2148-2152):

      when 1..4
        $game_system.se_play($data_system.decision_se)
        @command_window.active = false
        @status_windows.each {|win| win.active = true}
        @actor_index = 0


and change it to this one:


      when 1
        $game_system.se_play($data_system.decision_se)
        if BlizzCFG::CUSTOM_EQUIP_SCENE
          @scene = Scene_QuestPage1.new
        else
          @command_window.active = false
          @status_windows.each {|win| win.active = true}
          @actor_index = 0
        end
      when 2..4
        $game_system.se_play($data_system.decision_se)
        @command_window.active = false
        @status_windows.each {|win| win.active = true}
        @actor_index = 0


Now just put in the right name for the quest scene when you have it and that's it.
Title: Re: CMS Custom_Equipment_Scene Help
Post by: Mightylink on October 14, 2008, 04:15:20 am
Saved me again, thanks a lot.

Your like the superman of rpg maker, i waited here refreshing the page hoping youd come :P