Alternate Choice Window

Alternate Choice Window Ver 1.1.0 | 2016.02.17

Creator name: lctseng​

Introduction
Beautifies choice windows and move them to top left screen.

Features
- Text alignment: 0 = left,1 = center,2 = right
- Choice window position: X, Y coordinate | Size setting: width, height (space between)

Note 1: Background color can be changed on line 205 and format follow by RGB color code.
Note 2: Line 211, opacity can be adjusted. 0-255, 0 = completely transparent, 255 = opaque

Preview
alt.png


Installation

Paste this script above Main.



Credit and Thanks-
魂 (Lctseng)

License
- Apache License 2.0: http://www.apache.org/licenses/LICENSE-2.0

You can use for:
Commercial Use, Modify, Distribute, Private Use

You must include:
Copyright, License, State Changes, and Notice

Please give credit to "lctseng"
Nice. Though instead of just linking to a license can you also clarify it for those of us not versed in legalize? Thanks.
Apache license? Really? OK. the creative commons was not good enough?

In short form

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form
  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works
https://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by-sa/4.0/
are also good choices
@bgillisp Terms below the license are clarified as well with other script that I shared. You're welcome.
@tale: Kinda like this one. Is it possible to use the normal Window for these choices instead of a black background?
@Tw0Face: Unfortunately, this script overwrites choice appearance by replacing default look.

I know a script that reposition choice window however it doesn't separate them.

Choice Extension by woodpenguin
http://woodpenguin.web.fc2.com/rgss3/choice_ex.html

You can find the script link under "スクリプト" ver. 3.5

In the script, for line 196- replace 選択肢位置 with pos
Optional, for line 200- replace メッセージ下 with text if you want to show choices inside the messagebox.

To change to the position of the choice window, insert Comment-
pos(x,y)
x and y are the coordinate that can be replaced with numbers

To show choices inside the messagebox, insert Comment-
pos(text)

Note: you can stack more than 4 choices

Preview:
TfLr8iu.png
XixM8hh.png


If you want to separate choices, maybe try Galv's Visual Novel Choices.
https://galvs-scripts.com/2012/11/26/visual-novel-choices/

Requires tweaking with the script setting for positioning and use of image file.
@tale: Thanks. But I kinda like this script and its appearance. I just want each choice to fit more with Vx Ace's Windowskin. With borders and stuff. Like this:

new.png
@Tw0Face There's no border customization due to using select cursor as an only indicator.

It's possible to edit image into a windowskin with borders for galv's visual novel choice script.

Hopefully, an active scripter could fulfill your request if they want to adapt lctseng's script.
What I try now is to make the spacing between each choice a fixed number (for example 24). As for now, the spacing between each choice depends on how much choices are used in total (higher space between the choices when 2 choices are used, rather then when 4 choices are used, the space between each choice is smaller). I tried to replace some coding in the script with a fixed number like 24 or 48 but there's so much calculation going on in this script. Anyone able to point me a direction here?
I kinda like this script and its appearance. I just want each choice to fit more with Vx Ace's Windowskin. With borders and stuff. Like this:
Ruby:
#encoding:utf-8
 
=begin
*******************************************************************************************
   * Alternate Choice Window *
                       for RGSS3
        Ver 1.1.0   2016.02.17
   Author:魂(Lctseng),Bahamut Forum ID:play123
   Please keep this label reprinted
   Home link:http://home.gamer.com.tw/homeindex.php?owner=play123
   Description:
                       Beautifies choice windows and move them to top left screen
  
   Installation: Paste this script above Main
  
   Update Log:
    Ver 1.0.0 :
    Date:2014.09.21
    Ver 1.1.0 :
    Date:2016.02.17
    Ver 1.1.1 :
    Date:2024.03.09 # roninator2 - set window frames for choices
    Summary:
                ■、Corrected a bug when cancelling
                ■、Hide arrow of the choice windows
    The following categories can be modiefied or redefined:
                           ■ Window_ChoiceList
                        This script provided a set of modules
                           ■ Lctseng::LargeChoiceWindow
*******************************************************************************************
=end
 
 
#encoding:utf-8
#==============================================================================
# ■ Lctseng::LargeChoiceWindow
#------------------------------------------------------------------------------
#  Choice Window Setting Module
#==============================================================================
 
