What's up, RMers?
(11-27-2026, 11:20 AM)gamingirdb Wrote: Right now I'm poking at the MZ window plugins (krayedon's WindowStyle caught my eye) and at trimming an MZ build so it doesn't ship the whole NW.js folder at 400+ MB. Thanks for keeping all these old scripts archived - it's a goldmine.
 
Hey, welcome aboard!

As DerVVulfman relayed for me, I actually realized WindowStyle has a minor graphical glitch in the code, and I'll be sending out a patch once I can get around to it. Gotta work on some other projects, too.

If you got any questions about anything of mine, feel free to either PM me or make a reply in the post. You can even do both if you like.
The Legends Of KrayedøN
Reply
Decided to do a lot of housekeeping on my project. Even more events were consolidated into common events, and I've begun to lay out the backbone for my main storyline.  Grinning

My design approach has always been to work on the individual area / quest parts first before creating the main storyline since the workflow is easier that way.

I only need three more big quest lines before all the major quests are ready, so I took a little break and did the aforementioned housekeeping to clean up the existing areas and future proof some things.

First was the rain system, then the quest counter.

Today was the premium chests and corresponding premium keys that I started in 2005 but neglected when I resumed in 2024 and now the mechanic is finished and documented for ease of debugging and review.

Then I did a connecting room with a one-sided lock that I had planned back in February.

Finally, part of the backbone for the main storyline: overhauling some portal room doors to give me opportunities for timed and repeatable events. Needed 17 switches divided into two common events and several other conditional branches, but it is finally working.

Now, when the player attempts to leave the portal room, if they had completed X number of quests, it will trigger a transfer to a cutscene map to discuss the quests they've completed. This is repeatable for X+4, X+8, X+12, etc. moments, until all major quests are completed in which case it will trigger a different cutscene and progress the story.

It is a simple concept but took me a while to figure out as I wanted to do it with as few switches and variables and conditional branches as possible, in case I needed to add more conditions in the future. Doing it this way also makes the system compatible with what I already made in 2025, as there is a separate set of triggers and events for a different story requirement.

So yeah, not a lot of graphics work lately, but I feel really happy about this since the project is neater and easier to edit in the future. I'm going to do some more clean up work for a few other systems before I transition to the next part of my project.
[Image: SP1-Writer.png]
[Image: SP1-PixelArtist.png]
Reply
Just realized that it's now been two years (plus a few weeks) since I registered on Save Point!  Grinning Two and a half since I resumed working on my 2005 project. It has been and continues to be a fun and fulfilling ride.  Laughing

