A fourth column in MOG Scene Item Laura V1.2
#12
The item system assumes it is for anyone, and does not get the location of a single member of the party. For that, the default item window takes up the entire screen in two columns, unlike the Moghunter system which uses one column.

Likewise, you may not have noticed the SKILL window is the same... so I have an interesting couple of options for you:

Option 1 - Window Follows Actor
Go to the battlesystem.... Scene_Battle_3 page:
GO to the start_item_select method that is around line 405:
Underneath the line that reads:
@item_window = Window_Item.new
paste the following...
@item_window.x = @actor_index * 115

This will give you an item window that goes from left to right with each actor.

And you may not notice that the SKILL select is altered too. You can alter it the same way within the start_skill_select method a couple dozen lines up.




Option 2 - Restore full window in battle
Go to the Item Window class in the moghunter menu... the initialize method around line 346. It should have some code like below:
Code:
if $game_temp.in_battle
      self.y = 64
      self.height = 256
      self.back_opacity = 160
    end

Well... we're going to FORCE it to take up the whole display window as it used to appear, by replacing it with this:
Code:
if $game_temp.in_battle
      @column_max = 2
      self.y = 64
      self.x = 0
      self.height = 256
      self.width  = 640
      self.back_opacity = 160
      refresh
    end
Yeah, forcing it to 2 columns, a full 640 width, etc.

But we're not done yet. The item drawing method is set only for one column... so go into the draw_item method and towards line 405.
When you find the code that reads:
Code:
x = 4 + index % 1 * (288 + 32)
    y = index / 1 * 32
Paste this BELOW that code:
Code:
if $game_temp.in_battle
      x = 4 + index % 2 * (288 + 32)
      y = index / 2 * 32
    end]

So now it can handle the drawing of 2 column data while in battle.

And you may not notice that the SKILL select is affected the same way, so you may wish to use these techniques to fix up the Skill_Window class in the revised Scene_Skill Nami script too.

Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: A fourth column in MOG Scene Item Laura V1.2 - by DerVVulfman - 11-26-2016, 04:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 63 Yesterday, 03:09 AM
Last Post: JayRay
   I want to merge item classification and description extensions. zlsl 7 9,593 11-25-2019, 06:46 AM
Last Post: kyonides
   Handling very long Item Names Mel 4 8,238 09-24-2018, 06:37 PM
Last Post: Mel
   Need help with my menu - Current issue is item grid layout LilyFrog 41 39,316 09-24-2018, 02:03 AM
Last Post: LilyFrog
   using $scene during battles Keeroh 5 8,869 01-17-2018, 04:31 PM
Last Post: Keeroh
Sad  Equip bug (1-scene CMS) Whisper 2 5,501 01-23-2017, 09:20 AM
Last Post: Whisper
Bug Help with a Scene Equip Iqus 7 8,289 03-05-2014, 05:40 PM
Last Post: MechanicalPen
Exclamation  FF7s Hyper/Tranquilizer Item Script Petition Iqus 2 5,080 06-18-2013, 01:26 AM
Last Post: Iqus
   Cold's Bestiary and Item Book Vengan 0 3,569 05-27-2010, 08:59 AM
Last Post: Vengan
   Using animations in a scene (unrelated to battles and maps) PK8 4 9,025 11-17-2009, 10:54 AM
Last Post: PK8



Users browsing this thread: 2 Guest(s)