module Lctseng
module LargeChoiceWindow
  #--------------------------------------------------------------------------
  # ● Whether control character is enabled(ex:\c[n]、\I[n]etc.)
  # Text alignment will not be adjusted (forced left)
  #--------------------------------------------------------------------------
  TEXT_EX_ENABLE = false
  #--------------------------------------------------------------------------
  # ● Text Alignment, used when control characters are not used
  # 0 = left,1 = center,2 = right
  #--------------------------------------------------------------------------
  TEXT_ALIGNMENT = 1
  #--------------------------------------------------------------------------
  # ● Window position/ Size setting
  #--------------------------------------------------------------------------
  # X Coordinate
  WINDOW_X = 0
  # Y Coordinate
  WINDOW_Y = 0
  # Width
  WINDOW_WIDTH = Graphics.width / 2
  # Height
  WINDOW_HEIGHT = Graphics.height - 200
 
end
end
 
 
#*******************************************************************************************
#
#   DO NOT MODIFY UNLESS YOU KNOW WHAT TO DO !
#
#*******************************************************************************************
 
#--------------------------------------------------------------------------
# ★ Script Information Record
#--------------------------------------------------------------------------
if !$lctseng_scripts
  $lctseng_scripts = {}
end
 
# Avoid overwriting old date
@_old_val_script_sym = @_script_sym if !@_script_sym.nil?
@_script_sym = :large_choice_window
 
$lctseng_scripts[@_script_sym] = "1.1.0"
 
puts "Load script:Lctseng - Alternate Choice Window:#{$lctseng_scripts[@_script_sym]}"
 
# Restore old data
@_script_sym = @_old_val_script_sym if !@_old_val_script_sym.nil?
 
 
#encoding:utf-8
#==============================================================================
# ■ Window_ChoiceList
#------------------------------------------------------------------------------
#  Window used for "Display Options" function in event
#==============================================================================
 
class Window_ChoiceList < Window_Command
  #--------------------------------------------------------------------------
  # ●Initialization object  - 【Change definition】
  #--------------------------------------------------------------------------
  def initialize(message_window)
    @message_window = message_window
    super(0, 0)
    self.openness = 255
    self.opacity = 0
    self.contents_opacity = 0
    self.x = Lctseng::LargeChoiceWindow::WINDOW_X
    self.y = Lctseng::LargeChoiceWindow::WINDOW_Y
    deactivate
    @choices_frames = []
    self.arrows_visible = false
  end
  #--------------------------------------------------------------------------
  # ● Update open process
  #--------------------------------------------------------------------------
  def update_open
    self.contents_opacity += 16
    @opening = false if open?
  end
  #--------------------------------------------------------------------------
  # ● Update close process
  #--------------------------------------------------------------------------
  def update_close
    self.contents_opacity -= 16
    @closing = false if close?
  end
  #--------------------------------------------------------------------------
  # ● Open?
  #--------------------------------------------------------------------------
  def open?
    self.contents_opacity >= 255
  end
  #--------------------------------------------------------------------------
  # ● Close?
  #--------------------------------------------------------------------------
  def close?
    self.contents_opacity <= 0
  end
  #--------------------------------------------------------------------------
  # ● Update window location - 【Modify definition】
  #--------------------------------------------------------------------------
  def update_placement
  end
  #--------------------------------------------------------------------------
  # ● Width of window
  #--------------------------------------------------------------------------
  def window_width
    Lctseng::LargeChoiceWindow::WINDOW_WIDTH
  end
  #--------------------------------------------------------------------------
  # ● Height of window
  #--------------------------------------------------------------------------
  def window_height
    Lctseng::LargeChoiceWindow::WINDOW_HEIGHT
  end
  #--------------------------------------------------------------------------
  # ● Calculate width of window
  #--------------------------------------------------------------------------
  def contents_width
    window_width - standard_padding * 2
  end
  #--------------------------------------------------------------------------
  # ● Calculate height of window
  #--------------------------------------------------------------------------
  def contents_height
    window_height - standard_padding * 3
  end
  #--------------------------------------------------------------------------
  # ● Item rectangle
  #--------------------------------------------------------------------------
  def item_rect(index)
    rect = Rect.new
    rect.width = item_width
    rect.height = item_height
    rect.x = index % col_max * (item_width + spacing)
    ## Calculate interval height
    # Assigned height measures
    remain = contents_height - line_height * row_max
    # assigned number & index
    assign = ((remain / row_max)*index).round
 
    rect.y = (index / col_max * item_height) + assign
    rect
  end
  #--------------------------------------------------------------------------
  # ● Draw item
  #--------------------------------------------------------------------------
  def draw_item(index)
    rect = item_rect_for_text(index)
    @choices_frames[index] = Window_Choice_Frame.new(rect)
    if Lctseng::LargeChoiceWindow::TEXT_EX_ENABLE
      draw_text_ex(rect.x, rect.y, command_name(index))
    else
      draw_text(rect, command_name(index) , Lctseng::LargeChoiceWindow::TEXT_ALIGNMENT)
    end
  end
  #--------------------------------------------------------------------------
  # ● Update
  #--------------------------------------------------------------------------
  def update
    @choices_frames.each { |cf| cf.dispose unless cf.disposed?} if @closing
    super
  end
 
end

class Window_Choice_Frame < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(rect)
    super(rect.x+2, rect.y+4, rect.width+20, rect.height+16)
    self.z = 1
  end
end
Ruby:
#encoding:utf-8
 
=begin
*******************************************************************************************
   * Alternate Choice Window *
                       for RGSS3
        Ver 1.1.0   2016.02.17
   Author:魂(Lctseng),Bahamut Forum ID:play123
   Please keep this label reprinted
   Home link:http://home.gamer.com.tw/homeindex.php?owner=play123
   Description:
                       Beautifies choice windows and move them to top left screen
 
   Installation: Paste this script above Main
 
   Update Log:
    Ver 1.0.0 :
    Date:2014.09.21
    Ver 1.1.0 :
    Date:2016.02.17
    Ver 1.1.1 :
    Date:2024.03.09 # roninator2 - set window frames for choices
    Summary:
                ■、Corrected a bug when cancelling
                ■、Hide arrow of the choice windows
    The following categories can be modiefied or redefined:
                           ■ Window_ChoiceList
                        This script provided a set of modules
                           ■ Lctseng::LargeChoiceWindow
*******************************************************************************************
=end
 
 
#encoding:utf-8
#==============================================================================
# ■ Lctseng::LargeChoiceWindow
#------------------------------------------------------------------------------
#  Choice Window Setting Module
#==============================================================================
 
module Lctseng
module LargeChoiceWindow
  #--------------------------------------------------------------------------
  # ● Whether control character is enabled(ex:\c[n]、\I[n]etc.)
  # Text alignment will not be adjusted (forced left)
  #--------------------------------------------------------------------------
  TEXT_EX_ENABLE = false
  #--------------------------------------------------------------------------
  # ● Text Alignment, used when control characters are not used
  # 0 = left,1 = center,2 = right
  #--------------------------------------------------------------------------
  TEXT_ALIGNMENT = 1
  #--------------------------------------------------------------------------
  # ● Window position/ Size setting
  #--------------------------------------------------------------------------
  # X Coordinate
  WINDOW_X = 0
  # Y Coordinate
  WINDOW_Y = 0
  # Width
  WINDOW_WIDTH = Graphics.width / 2
  # Height
  WINDOW_HEIGHT = Graphics.height - 200
 
end
end
 
 
#*******************************************************************************************
#
#   DO NOT MODIFY UNLESS YOU KNOW WHAT TO DO !
#
#*******************************************************************************************
 
#--------------------------------------------------------------------------
# ★ Script Information Record
#--------------------------------------------------------------------------
if !$lctseng_scripts
  $lctseng_scripts = {}
end
 
# Avoid overwriting old date
@_old_val_script_sym = @_script_sym if !@_script_sym.nil?
@_script_sym = :large_choice_window
 
$lctseng_scripts[@_script_sym] = "1.1.0"
 
puts "Load script:Lctseng - Alternate Choice Window:#{$lctseng_scripts[@_script_sym]}"
 
# Restore old data
@_script_sym = @_old_val_script_sym if !@_old_val_script_sym.nil?
 
 
#encoding:utf-8
#==============================================================================
# ■ Window_ChoiceList
#------------------------------------------------------------------------------
#  Window used for "Display Options" function in event
#==============================================================================
 
