[XP] Stormtronics CMS

Started by Blizzard, January 09, 2008, 04:00:35 pm

Previous topic - Next topic

Memor-X

Quote from: Blizzard on December 30, 2008, 07:59:54 am
That add-on isn't compatible with STCMS.


think you can make it compatible cause one of the items that would use the addon groups 255 items and i would rather use STCMS cause out of all the CMS's i've downloaded, yours it the only one that has a seperate part for quest items

Blizzard

I can't do that. The problem is that the whole menu would have to be called over and over again instead of just the item scene, because it's a One-Scene-CMS. This would only make sense if you use a "custom Item Scene". If it doesn't work with a custom Item Scene (or the default one), then I can look into it and fix that.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

barchetta



Error:
Script 'StormTronics CMS' line 905: TypeError occured.
can't convert NilClass into Bitmap


Help, please?

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Shadonking

blizz, could i have a template for the element icons, you know those sphere like icons.

all i need is that sphere shape with nothin on it.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Landith

January 27, 2009, 05:19:57 pm #125 Last Edit: January 27, 2009, 05:21:01 pm by Landith


Something like that?

Shadonking






Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

I don't have the PSD files from those icons anymore. >.<
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Shadonking

 :( O WELL

i think i might make my own icons ( well, edit and merge icons i have  :haha: )

i want all the icons to match and im adding some new elements.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Shining Riku

Man...I can't figure out how to add options into your menu, Blizz, and I swear I saw somebody request that same thing here, only I can't remember where I found it. I just don't get it. Scripting is not my strong point. Bleah.

I wanted to replace the Save option with the RO Job/Skill system and then add a Party switcher option. The closest i've gotten is editing line 891 to include those options (With Save being replaced.) And now I just need those options to work. :wacko:

What else should I edit in the script to actually make those options work? I understand scripts well enough to edit them and the like, but I just need to be pointed in the right direction, big time. I'm a Cruise Missile without coordinates to blow up at. :'(

Calintz

February 03, 2009, 12:20:23 pm #130 Last Edit: February 03, 2009, 12:36:09 pm by Calintz16438
I will try to help you the best that I can.
You need to start at the top, with the Window_CMSCommand...

#==============================================================================
# Window_CMSCommand
#==============================================================================

class Window_CMSCommand < Window_Command
 
  attr_reader :continue
 
  def initialize(index, continue)
    @background = 'CMSCommand'
    commands = (([$data_system.words.item, 'Equipment', $data_system.words.equip,
        $data_system.words.skill, 'Status', 'Options', 'Tutorials', 'Save', 'Load', 'Exit']))
    super(180, commands)
    @continue, self.index, self.x, self.y, self.z = continue, index, 972, 0, 999
  end
 
  def draw_item(i, color)
    self.contents.fill_rect(0, i*32, 148, 32, Color.new(0, 0, 0, 0))
    bitmap = RPG::Cache.icon("CMS/commandmenu#{i}")
    opacity = (color == normal_color ? 255 : 128)
    self.contents.blt(4, 4 + i*32, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.font.color = color
    self.contents.draw_text(32, i*32, 148, 32, @commands[i])
  end
 
end



What I have in dual parenthesis is your 1st concern. **Note that those parenthesis are NOT part of the script.
You can find this section in his script "around" lines 850-880 somewhere.


After you have configured this section to your specifics needs, then you need to scroll down to the bottom of the script. Line 1805 is roughly where you should be looking now...You want to find the (Scene Menu) section.

LOOK FOR THIS
def update_command
    if Input.trigger?(Input::B)
      $game_system.se_play($data_system.cancel_se)
      @scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      if $game_party.actors.size == 0 && @command_window.index < 5
        $game_system.se_play($data_system.buzzer_se)
        return
      end
      case @command_window.index
      when 0
        $game_system.se_play($data_system.decision_se)
        @item_choose_window = Window_CMSChooseItem.new
        @items_window1 = Window_NormalItem.new
        @items_window2 = Window_QuestItem.new
        @items_window1.help_window = @items_window2.help_window = @help_window
        @command_window.active = false
        @help_window.x, @help_window.y = 0, -576
        @help_window.set_text('')
        @help_window.visible = false
        items_refresh
      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
      when 5
        $game_system.se_play($data_system.decision_se)
        @options_window = Window_CMSOptions.new
        @command_window.active = false
      when 6
        $game_system.se_play($data_system.decision_se)
        @scene = Scene_Blakestutorials.new
      when 7
        if $game_system.save_disabled
          $game_system.se_play($data_system.buzzer_se)
        else
          $game_system.se_play($data_system.decision_se)
          @scene = Scene_CMSSave.new
          Graphics.transition(0)
        end
      when 8
        if @command_window.continue
          $game_system.se_play($data_system.decision_se)
          @scene = Scene_CMSLoad.new
          Graphics.transition(0)
        else
          $game_system.se_play($data_system.buzzer_se)
        end
      when 9
        $game_system.se_play($data_system.decision_se)
        @command_window.active = false
        @end_window = Window_CMSEndCommand.new
      end
    end
  end


This is where you set what happens when you select your command from the main menu.
You should be able to figure it out from there. If you have more questions...please ask.

P.S.
If you are changing the location of the save and load options in your menu, make sure you find these lines of code in the Scene_Menu section(mentioned earlier) and change them accordingly. They are located just several lines away from the top of the Scene_Menu section's beginning...

@command_window.disable_item(7) if $game_system.save_disabled
    @command_window.disable_item(8) unless @command_window.continue


Here is a screenshot of my menu...
Spoiler: ShowHide

You will notice that each line of code correlates with my custom menu.

OFF TOPIC
Spoiler: ShowHide
This however, is not the final version of "my" edit to Blizzard's CMS...The following changes still have yet to be made:
  • Custom Windowskin

  • Font change

  • Bookbag, Options, Tutorials, Save, Load, and Exit icons will be changed...

Shining Riku

No matter what I do, the farthest I get is adding the options to the menu. :urgh:

I just can't do it. You've been the biggest help, Calintz, but this is just somehow eluding me. I work best when I actually see the changes and stuff inside a project. I'm so sorry I wasted your time, man, but It just won't work for me. I guess i'm having one of those "Break all you touch" moments. :'(

Calintz

Alright, so throw up your request into the Script Request section, and someone can help.
Don't just give up!!

Shadonking

February 04, 2009, 12:34:44 pm #133 Last Edit: February 15, 2009, 03:51:35 pm by Shadonking
i was just thinking if some one could make an edit of this and instead of the the blizz-abs sub menu bieng seperate from the rest of the menu could it be part of this menu.

i was just wondering becuase that will make games using both scripts look better

edit

bump





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

legacyblade

March 14, 2009, 09:38:43 pm #134 Last Edit: March 14, 2009, 09:42:17 pm by Starrodkirby86
Alright, I was working along with my own scripts when I thought "hey, might as well test this with StormTronics CMS". So, I downloaded the latest version, pasted it into my project section, and got this very surprising error.

Spoiler: ShowHide


and when I click the options menu, I get the following

Spoiler: ShowHide


I worked for awhile, but couldn't figure it out. So I remove all the custom scripts from the project, the problem still continues. So I opened Darkness Rebirth, pulled the script from that game (it works in that game file) and pasted it into the project. Same thing.

So, I decide to try out the demo for stormtronics...same errors. I'm using the legal version, have reinstalled both RMXP AND the RTP, as well as rebooted my comp, and the error stays, except when I use the script in Darkness Rebirth . O_o any idea how to fix this?

OH DEAR GOD PUT SOME CLOTHES ON THAT THING WILL YOU!? ~Love, Starrodkirby86

Calintz

It might be some sort of registry error. :???:

I have actually had a problem similar to this in the past. I did not get the same error message, but I had been getting the same dysfunctions as you. The error that I encountered occurred when I attempted to preview a message from the command window(F2).

I don't remember the exact error, but it completely closed the RMXP engine!!

The only solution that came to, was when my step sister actually crashed the computer. I had made a backup of my project when I 1st encountered the error, because I knew something was wrong, and that it wasn't a script that was causing the issue.

Upon the system crash, I restored the entire OS with PC Angel, and when I got around to re-installing RMXP, the error was gone.

**Conclusion:
**The problem may very well be your CPU itself, and not a script. Not even CCleaner or other Registry repair applications were sufficient enough to completely solve the problem, and the only sure solution for me was a system restore.

Juan

if you use tons you don't get that get when you turn on ultimate font overide on.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Landith

You don't have to turn the unlimate font add-on just have it in above the CMS, so just open up the first Tons script and copy the Ultimate font overide along with the begining module, paste it above STCMS and you can see the text.

legacyblade

So THAT'S why it only worked in DR, DR is the only project file I tried that had Tons x_x When I put Tons in the project file, STCMS works perfectly. Apparently storm tronics needs tons to work (maybe this should be mentioned in the first post, if it isn't)

Calintz

Well, if that is true, it can be altered.

Blizzard will probably do it actually. Once he sees this, he will let you know 100% what's going on. If it needs tons, he will probably make it compatible without it.