CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 15:40:05 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=6ef8ec4c2935a5424100b643b0267b9c720b134adf0732aa8b30d1722180c14da%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22HKbJ1-3DVWC61cMAuPO4FYmE6X38VCNe%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cf7434d8465ace-BLR
Display Stats on actor command - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ╔═══════════════════════════════════════════════╦════════════════════╗
- # ║ Title: Stat display on Actor Command ║ Version: 1.00 ║
- # ║ Author: Roninator2 ║ ║
- # ╠═══════════════════════════════════════════════╬════════════════════╣
- # ║ Function: ║ Date Created ║
- # ║ Provide display option ╠════════════════════╣
- # ║ ║ 03 Aug 2022 ║
- # ╚═══════════════════════════════════════════════╩════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Requires: nil ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Brief Description: ║
- # ║ Display actor stats in window During actor command selection ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Instructions: ║
- # ║ Change Params below for the stats you want to display ║
- # ║ 0 = HP ; 1 = MP ║
- # ║ 2 = ATK ; 3 = DEF ║
- # ║ 4 = MAT ; 5 = MDF ║
- # ║ 6 = AGI ; 7 = LUK ║
- # ║ Change window position and width ║
- # ║ Change Actor Name colour ║
- # ║ Change Stat Colours ║
- # ║ Stat colours must correcpond to the stats in the array ║
- # ║ e.g. Param = [2,3] ║
- # ║ Stat_Colours = [15,29] ║
- # ║ param 2 will be in colour 15, param 3 will be colour 29 ║
- # ║ All Colours come from the windowskin graphic ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Updates: ║
- # ║ 1.00 - 03 Aug 2022 - Script finished ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Credits and Thanks: ║
- # ║ Roninator2 ║
- # ║ ║
- # ╚════════════════════════════════════════════════════════════════════╝
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ Terms of use: ║
- # ║ Follow the original Authors terms of use where applicable ║
- # ║ - When not made by me (Roninator2) ║
- # ║ Free for all uses in RPG Maker except nudity ║
- # ║ Anyone using this script in their project before these terms ║
- # ║ were changed are allowed to use this script even if it conflicts ║
- # ║ with these new terms. New terms effective 03 Apr 2024 ║
- # ║ No part of this code can be used with AI programs or tools ║
- # ║ Credit must be given ║
- # ╚════════════════════════════════════════════════════════════════════╝
- module R2_List_Param_display
- Params = [2,3,4,5]
- Window_X = 0
- Window_Y = 100
- Window_Width = 100
- Set_Actor_Name_Colour = true
- Actor_Colour = 21
- Set_Stat_Colour = false
- Stat_Colours = [3,8,18,31]
- end
- # ╔════════════════════════════════════════════════════════════════════╗
- # ║ End of editable region ║
- # ╚════════════════════════════════════════════════════════════════════╝
- class Window_Status_Blank < Window_Base
- def initialize
- x = R2_List_Param_display::Window_X
- y = R2_List_Param_display::Window_Y
- w = R2_List_Param_display::Window_Width + standard_padding
- h = (R2_List_Param_display::Params.size + 1) * line_height + standard_padding * 2
- super(x, y, w, h)
- self.z = 20
- hide
- @actor = nil
- @param_data = ["HP", "MP", "ATK", "DEF", "MAT", "MDF", "AGI", "LUK"]
- end
- def setup(actor)
- @actor = actor
- create_contents
- show_data
- open
- show
- end
- def show_data
- y = 0
- x = 0
- w = R2_List_Param_display::Window_Width - standard_padding
- height = line_height
- if R2_List_Param_display::Set_Actor_Name_Colour == true
- change_color(text_color(R2_List_Param_display::Actor_Colour))
- draw_text(x, y, w, height, @actor.name, 0)
- change_color(normal_color)
- else
- draw_actor_name(@actor, x, y, w)
- end
- y += line_height# + standard_padding
- R2_List_Param_display::Params.each_with_index do |pp, i|
- stat = "#{@param_data[pp]}:"
- value = "#{@actor.param(pp)}"
- if R2_List_Param_display::Set_Stat_Colour == true
- change_color(text_color(R2_List_Param_display::Stat_Colours[i]))
- end
- draw_text(x, y, w, height, stat, 0)
- change_color(normal_color)
- draw_text(x, y, w, height, value, 2)
- y += line_height
- end
- change_color(normal_color)
- end
- end
- class Scene_Battle < Scene_Base
- alias r2_create_status_back_all_windows create_all_windows
- def create_all_windows
- r2_create_status_back_all_windows
- create_status_back_window
- end
- def create_status_back_window
- @status_back_window = Window_Status_Blank.new
- end
- alias r2_actor_command_show_status start_actor_command_selection
- def start_actor_command_selection
- r2_actor_command_show_status
- @status_back_window.setup(BattleManager.actor)
- end
- alias r2_turn_start_display_actor_status_data turn_start
- def turn_start
- @status_back_window.close
- r2_turn_start_display_actor_status_data
- end
- end
Tags:
rpg maker vx ace
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 3 sec ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ 5
JavaScript | 10 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $1000 INSTANTLY⭐⭐
Java | 10 sec ago | 0.10 KB
-
✅⭐ Make huge profits on trading ⭐⭐ S
JavaScript | 12 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 15 sec ago | 0.24 KB
-
⭐⭐⭐Exchange Exploit T I⭐⭐
Java | 21 sec ago | 0.10 KB
-
✅⭐ Make huge profits on trading ⭐⭐ T
JavaScript | 22 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 6
JavaScript | 23 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand