Memorie
So apparently, I added Moghunter's C-Hud to the game. However....

[Image: attachment.php?aid=1216]

The script doesn't like party leaders with 0 MP. Making things a bit worse. However, there are four ways I can deal with this:

1. Give all characters that have 0 Max MP to have 1 Max MP instead, though this would steer away from only certain characters having MP.
2. Disable the Menu, disable the ability to save, and have the Party leader, with 0 Max MP, never enter a battle. However, I have plans for battles that these characters have.
3. Find a different HUD Script. This one I'll most likely do.
4. Forget about the HUD in the map. Yeah. I'll probably do that.


Attached Files
.png   Script hates characters with a max MP to 0.png (Size: 2.89 KB / Downloads: 71)
Reply }
Wow, Moggy didn't account for 0 (Zero) SP? Well, that sucks. But, I have a fix (or fixes) if you don't mind some edits:

On line 214 in the create_sp_meter method, replace
Code:
@sp_width = @sp_range  * @actor.sp / @actor.maxsp
with
Code:
if @actor.maxsp == 0
        @sp_width = 0
      else
        @sp_width = @sp_range  * @actor.sp / @actor.maxsp  
      end

On line 545 in the sp_flow_update method, you also replace
Code:
@sp_width = @sp_range  * @actor.sp / @actor.maxsp
with
Code:
if @actor.maxsp == 0
        @sp_width = 0
      else
        @sp_width = @sp_range  * @actor.sp / @actor.maxsp  
      end

And finally, on line 526 in the sp_number_refresh method, replace
Code:
@s = @actor.sp * 100 / @actor.maxsp
with
Code:
if @actor.maxsp == 0
      @s = 0
    else
      @s = @actor.sp * 100 / @actor.maxsp
    end

Tongue sticking out Of course, the line numbers will change once you make your edits. But this makes it so Zero SP is tolerated.
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 }
(10-20-2019, 03:26 AM)DerVVulfman Wrote: Wow, Moggy didn't account for 0 (Zero) SP?  Well, that sucks.  But, I have a fix (or fixes) if you don't mind some edits:

On line 214 in the create_sp_meter method, replace
Code:
     @sp_width = @sp_range  * @actor.sp / @actor.maxsp
with
Code:
     if @actor.maxsp == 0
       @sp_width = 0
     else
       @sp_width = @sp_range  * @actor.sp / @actor.maxsp  
     end

On line 545 in the sp_flow_update method, you also replace
Code:
     @sp_width = @sp_range  * @actor.sp / @actor.maxsp
with
Code:
     if @actor.maxsp == 0
       @sp_width = 0
     else
       @sp_width = @sp_range  * @actor.sp / @actor.maxsp  
     end

And finally, on line 526 in the sp_number_refresh method, replace
Code:
   @s = @actor.sp * 100 / @actor.maxsp
with
Code:
   if @actor.maxsp == 0
     @s = 0
   else
     @s = @actor.sp * 100 / @actor.maxsp
   end

Tongue sticking out Of course, the line numbers will change once you make your edits.  But this makes it so Zero SP is tolerated.

Oh neat! Thanks. I'll get the script back inserted and make these edits. Thanks. Very cheery
Reply }
[Image: attachment.php?aid=1217]

It worked!Happy


Attached Files
.png   Worked.png (Size: 26.15 KB / Downloads: 60)
Reply }
Now that fixing the HUD script is out of the way, thanks to DerVVulfman, I am changing some things, such as dialogue, up to the point I'm at in the story. Especially a brown haired male NPC. I currently changing his dialogue to prevent breaking the 4th wall, and have a nicer personality. Also, since by the time you meet him again with Akiko as a child, you'll get the item "Written Paper" every time you talk to him to save. The item itself is actually quite worthless. This is because I decided to bring the HUD up when you can play, so that it's not always used for just boss QTE segments.
Reply }
I got some future story piece alterations planned. First. Kado's backstory. In the original idea, based on some thing with whatever the anime, Rising of the Shield Hero, had for a situation for the main character, Kado was being accuesd for .... well.... Rape and Murder, mainly for Midori's left eye. I'm changing this to Kado being accused for only murder for her left eye instead. This is one I wanted to change for a while after a few months of double thinking.

Currently, I'm adding a cutscene in between a part of the story that I've already done. This is mainly to show Akiko's mentor facing her target, then cutting back to the game. so it's a small little update, with a slight change in a future event, that I haven't started yet.
Reply }


Now things won't be so dark anymore.
Reply }
I just did one little edit with the two charsets I used for both Child Emil, which is a recolor of one of the default RTP child charsets, and an older Emil, which I haven't revealed yet.

Emil's eyes are now blue. That's it. For now.
Reply }
Welp, due to the fact that:

  1. The Linux Version of Steam had its library changed, and I couldn't see my library with it
  2. My old Acer laptop is now running Windows 10 (32-Bit)...... again (It's not the first time I had installed this OS)
  3. I moved the project back onto said old Acer laptop
Sometime later on in either this month or next month, before Closed Beta testing for the upcoming NA PC version of PHANTASY STAR ONLINE 2, I'm going to go back into developing the project. I put it on hiatus sometime late last year, due to PC issues with the PC I'm using. But I can now move it to a lesser, but more reliable, laptop that I have since I graduated high school back at 2011. The project is on there right now, and I managed to get all the RPG Makers I have on Steam working, including RPG Maker XP.

Welp, that's not really an update, but it's pretty much like an announcement of what I'll be doing sometime later, with this project....... Though I'm debating as to whether scrap the RPGXP game and bring it to RPG Maker MV or not. So yeah... I'll have to ponder a bit. RPG Maker VX ACE is also a possibility, as I've seen about three to four games, on Steam, that I played that actually did use RPGVX ACE very well.
Reply }
Well, you're always free to change your edition of RM but take in consideration than even the default RMXP engine can run almost as fast as VX Ace because you can set Graphics.frame_rate = 60 which is the same frame rate offered by Ace. You'll see it won't lag as much as you ever thought.

Even so, you can play any RGSS based games if you're using HiddenChest engine so, if my engine runs on your PC, then feel free to play test your games by executing my beloved engine executable. Laughing Yeah, HiddenChest also sports 60 fps by default, even so it can be increased! Shocked

I'm sorry if I ended up kind of hijacking your thread here... Confused
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: 1 Guest(s)