RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[MISSING] Soul Rage System + Soul Limit System v4.4b

0 Members and 1 Guest are viewing this topic.

*
A man chooses,
Rep:
Level 92
a slave obeys
Project of the Month winner for April 2008


I get this with Mink's Side-View Battle system when I use Soul-Rage.

***
Rep:
Level 88
Menu & Battle System Guru
u have to implement the SR/SL to Minkoffs, its explained in earlier pages.

*
A man chooses,
Rep:
Level 92
a slave obeys
Project of the Month winner for April 2008
I wish I could know how to do that....What should I do now?  :=:

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Same bug like in the CMS.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
Menu & Battle System Guru
hey blizz how can you implement the SR/SL to hold icons like other commands?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Sure. You need to mod "def refresh" from Window_Command in the script.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
Menu & Battle System Guru
Sure. You need to mod "def refresh" from Window_Command in the script.

well this is what im using to draw the gradients:

Spoiler for:
Code: [Select]
class Window_Battle_Command < Window_Selectable
  #-----------------------------------------------------------------------------
  # @ Draw choice
  #-----------------------------------------------------------------------------
  def draw_item(index, color)
    bitmap = RPG::Cache.icon(@commands[index] + ".png")
    opacity = color == normal_color ? 255 : 128
    self.contents.blt(4, 32*index, bitmap, Rect.new(0, 0, 24, 24), opacity)
    self.contents.font.color = color
    rect = Rect.new(28, 31 * index, self.contents.width - 28, 28)
    self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
    self.contents.draw_text(rect, @commands[index])
  end
end

what exactly do i do in refresh? with the command icon script above i still don't have an icon for "Soul Rage" (or in my case "Adrenaline") even when I have an icon named after it. sorry man, i'm not sure what to do.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Alright, I'll explain it. RGSS uses bitmaps to display stuff. You can let text be drawn on bitmaps with draw_text(...). Now, the trick it is that you also can cache icons and put them on bitmaps with blt(...). You basically need to change Window_Command's def refresh in the SRS script by adding the caching part and "putting the icon on the bitmap". You need increase the x value of the Soul Rage/Adrenaline text drawing to move it to the right to make some room first.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
Menu & Battle System Guru
Alright, I'll explain it. RGSS uses bitmaps to display stuff. You can let text be drawn on bitmaps with draw_text(...). Now, the trick it is that you also can cache icons and put them on bitmaps with blt(...). You basically need to change Window_Command's def refresh in the SRS script by adding the caching part and "putting the icon on the bitmap". You need increase the x value of the Soul Rage/Adrenaline text drawing to move it to the right to make some room first.

i came out with something like this:

Spoiler for:
Code: [Select]
elsif ALLOW_RAGE and @commands[1] == "Adrenaline"
      for j in 0...6
        self.contents.clear
        self.contents.font.color = RAGE_COLOR
    bitmap = RPG::Cache.icon("Adrenaline")
    self.contents.blt(4, 32*index, bitmap, Rect.new(0, 0, 24, 24), opacity)
        rect = Rect.new(164 - j * 28, 32, self.contents.width - 28, 28)
        self.contents.draw_text(rect, @commands[1])
        self.contents.font.color = normal_color
        for i in 0...@item_max
          unless @commands[i] == "Adrenaline"
            draw_item(i, normal_color)
          end
        end

however it only shows up when im holding >> and then pressing down to another command just before it disappears (it'll do it for just a second then you have to go back and hold right while scrolling down the commands)...

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Code: [Select]
self.contents.blt(4, 32*index, bitmap, Rect.new(0, 0, 24, 24), opacity)

Use this instead:

Code: [Select]
self.contents.blt(164 - j * 28, 32, bitmap, Rect.new(0, 0, 24, 24), opacity)

The the icons will move as well. If it still doesn't work, try putting your two commands below the code you just posted, after the second "end".
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
Menu & Battle System Guru
hmmm still nothing. When I placed them below the ends the icons just disappeared right away...

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
damnit, I can't find how to reset SR at the end of battle

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
You mean reset to 0? Just use a parallel process common event and put this into a call script command:

Code: [Select]
for actor in $game_party.actors
  actor.sr = 0
end
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
still learning RPG Maker XP a bit, you can make a common event a paralell process?
like without needing an event?

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Yes. You only need to turn on the switch you set to activate the event. You can use such an event game-wide, not for only one map. :)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
cool, I didn't know that ;D

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

*******
Rep:
Level 90
Returned from the dead.
 :o That's one ace script there matey

How do you do it
Sincerely,
Your conscience.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
I type them? ?_?
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*******
Rep:
Level 90
Returned from the dead.
Is there a way to change someone's Soul Limit in-game?
Sincerely,
Your conscience.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Quote from: Instructions
# If you want to change the Soul Limit skill ID and/or command ingame use the
# "Call script" event command and use this syntax:
#
# $game_actors[X].set_new_limit("STRING", ID)
#
# - X is the ID of the hero in the database and Y the ammount
# - STRING is the new name for the SL command
# - ID is the ID of the new SL skill in the database
#
# You can also use another syntax:
#
# $game_party.actors[X].set_new_limit("STRING", ID)
#
# X is the postion of the hero in the party. Note that X starts from 0 (NOT 1)!
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*******
Rep:
Level 90
Returned from the dead.
 :( Why don't I read?
Sincerely,
Your conscience.

***
Rep:
Level 88
I don't understand how to add wepons to the list.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Code: [Select]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#
# START SR Database
#
# This is your equipment Soul Rage database. To add a new Soul Rage skill to a
# weapon is very simple. Add another "when"-branch in the script snipplet below
# (they have comments next to it). Configure it like this template:
#
# when WEAPON_ID
#   skill_ids.push(SOULRAGE_SKILL_ID)
#   skill_ids.push(SOULRAGE_SKILL_ID)
#
# The same works for armors:
#
# when ARMOR_ID
#   skill_ids.push(SOULRAGE_SKILL_ID)
#   skill_ids.push(SOULRAGE_SKILL_ID)
#
# The lines are commented below so you should have no problems with the script.
#
# To determine the percentage of Soul Rage consumed to use a skill, set the SP
# to the percentage. e.g. 33SP would mean 33% of the Soul Rage bar.
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    if weapon
      case equip_id # weapon IDs
      when 6
        skill_ids.push(10)
        skill_ids.push(11)
        skill_ids.push(12)
      when 10
        skill_ids.push(8)
      end
    else
      case equip_id # armor IDs
      when 6
        skill_ids.push(1)
      when 18
        skill_ids.push(25)
      end
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END SR Database
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Just like the database instructions tell you. Since the code is like this:

Quote
    if weapon
      case equip_id # weapon IDs
      when 6
        skill_ids.push(10)
        skill_ids.push(11)
        skill_ids.push(12)
      when 10
        skill_ids.push(8)
      end
    else
      case equip_id # armor IDs
      when 6
        skill_ids.push(1)
      when 18
        skill_ids.push(25)
      end


I think it shouldn't be a problem. =P
« Last Edit: April 03, 2007, 10:16:36 AM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
I dont understand where to put the stuff....lol, i dont understandy ruby what so ever.

*******
Rep:
Level 90
Returned from the dead.
Code: [Select]
when 6
        skill_ids.push(10)
        skill_ids.push(11)
        skill_ids.push(12)
The 6 would be the weapon or armor ID and the numbers in the brackets are the IDs of the skills that that piece of equipment uses as their Soul Rage
Sincerely,
Your conscience.