Made my introductory message on the 19th of November, 2024. At that time my XP project was 128MB, and as of today it is currently sitting at 854MB due to all the new graphics and audio and content that I've put into the game.
Went from 159 maps in June 2024 to 652 maps today, December 2026  Shocked (and now practicing more restraint by combining smaller maps and cutscenes into one single map to make sure I don't go over 999 and need to use a script)

Hundreds of new icons, over twelve times as many picture files and battleBGs, two times as many battlers and four times as many character sprites.

My scripts are all significantly more robust, menu mostly overhauled, hundreds of bugs fixed (with the help of this community specially DerVVulfman and kyonides!)

I still have a lot more work to do before this passion project goes into beta. Many more quests to make and the main story to implement (wrote the outline a long time ago and now some of the common events and mechanisms are in place after my recent housekeeping spree) and quite a few more mechanics and side quests and NPCs to add. But I'm in a good place and working at a decent pace. Just that desert quest line took so much longer than I had planned  Sweat

Now to finish this before Windows 12 is announced.  Laughing
[Image: SP1-Writer.png]
[Image: SP1-PixelArtist.png]
Reply
Working on the last viable "SET" of the XRXS scripts, set meaning that the script included a plugin (OMG, HAH) and last viable as I have not been able to trace nearly 30 that vanished over the decades.

And OMG, HAH ???

Well, it is a weapon script with a lot of material within for 'leveled' or improved weapons. However, this so-called leveling feature where YOU can improve your own sword or dagger only works with the "included" plugin.

Well, you CAN have leveled weapons immediately... That is, your hero may find a 2nd Level weapon by how the "Change Weapons" system has been altered. And it comes with its own Element-Tag based Attack/PDEF/MDEF feature. But I always thought that stupid. Why put an element tag to increase the damage of IRON SWORDS by 20points when you can just edit it in the database???

The first script is fully translated, but sloppy-coded. And I so hate when you have variable names as long as "SUPERCALIFRAGILISTIC_EXPEDALIDOCIOUS"... Scrolling left-to-right is so python / C# code.

And the second script... I got it to level weapons (which does affect the weapon's stats). But there's a lot more work to be done with the two.

AND a third bit of code that is a set of instructions to PATCH another script in place.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply
(Yesterday, 01:07 AM)DerVVulfman Wrote: Well, you CAN have leveled weapons immediately... That is, your hero may find a 2nd Level weapon by how the "Change Weapons" system has been altered. And it comes with its own Element-Tag based Attack/PDEF/MDEF feature. But I always thought that stupid. Why put an element tag to increase the damage of IRON SWORDS by 20points when you can just edit it in the database???

That would be more useful if it was a passive buff that affect all the weapons of the same type like it happens in Dragon Quest IX where, for example, you can level up the Sword Skill set and increment the strength of a sword wielder by a flat amount i.e "Max Attack +10 (Increases max attack when holding a sword)".

Also on the subject of buffs a random question: it is possible to created a piece of equipment that will grant a buff to a character when their HP is full and then remove it when it's not longer the case?
Reply
First, this is affecting the weapon, not the actor. You can, for example, find a +2 Iron Sword... the sword already having been leveled, and have it within your Party's inventory. If you allowed Basil to use swords as well as spears, he too could use it the same as Aluxes. This script affects the weapon itself, not the actor.

What you are considering is actually a Weapon Proficiency system such as either my Adeyemi Armament Proficiency or Adeyemi Armor Proficiency (I made one for ARMOR too) or Leon Westbrooke's Weapon Proficiency script.

As to making something like a weapon or piece of armor that could grant (let's say... "Sharpen" or +2 to their strength when having their HP at max is probably not impossible. I would say the latter ( a direct bonus to a Stat) is more plausible than the former (adding/removing a state) given it could merely be a minor addition of...
Code:
if actor.hp == actor.maxhp
stat += 5
end
...tacked to the end of a "base_str" or like method in Game_Actor Laughing

That's just off the top of my head, mind you.

I have now spent over 6 hours translating the majority of this (supposedly) final XRXS "SCRIPT" which is the blacksmith add-on. And dangit, it uses 'element tagging' which I so find annoying. Now, after a month of this, I pretty much go into knowing WHAT THE #$%^ the coder is thinking on how they implement the feature. Hardcoded into the script, I'm now used to adding CONSTANT settings for the end-user (aka YOU) to set them to your taste AND even keep em working cleanly.

The only trick is... knowing WHAT THE #$%^ the element tags are for!

The main page has instructions. Am I taking chances? NO!!! I took the instructions and have them translated by:
  1. Google Translate
  2. DeepL
  3. Yandex

Differences in grammar aside (all three still translate "battler" to "Butler" :P) and nuances in sentence structure not withstanding, I should be able to use all three to make a decent set of instructions. I know, some frown at Google Translate, but it is oddly more-accurate with technical descriptions while the others more for fluent prose.

With the comparisons I've done, I have come to the conclusion that Google was used to translate the default code comments into English.... Period!

But I spent a goodly 6 hours. That's it for now. Because when I begin working on the instructions, I must also perform test-after-test in the demo to make sure everything written is correct and functional.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply
EDIT: I see ya there.

To be more specific...
Code:
#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles the actor. It's used within the Game_Actors class
#  ($game_actors) and refers to the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler

  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias steelbeasts_str base_str

  #--------------------------------------------------------------------------
  # * Get Basic Strength
  #--------------------------------------------------------------------------
  def base_str
    # Get the original base strength
    n = steelbeasts_str
    # If armor1 (Shield) is a Mythril Shield
    if @armor1_id == 4
      # If the actor is at full health
      if actor.hp == actor.maxhp
        # Give a +5 bonus
        n += 5
      end
    end
    return [[n, 1].max, 999].min
  end

end
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply
(8 hours ago)DerVVulfman Wrote: First, this is affecting the weapon, not the actor.  You can, for example, find a +2 Iron Sword... the sword already having been leveled, and have it within your Party's inventory.  If you allowed Basil to use swords as well as spears, he too could use it the same as Aluxes.  This script affects the weapon itself, not the actor.

What you are considering is actually a Weapon Proficiency system such as either my Adeyemi Armament Proficiency or Adeyemi Armor Proficiency (I made one for ARMOR too) or Leon Westbrooke's  Weapon Proficiency script.

...I just had a horrible flashback to the weapon mastery system of Romancing SaGa 1. You learned new skills by leveling up weapon mastery. The issue is that the mastery was tied to that weapon in particular. Therefore, if you wanted to upgrade your old iron sword for a shiny new steel sword, you had to grind for mastery points to regain all the skills again.

That game was a collection several baffling gameplay ideas.

Quote:As to making something like a weapon or piece of armor that could grant (let's say... "Sharpen" or  +2 to their strength when having their HP at max is probably not impossible.  I would say the latter ( a direct bonus to a Stat)  is more plausible than the former (adding/removing a state) given it could merely be a minor addition of...
Code:
if actor.hp == actor.maxhp
stat += 5
end
...tacked to the end of a "base_str" or like method in Game_Actor Laughing

That's just off the top of my head, mind you.

 I see. It's far more complicated that I had expected.

On this subject still, I realized what was going wrong on my attempt. I try to make a common event where there were two variables: "Character = HP" and "Character = MaxHP" where the state would be applied or removed depending if the "Character = HP" variable was lower than the  "Character = MaxHP" variable. 

And that's where the error is: there's no way to update the variable while in battle that I know of. No wonder why I was stumped.
Reply
(8 hours ago)DerVVulfman Wrote: EDIT:  I see ya there.

To be more specific...
Code:
#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles the actor. It's used within the Game_Actors class
#  ($game_actors) and refers to the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler

  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias steelbeasts_str base_str

  #--------------------------------------------------------------------------
  # * Get Basic Strength
  #--------------------------------------------------------------------------
  def base_str
    # Get the original base strength
    n = steelbeasts_str
    # If armor1 (Shield) is a Mythril Shield
    if @armor1_id == 4
      # If the actor is at full health
      if actor.hp == actor.maxhp
        # Give a +5 bonus
        n += 5
      end
    end
    return [[n, 1].max, 999].min
  end

end

A thousand thanks! I'm gonna test right know! EDIT I seem to run into this error even after changing the name to my character:

[Image: attachment.php?aid=3241]

Code:
#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles the actor. It's used within the Game_Actors class
#  ($game_actors) and refers to the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler

  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias Rei_str base_str

  #--------------------------------------------------------------------------
  # * Get Basic Strength
  #--------------------------------------------------------------------------
  def base_str
    # Get the original base strength
    n = Rei_str
    # If armor1 (Shield) is a Blaze Guard
    if @armor1_id == 273
      # If the actor is at full health
      if actor.hp == actor.maxhp
        # Give a +50 bonus
        n += 50
      end
    end
    return [[n, 1].max, 999].min
  end

end


Attached Files Thumbnail(s)
   
Reply
I just plugged your 'slight edit' into a new project and received no error, despite its considered improper to have upper-case characters in method names (Rei_str). Still, it functions without an error.

The standard etiquette....
Classes and modules (Use of capitalization with lowercase to denote words or the like, modules can be all caps if desired)
Constants (all capitalized)
methods and variables (all lowercase)


Indeed, Line #124 within Scene_Title creates the $game_actors object from the Game_Actors class, a wrapper allowing access to all actors from the Actor Database. However, this script merely appends to the base_str method of Game_Actor alone.

How old is your editor? I can tell it must be ancient given that the error message should read "Script 'Scene_TItle' line 124: NameError occurred." but has question marks instead.

Again, your error has nothing to do with the script, but something that has damaged or prevented Game_Actors from loading. For me to achieve the same error message, I literally renamed Game_Actors to Game_Actors2 so it couldn't be found.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply




Users browsing this thread: 68 Guest(s)