Jump to content

BrandonKaminari

Member
  • Content Count

    9
  • Joined

  • Last visited

About BrandonKaminari

  • Rank
    Hooded Saint
  • Birthday 10/29/1993

Profile Information

  • Gender
    Male
  • Location
    your basement
  • Interests
    asking for the wifi password

RPG Maker Information

  • RM Skill -
    Jack of All Trades

Recent Profile Visitors

781 profile views
  1. I got you my boy. This script is unfinished because of the method "on_map_ok", as I don't know what you want to do now with this information ---------------------- #======================================================= #======================================================= #------Brandon Kaminari: Road Maps v 1.0-------- #------Use: Commercial or Non-Commercial #------ Instructions: # - place Script over "Main". # - use script call (Events, 3rd page), load_routemap(???) as such: # - @example = 14,15,13,20 # - load_routemap(@example) #======================================================= module BKami_MAPS LOAD = [] # LEAVE BLANK end class MapWindow < Window_Selectable def initialize super(0,0,window_width,window_height) data = [] self.index = 0 activate refresh end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width - 160 end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height fitting_height(BKami_MAPS::LOAD[0].size) end def refresh contents.clear make_item_list create_contents draw_all_items end def item_max @data ? @data.size : 1 end def item #actor @data && index >= 0 ? @data[index] : nil end def make_item_list @listy = [] @load = BKami_MAPS::LOAD @load[0].size.times do |ccc| @map_id = @load[0][ccc] @map = load_data(sprintf("Data/Map%03d.rvdata2", @map_id)) @listy[@listy.size] = @map.display_name end @data = @listy end def draw_item(index) item = @data[index] if item draw_text_ex(0, line_height*index, item) else draw_text_ex(0, line_height*index, "Error :c") end end end class Game_Interpreter def load_routemap(xxx) return unless xxx.is_a?(Array) BKami_MAPS::LOAD[BKami_MAPS::LOAD.size] = xxx SceneManager.call(BKamiRoadMapScene) end end #============================================================================== # ** Scene_Base #------------------------------------------------------------------------------ # This is a super class of all scenes within the game. #============================================================================== class BKamiRoadMapScene < Scene_MenuBase #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super @roadmap = MapWindow.new @roadmap.set_handler(:ok, method(:on_map_ok)) @roadmap.set_handler(:cancel, method(:return_scene)) end def on_map_ok # WHAT DO YOU WANNA DO NOW? :) end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super end end
  2. BrandonKaminari

    Chance to Refund Item in Battle

    D-Did I do it? Do I deserve a cookie? EDIT: create a skill that affects an ally, and create a common event through the skill that targets the variable you'll use for the Freebie. I have it going on a turn timer, each turn, the variable will decrease by 1.
  3. BrandonKaminari

    RGSS3 - Racism Script [LMAO]

    Okay, after several hours and blunts later, I considered your idea. The reason I'm still going to search by name is I think it would be easier on the programmer to utilize both the database and scripting evenly instead of relying on either. With that being said, I added in a Sub Race section, and it can only be read if there's a main race. Also, when I tested it out, it wasn't working! Now, I'm still kinda confused, especially on RPG::xxxx-related classes, BUT...
  4. BrandonKaminari

    RGSS3 - Racism Script [LMAO]

    What I was thinking was: There's going to be a LOT of monsters in my game. I don't want to program each and every monster's elemental weakness manually. AND All I need are the features, not the level or gear.....yet. And thanks! Not just for the praise, but the fact that I'm purposely planning my game and its enemies to be hard, but damn rewarding!
  5. Real easy question this time. I'm just trying to change the max level. I looked up solutions and thought it would be easy, but even other people's scripts aren't working. I'm not sure if it's because of how my specific VX Ace is set up, but here it is: and yet I get this error: and it takes me here: is there anything else I need to change or change this up differently? As you can see, I want a max level of 150. ;~;
  6. I believe to access which enemy is indexed in a troop, it's $data_troops[troop_index].members[index]. Unfortunately, the objects in the @enemies array in the members method in Game_Troop are NOT enemy objects, but they do give out the index of the enemy in database. To find that enemy, use $data_enemies[$data_troops[troop_index].members[index].enemy_id] And then for your animation thingy, you can set up an if statement. @enemyy = $data_enemies[$data_troops[troop_index].members[index].enemy_id] if @enemyy.name == "GIANT MUTANT SPIDER" #use whatever animation_id that burns house down end
  7. I'm working on a Quest Window Script. So far I'm working on the "Difficulty Window" where 5 stars are shown. If you were to accept an easy 1-star quest, I want to eventually have it updated so that only 1 of the 5 stars appears, but APPARENTLY my rect doesn't want me to do that! Inside is my Difficulty Window method. I have a BKaminari_Quest Module where contants like STAR_HEIGHT and such are already defined. The main problem is I've tested this code in and out and my "@width" is working fine. The "@rect" rectangle I made should take a portion of my bitmap, "@stars" and width-wise, start at 0 and take enough space for 1 star (50px). Shouldn't contents.blt print only 1 star and not the entire width (250px) of my bitmap?
×