So a little background info before we dig into the meat of the question. In my game, I plan to have weapon damage separate from my characters strength (atk). To this end, I renamed the base stats
ATK => STR
DEF => CON
MAT => INT
MDF => WIS
AGI => DEX
LUK => LUK
ok so STR will represent the character's strength. Strength without any weapons equipped essentially. the new stat I made (damage) will be increased by equipping weapons to the characters. For instance...
Mithril Sword: +38 dmg.
So on and so forth like that. Ok so now you know what I'm attempting to do, here is my problem
I am using N.A.S.T.Y. extra stats (http://forums.rpgmakerweb.com/index.php?/topic/998-nasty-extra-stats/) to create the new stats. Then, I went into CP Luna Status Core and went to the section that defined stats and stats2.
I added below that
class CPLSatusStatsN3 < CPLStatusStatsN def symbol :stats3 endendI figured that would be enough since stats2 is done the same way. At any rate, I go to CP Luna Status Config and find the section for the stats. Below the editable area for stats2, I add in the configurations for stats3 like so.
Pretty much the same settings as stats2 and stats1 except a few changes to reflect the different stats. The stats are the same as they are in the N.A.S.T.Y. extra stats script.
module Z26 STATS = [:dmg,:arm,:spd,:mag] #Default xstat formulas for ACTORS DEFAULT_LEVEL_FORMULA = { :dmg => 0, :arm => 0, :spd => 0, :mag => 0, }just to give you an idea. That is an excerpt from the Extra Stats script. So the stats are the same on both, and I don't get any errors. They just don't appear. I added stats3 to page 2 as so.
## Dual page settings :switch_button => :C, 😛age1 => [:stats1, :stats2, :elements], 😛age2 => [:rates, :stats3],but they don't show up. I have tried placing the Extra Stats script above all other scripts and below all other scripts. Neither work. Can't figure this out for the life of me so any help will be appreciated. More info can be provided. In the spoiler below is a list of the scripts installed (in order). Thank you in advance!
Thank you!
ATK => STR
DEF => CON
MAT => INT
MDF => WIS
AGI => DEX
LUK => LUK
ok so STR will represent the character's strength. Strength without any weapons equipped essentially. the new stat I made (damage) will be increased by equipping weapons to the characters. For instance...
Mithril Sword: +38 dmg.
So on and so forth like that. Ok so now you know what I'm attempting to do, here is my problem
I am using N.A.S.T.Y. extra stats (http://forums.rpgmakerweb.com/index.php?/topic/998-nasty-extra-stats/) to create the new stats. Then, I went into CP Luna Status Core and went to the section that defined stats and stats2.
##------## * Stat name object sprite##------class CPLStatusStatsN < CPLStatusObject def initialize(*args) super(*args) self.z = setting_type[:z] end def pos(xp, yp) self.x = setting_type[:x] + xp self.y = setting_type[:y] + yp self.z = setting_type[:z] end def make_object_bitmap self.bitmap = Bitmap.new(setting[:width], setting[:stats].size * setting[:line_height]) return unless battler color1 = Color.new(*setting_type[:color]) color2 = Color.new(*setting_type[😮utline]) self.bitmap.font.color = color1 self.bitmap.font.out_color = color2 self.bitmap.font.bold = setting_type[:bold] self.bitmap.font.italic = setting_type[:italic] self.bitmap.font.name = setting_type[:font] self.bitmap.font.size = setting_type[:size] setting[:stats].each_with_index do |s,i| vocab = setting_type[:vocabs] rect = Rect.new(1, setting[:line_height] * i, setting[:width] - 2, setting[:line_height]) self.bitmap.draw_text(rect, vocab, setting_type[:align]) end end def setting super[symbol] end def symbol :stats1 end def setting_type setting[:names] endendclass CPLStatusStatsN2 < CPLStatusStatsN def symbol :stats2 endend
I added below that
class CPLSatusStatsN3 < CPLStatusStatsN def symbol :stats3 endendI figured that would be enough since stats2 is done the same way. At any rate, I go to CP Luna Status Config and find the section for the stats. Below the editable area for stats2, I add in the configurations for stats3 like so.
## Stats settings :stats3 => { :enable => true, :width => 220, :line_height => 24, :stats => [:dmg, :arm, :mag, :spd], :names => { :x => 332, :y => 318, :z => 500, :vocabs => ["damage", "Armor", "Speed", "Magic"], :color => [100, 200, 255, 255], 😮utline => [0, 0, 0, 255], :bold => true, :italic => true, :align => 0, :font => "Copperplate Gothic bold", :size => 16, }, ## Value text settings :values => { :x => 245, :y => 318, :z => 120, :color => [255, 255, 255, 255], 😮utline => [0, 0, 0, 255], :bold => false, :italic => false, :align => 2, :font => "Copperplate Gothic Bold", :size => 16, }, }, ## End stats settings
module Z26 STATS = [:dmg,:arm,:spd,:mag] #Default xstat formulas for ACTORS DEFAULT_LEVEL_FORMULA = { :dmg => 0, :arm => 0, :spd => 0, :mag => 0, }just to give you an idea. That is an excerpt from the Extra Stats script. So the stats are the same on both, and I don't get any errors. They just don't appear. I added stats3 to page 2 as so.
## Dual page settings :switch_button => :C, 😛age1 => [:stats1, :stats2, :elements], 😛age2 => [:rates, :stats3],but they don't show up. I have tried placing the Extra Stats script above all other scripts and below all other scripts. Neither work. Can't figure this out for the life of me so any help will be appreciated. More info can be provided. In the spoiler below is a list of the scripts installed (in order). Thank you in advance!
Nasty Xstats
Limit Break Core
Limit Break 7
Theolized - Skill based stat damage
Shadowmaster - Damage limit
YEA - Core Engine
YEA - Debug Luna Ver.
YEA - Battle Engine
YEA - Weapon Attack Replace
Rhyme's Window Identifier
Archeia Party Size
KGC Bitmap Extension
Cache Extended
Sprite Extended
Module MenuLuna
Module BattleLuna
Window_Base
Configuration Main Menu
Configuration Item Menu
Configuration Skill Menu
Configuration Status Menu
Configuration Save Menu
configuration Equip Menu
Configuration Shop Menu
Lunatic Config Main Menu
Lunatic Config Item Menu
Lunatic Config Skill Menu
Lunatic Config Status Menu
Lunatic Config Save Menu
Lunatic Config Equip Menu
Lunatic Config Shop Menu
Lunatic Common
Battle Luna Config
Default Status Menu
Battle Luna
Menu Luna
CP Menu Command Config
CP Menu Command Core
CP's Luna Status Config
CP's Luna Status Core
CP's Luna Save (Graphical)
CP's Luna Save Core *yami cursor edit*
Quest Menu
+ Quest Menu Config
+ Quest Menu Add-on
Name Input
+ Add-on Name Input
+ Advanced Table
Window Cursor
Jet - Viewed Battle System
Disable party commands
Actor Commands
+ Escape Command
Damage Popup
YEA Compatible
YEA Battle Revival / Item Fix
Limit Break Core
Limit Break 7
Theolized - Skill based stat damage
Shadowmaster - Damage limit
YEA - Core Engine
YEA - Debug Luna Ver.
YEA - Battle Engine
YEA - Weapon Attack Replace
Rhyme's Window Identifier
Archeia Party Size
KGC Bitmap Extension
Cache Extended
Sprite Extended
Module MenuLuna
Module BattleLuna
Window_Base
Configuration Main Menu
Configuration Item Menu
Configuration Skill Menu
Configuration Status Menu
Configuration Save Menu
configuration Equip Menu
Configuration Shop Menu
Lunatic Config Main Menu
Lunatic Config Item Menu
Lunatic Config Skill Menu
Lunatic Config Status Menu
Lunatic Config Save Menu
Lunatic Config Equip Menu
Lunatic Config Shop Menu
Lunatic Common
Battle Luna Config
Default Status Menu
Battle Luna
Menu Luna
CP Menu Command Config
CP Menu Command Core
CP's Luna Status Config
CP's Luna Status Core
CP's Luna Save (Graphical)
CP's Luna Save Core *yami cursor edit*
Quest Menu
+ Quest Menu Config
+ Quest Menu Add-on
Name Input
+ Add-on Name Input
+ Advanced Table
Window Cursor
Jet - Viewed Battle System
Disable party commands
Actor Commands
+ Escape Command
Damage Popup
YEA Compatible
YEA Battle Revival / Item Fix