class Window_ChoiceList < Window_Command
  #--------------------------------------------------------------------------
  # ●Initialization object  - 【Change definition】
  #--------------------------------------------------------------------------
  def initialize(message_window)
    @message_window = message_window
    super(0, 0)
    self.openness = 255
    self.opacity = 0
    self.contents_opacity = 0
    self.x = Lctseng::LargeChoiceWindow::WINDOW_X
    self.y = Lctseng::LargeChoiceWindow::WINDOW_Y
    deactivate
    @choices_frames = []
    self.arrows_visible = false
  end
  #--------------------------------------------------------------------------
  # ● Update open process
  #--------------------------------------------------------------------------
  def update_open
    self.contents_opacity += 16
    @opening = false if open?
  end
  #--------------------------------------------------------------------------
  # ● Update close process
  #--------------------------------------------------------------------------
  def update_close
    self.contents_opacity -= 16
    @closing = false if close?
  end
  #--------------------------------------------------------------------------
  # ● Open?
  #--------------------------------------------------------------------------
  def open?
    self.contents_opacity >= 255
  end
  #--------------------------------------------------------------------------
  # ● Close?
  #--------------------------------------------------------------------------
  def close?
    self.contents_opacity <= 0
  end
  #--------------------------------------------------------------------------
  # ● Update window location - 【Modify definition】
  #--------------------------------------------------------------------------
  def update_placement
  end
  #--------------------------------------------------------------------------
  # ● Width of window
  #--------------------------------------------------------------------------
  def window_width
    Lctseng::LargeChoiceWindow::WINDOW_WIDTH
  end
  #--------------------------------------------------------------------------
  # ● Height of window
  #--------------------------------------------------------------------------
  def window_height
    Lctseng::LargeChoiceWindow::WINDOW_HEIGHT
  end
  #--------------------------------------------------------------------------
  # ● Calculate width of window
  #--------------------------------------------------------------------------
  def contents_width
    window_width - standard_padding * 2
  end
  #--------------------------------------------------------------------------
  # ● Calculate height of window
  #--------------------------------------------------------------------------
  def contents_height
    window_height - standard_padding * 3
  end
  #--------------------------------------------------------------------------
  # ● Item rectangle
  #--------------------------------------------------------------------------
  def item_rect(index)
    rect = Rect.new
    rect.width = item_width
    rect.height = item_height
    rect.x = index % col_max * (item_width + spacing)
    ## Calculate interval height
    # Assigned height measures
    remain = contents_height - line_height * row_max
    # assigned number & index
    assign = ((remain / row_max)*index).round
 
    rect.y = (index / col_max * item_height) + assign
    rect
  end
  #--------------------------------------------------------------------------
  # ● Draw item
  #--------------------------------------------------------------------------
  def draw_item(index)
    rect = item_rect_for_text(index)
    @choices_frames[index] = Window_Choice_Frame.new(rect)
    if Lctseng::LargeChoiceWindow::TEXT_EX_ENABLE
      draw_text_ex(rect.x, rect.y, command_name(index))
    else
      draw_text(rect, command_name(index) , Lctseng::LargeChoiceWindow::TEXT_ALIGNMENT)
    end
  end
  #--------------------------------------------------------------------------
  # ● Update
  #--------------------------------------------------------------------------
  def update
    @choices_frames.each { |cf| cf.dispose unless cf.disposed?} if @closing
    super
  end
 
end

class Window_Choice_Frame < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(rect)
    super(rect.x+2, rect.y+4, rect.width+20, rect.height+16)
    self.z = 1
  end
end

Thanks @Roninator2 but this isn't what I was actually looking for.

I don't need what I requested 4.5 years ago anymore. I just want the space between each choice to be equal - no matter if there are 2, 3 or 4 choice options.

I think this should be much easier to achieve, but I can't see what line(s) needs to be changed.
I just want the space between each choice to be equal - no matter if there are 2, 3 or 4 choice options.
Ruby:
class Window_ChoiceList < Window_Command
  #--------------------------------------------------------------------------
  # ● Item rectangle
  #--------------------------------------------------------------------------
  def item_rect(index)
    rect = Rect.new
    rect.width = item_width
    rect.height = item_height
    rect.x = index % col_max * (item_width + spacing)
    rect.y = (index / col_max * item_height) + 16 * index
    rect
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/alternate-choice-window.93752/