RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
ACW VX <Work in Progress>

0 Members and 1 Guest are viewing this topic.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
Advanced Command Windows VX

Planned features include the basic types:

  • Vertical
  • Horizontal
  • Grid
  • Ring
  • Slide Vertical (Vertical menu, but commands move instead of cursor)
  • Slide Horizontal (Horizontal menu, but commands move instead of cursor)

The features from the last edition of ACW will be included as well.

Please request any features you would like in this script.



Spoiler for Advanced Command Windows VX version 0:
Code: [Select]
#==============================================================================
# ** Window_Command
#------------------------------------------------------------------------------
#  This window deals with general command choices.
#==============================================================================

class Window_Command < Window_Selectable
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_reader   :commands                 # command
#--------------------------------------------------------------------------
# * Object Initialization
#     width      : window width
#     commands   : command string array
#     column_max : digit count (if 2 or more, horizontal selection)
#     row_max    : row count (0: match command count)
#     spacing    : blank space when items are arrange horizontally
#--------------------------------------------------------------------------
def initialize(width, commands, column_max = 1, row_max = 0, spacing = 32)
if !yield.nil?
@attributes = yield
case @attributes['type']
when 'vertical'
if row_max == 0
row_max = (commands.size + column_max - 1) / column_max
end
super(0, 0, width, row_max * WLH + 32, spacing)
@commands = commands
@item_max = commands.size
@column_max = column_max
when 'horizontal'
super(0,0,width,WLH +32, spacing)
@commands = commands
@item_max = commands.size
@row_max = 1
@column_max = @item_max
when 'grid'
#code
when 'ring'
#code
when 'slide_v'
#code
when 'slide_h'
#code
end
else
if row_max == 0
row_max = (commands.size + column_max - 1) / column_max
end
super(0, 0, width, row_max * WLH + 32, spacing)
@commands = commands
@item_max = commands.size
@column_max = column_max
end
refresh
self.index = 0
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
for i in 0...@item_max
draw_item(i)
end
end
#--------------------------------------------------------------------------
# * Draw Item
#     index   : item number
#     enabled : enabled flag. When false, draw semi-transparently.
#--------------------------------------------------------------------------
def draw_item(index, enabled = true)
rect = item_rect(index)
rect.x += 4
rect.width -= 8
self.contents.clear_rect(rect)
self.contents.font.color = normal_color
self.contents.font.color.alpha = enabled ? 255 : 128
self.contents.draw_text(rect, @commands[index])
end
end
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
Sounds nice! Hope it would be possible to use simple call script commands when eventing!
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Looking good Tsuno. Good luck.

***
Rep:
Level 87
ohheythar :O
Could you please make a description, for the people who do not know what this is?
Personally I don't understand the crap out of it.

*
Full Metal Mod - He will pillage your women!
Rep:
Level 93
The RGSS Dude
This script (when completed) will allow you to create a number of different command window types with high-levels of customizability, all while keeping it simple.

I did this for XP but you were limited to two command window types, this version for VX will allow for 6 command window types.

The customizability, will include everything from the XP version as well as anything you guys suggest (that is possible :P  ).
"The wonderful thing about Tiggers
Is Tiggers are wonderful things
Their tops are made out of rubber
Their bottoms are made out of springs

They’re bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!
But the most wonderful thing about Tiggers
Is I’m the only one, I’m the only one."

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
Could you post some screens of what it'd look like? I can't wait to see the ring!
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!

***
Rep:
Level 87
ohheythar :O
This script (when completed) will allow you to create a number of different command window types with high-levels of customizability, all while keeping it simple.

I did this for XP but you were limited to two command window types, this version for VX will allow for 6 command window types.

The customizability, will include everything from the XP version as well as anything you guys suggest (that is possible :P  ).
Thank you, I look forward to it.