<TheoAllen's Simple Polygon Status>
Version: <1.0>
Author: <TheoAllen>
Translator: <AbsoluteIce>
Date: <July>, <13>, <2013>
Version History
- <Version 1.0b> 06.06.2013 - Public release by TheoAllen in Indonesian.
- <Version 1.0b> 19.07.2013 - English release by AbsoluteIce.
Planned Future Versions
- For now, none, unless TheoAllen updates this script.
Description
This script will display a polygon parameter in the status menu
Features
- A polygon status that will show your stat parameters
Screenshots Instructions
Put this script below materials, and above main in the script section.
Script
# =============================================================================
# TheoAllen - Simple Polgygon Status
# Version : 1.0
# Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
# (This script is translated by AbsoluteIce)
# -----------------------------------------------------------------------------
# Requires :
# >> Theo - Bitmap Extra addons v2.0 or later
# =============================================================================
($imported ||= {})[:Theo_PolygonStatus] = true
# =============================================================================
# CHANGE LOGS:
# -----------------------------------------------------------------------------
# 2013.06.06 - Finised script
# =============================================================================
=begin
Introduction :
This script will display a polygon parameter in the status menu
How to use :
Put this script below material and above main.
Terms of use :
Credit goes to TheoAllen for making the script. Don't claim this script
as your own work.
Note :
This script will only change the look of the RTP status menu.
=end
# =============================================================================
# Configuration
# =============================================================================
module THEO
module STATUS
# =========================================================================
Outline_Polygon_color = Color.new(255,255,255)
Outline_Polygon_radius = 70
# -------------------------------------------------------------------------
# Options for the inside of the Polygon.
# Color >> Color of the lines of the polygon (red,green,blue)
# Radius >> radius from the center of the polygon
# =========================================================================
# =========================================================================
Params_Polygon_color = Color.new(0,255,0)
Params_Polygon_radius = 60
# -------------------------------------------------------------------------
# Options for the outside of the Polygon.
# Color >> Color of the lines of the polygon (red,green,blue)
# Radius >> radius from the center of the polygon
# =========================================================================
end
end
# =============================================================================
# End of Configuration
# =============================================================================
class Game_Battler < Game_BattlerBase
def params_array
return [self.atk,self.def,self.mat,self.mdf,self.agi,self.luk]
end
end
class Window_Status < Window_Selectable
if $imported[:Theo_BitmapAddons]
include THEO::STATUS
def draw_parameters(x, y)
contents.draw_shape_params(x+50,y+70,@actor.params_array,Params_Polygon_radius,
Params_Polygon_color)
contents.draw_polygon(x+50,y+70,@actor.params_array.size,Outline_Polygon_radius,
Outline_Polygon_color)
6.times {|i| draw_actor_param(@actor, x+120, y + line_height * i, i + 2) }
end
def draw_actor_param(actor, x, y, param_id)
change_color(system_color)
draw_text(x, y, 120, line_height, Vocab::param(param_id))
change_color(normal_color)
draw_text(x + 60, y, 36, line_height, actor.param(param_id), 2)
end
end
end
Credits
Thanks
- I'd like to thank TheoAllen for giving me permission to translate this script. I'll be sure to translate more if I have the time.
Support
Either post on this thread, or pm TheoAllen on RMRK.
Known Compatibility Issues
None that I know of as of now.
Demo
Unavaliable yet as of now.
Author's Notes
To use this script, you need TheoAllen's Bitmap Addons which can be found here
http://rmrk.net/index.php/topic,48045.msg546067.html#msg546067Questions
None at the moment.
Terms of Use
Credit the creator, TheoAllen. Do not claim as your own. If you want to use for a commercial project, share the profit with him. And don't forget to give him a free copy of the game.
[/list]