Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

 
Reply to this topicStart new topic
> Class levelling system
ImHiPotion
post Apr 2 2012, 12:18 PM
Post #1


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Intermediate
Rev Points: 15




Hey guys. The script I'm looking for is one that level's up classes. Because of the way my game work's character will die quite often. Meaning you will need to recruit more people often. That would be annoying if you are on a really hard boss and a lot of you character's are only level 1. So If the Characters and the classes level up the game would no longer be impossible.
I will be using GubiD's TBS so it has to be compatible with that.
If anyone would do this it would be much appreciated and (obviously) you will be credited! biggrin.gif


__________________________

Kindred Crystals
This is my nothing.

Until I can draw myself this shall be my signature.
"Darker than a Moonless Night, Chocolatier and more sweet than heaven itself. That... is cake" - MyPhantomile
"there are things completely unknown to me happening and happening and appearing before my eyes and lapsing back into unknown every single day. That is why I can never ever leave the places where humans abound! Humans, LOVE! I LOVE HUMANS! I LOVE YOU ALL! THAT'S WHY YOU ALL SHOULD LOVE ME TOO! " - Izaya Orihara DRRR <3
Go to the top of the page
 
+Quote Post
   
Moonpearl
post Apr 2 2012, 01:34 PM
Post #2


Level 5
Group Icon

Group: Member
Posts: 73
Type: Developer
RM Skill: Advanced




QUOTE (ImHiPotion @ Apr 2 2012, 12:18 PM) *
Hey guys. The script I'm looking for is one that level's up classes. Because of the way my game work's character will die quite often. Meaning you will need to recruit more people often. That would be annoying if you are on a really hard boss and a lot of you character's are only level 1. So If the Characters and the classes level up the game would no longer be impossible.
I will be using GubiD's TBS so it has to be compatible with that.
If anyone would do this it would be much appreciated and (obviously) you will be credited! biggrin.gif

Why not simply re-use dead actors, smply changing their name/apperance? Thus previously acquired stats are kept exactly the same. Plus, no need to make tons of actors that are duplicates of each others, recruiting a new character would just take changing the name/appearance of the one actor who's the desired class.


__________________________





Go to the top of the page
 
+Quote Post
   
ImHiPotion
post Apr 2 2012, 01:43 PM
Post #3


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Intermediate
Rev Points: 15




QUOTE (Moonpearl @ Apr 2 2012, 10:34 PM) *
QUOTE (ImHiPotion @ Apr 2 2012, 12:18 PM) *
Hey guys. The script I'm looking for is one that level's up classes. Because of the way my game work's character will die quite often. Meaning you will need to recruit more people often. That would be annoying if you are on a really hard boss and a lot of you character's are only level 1. So If the Characters and the classes level up the game would no longer be impossible.
I will be using GubiD's TBS so it has to be compatible with that.
If anyone would do this it would be much appreciated and (obviously) you will be credited! biggrin.gif

Why not simply re-use dead actors, smply changing their name/apperance? Thus previously acquired stats are kept exactly the same. Plus, no need to make tons of actors that are duplicates of each others, recruiting a new character would just take changing the name/appearance of the one actor who's the desired class.

The idea is so you don't have the same character again. If your best character died and you could get him back it would make everything too easy and wouldn't feel like the character "died". You could have it so that as the class levels up base stats go up and new skills are learnt. however individual characters can level up and increase their stats and gain new skills before others of the same class.


__________________________

Kindred Crystals
This is my nothing.

Until I can draw myself this shall be my signature.
"Darker than a Moonless Night, Chocolatier and more sweet than heaven itself. That... is cake" - MyPhantomile
"there are things completely unknown to me happening and happening and appearing before my eyes and lapsing back into unknown every single day. That is why I can never ever leave the places where humans abound! Humans, LOVE! I LOVE HUMANS! I LOVE YOU ALL! THAT'S WHY YOU ALL SHOULD LOVE ME TOO! " - Izaya Orihara DRRR <3
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Apr 3 2012, 04:11 AM
Post #4


Level 50
Group Icon

Group: +Gold Member
Posts: 1,519
Type: Scripter
RM Skill: Undisclosed




Sounds interesting, have a script to help make it happen happy.gif

CODE
#==============================================================================
# ** XP: Night_Runner's Classwide EXP Script.
#------------------------------------------------------------------------------
# History:
#  Date Created: 4/Apr/2012
#  Created for: ImHiPotion
#   @> http://www.rpgrevolution.com/forums/index.php?showtopic=56049
#
# Description:
#  When an actor gets exp given to them (including if they get forced to a
#   level using the 'Change Level' evented command) that extra experience
#   gets added to a pool of experience for that character.
#
# How to Install:
#  Copy this entire script. In your game editor select Tools >> Script Editor.
#  Along the left, scroll down to the bottom, right click on 'Main', and
#  select 'Insert'. Paste the code on the right.
#
# How to Use:
#  Insert this script, and it will automatically monitor the exp
#  distribution and take care of everything.
#==============================================================================



#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
#  Edited to store the class experience points.
#==============================================================================

class Game_Party
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :class_exp
  #--------------------------------------------------------------------------
  # * Alias methods
  #--------------------------------------------------------------------------
  alias nr_classEXP_initialize  initialize  unless $@
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(*args)
    # Create the hash of class experience points
    @class_exp = {}
    # Default the experience to 0
    @class_exp.default = 0
    # Run the original initialize
    return nr_classEXP_initialize(*args)
  end
end



#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  Edited to get and set exp based of their class.
#==============================================================================

class Game_Actor
  #--------------------------------------------------------------------------
  # * Alias methods
  #--------------------------------------------------------------------------
  alias nr_classEXP_setup            setup             unless $@
  alias nr_classEXP_exp_set          exp=              unless $@
  alias nr_classEXP_exp_s            exp_s             unless $@
  alias nr_classEXP_next_exp_s       next_exp_s        unless $@
  alias nr_classEXP_next_rest_exp_s  next_rest_exp_s   unless $@
  #--------------------------------------------------------------------------
  # * Setup
  #--------------------------------------------------------------------------
  def setup(*args)
    # Run the original setup
    nr_classEXP_setup(*args)
    # Set the exp to follow the classwide EXP
    self.exp = $game_party.class_exp[@class_id]
  end
  #--------------------------------------------------------------------------
  # * EXP=
  #--------------------------------------------------------------------------
  def exp=(*args)
    # Run the original exp=
    nr_classEXP_exp_set(*args)
    # Set the class to have this actors exp
    $game_party.class_exp[@class_id] = @exp
  end
  #--------------------------------------------------------------------------
  # * EXP
  #--------------------------------------------------------------------------
  def exp
    # Set this exp to the class' exp.
    self.exp = $game_party.class_exp[@class_id]
    # Return the exp
    return @exp
  end
  #--------------------------------------------------------------------------
  # * Get EXP String
  #--------------------------------------------------------------------------
  def exp_s
    # Make sure the exp is aligned to the class' properly
    self.exp
    # Run the original exp_s
    nr_classEXP_exp_s
  end
  #--------------------------------------------------------------------------
  # * Get Next Level EXP String
  #--------------------------------------------------------------------------
  def next_exp_s
    # Make sure the exp is aligned to the class' properly
    self.exp
    # Run the original next_exp_s
    nr_classEXP_next_exp_s
  end
  #--------------------------------------------------------------------------
  # * Get Until Next Level EXP String
  #--------------------------------------------------------------------------
  def next_rest_exp_s
    # Make sure the exp is aligned to the class' properly
    self.exp
    # Run the original next_rest_exp_s
    nr_classEXP_next_rest_exp_s
  end
end



#==============================================================================
# ** End of Script.
#==============================================================================


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
ImHiPotion
post Apr 3 2012, 02:33 PM
Post #5


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Intermediate
Rev Points: 15




QUOTE (Night_Runner @ Apr 3 2012, 01:11 PM) *
Sounds interesting, have a script to help make it happen happy.gif


Thanks a lot for the script. Tried it out, not really sure what it does but I'll keep trying it and see what it does.


__________________________

Kindred Crystals
This is my nothing.

Until I can draw myself this shall be my signature.
"Darker than a Moonless Night, Chocolatier and more sweet than heaven itself. That... is cake" - MyPhantomile
"there are things completely unknown to me happening and happening and appearing before my eyes and lapsing back into unknown every single day. That is why I can never ever leave the places where humans abound! Humans, LOVE! I LOVE HUMANS! I LOVE YOU ALL! THAT'S WHY YOU ALL SHOULD LOVE ME TOO! " - Izaya Orihara DRRR <3
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Apr 4 2012, 02:01 AM
Post #6


Level 50
Group Icon

Group: +Gold Member
Posts: 1,519
Type: Scripter
RM Skill: Undisclosed




Well, it seems like your problem is you will have a fighter (as an example class), and throughout the game the fighter may die, and you would like to have a new character, also a fighter, join to game to take Fighter_1's place.
Fighter_2 has a different appearance, exp curve, MaxHP, MaxSP etc parameters, and different starting equipment. Essentially, Fighter_2 is a new actor, but shares the same class as Fighter_1.

So my Theif_1 is Dorothy, she starts off the game with 0 exp


She gets in fights


And gains exp


As you can see, she has exp from battle

and for whatever reason she dies and is removed from the party.

Now a new thief emerges; the brave, strong, and incredibly handsome NR, and because he is a theif he got all the exp that Dorothy (also a thief) got from battle.



By having everyone in the class sharing exp, I thought that that would fulfil your original requirement:
QUOTE
So If the Characters and the classes level up the game would no longer be impossible.

Let me know if I'm completely wrong, I'm happy to make another script.


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
ImHiPotion
post Apr 9 2012, 10:27 AM
Post #7


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Intermediate
Rev Points: 15




AH I see. This is a good script, it helps however the idea was that the characters had separate EXP. The only example I can think of is Valkyria Chronicles, but still thats just the class level up...
So I'll try make up an example:
Battle start:
Max: Level: 7 Knight Class Level: 2
Kirai: Level: 3 Knight Level: 2
Sarah: Level 10 Thief Class Level: 4
Ben: Level 13 Thief Class Level: 4
They battle.
Max levels up
Ben's class levels up
but they both die.
Battle end
you recruit more people.
and now your party looks like this:
Max 2: Level: 1 Knight Class Level: 2
Kirai: Level:3 Knight Class Level: 2
Sarah: Level:10 Thief Class Level: 5
Ben 2: Level: 1 Thief Class Level: 5
...
I hope that made sense haha The class sets the base stats and skills for characters. the level of the character means they can obtain better stats and skills.


__________________________

Kindred Crystals
This is my nothing.

Until I can draw myself this shall be my signature.
"Darker than a Moonless Night, Chocolatier and more sweet than heaven itself. That... is cake" - MyPhantomile
"there are things completely unknown to me happening and happening and appearing before my eyes and lapsing back into unknown every single day. That is why I can never ever leave the places where humans abound! Humans, LOVE! I LOVE HUMANS! I LOVE YOU ALL! THAT'S WHY YOU ALL SHOULD LOVE ME TOO! " - Izaya Orihara DRRR <3
Go to the top of the page
 
+Quote Post
   
Nub Cake
post Apr 10 2012, 10:39 AM
Post #8


Level 7
Group Icon

Group: Revolutionary
Posts: 102
Type: Event Designer
RM Skill: Skilled




I don't really see that a script is needed, as mentioned, you can just edit the characters skin and name, and in the event commands on page 3 there is "Change Level". You can take all the characters or just 1 and 1 character as you see the need for it. It is quite easy, and won't take long time to do, and you get the level you wish for quite easy. You can just take the screen to fade out, while it's dark you transfer the player to a wished map with a event which used autorun. Simply just add the level, skin and name in and add "wait" and select maybe 20 frames + as you see the need.

The "Wait" Process waits till skin and all have changed, and after it's done you simply make the screen fade back in and then add a Self Switch ^^

But i see the script is out, and i hope it works at least, i believe so as it's night runner so tongue.gif
I simply just replied with this if you would see this as an easy option or want to use this later in other projects ^^


__________________________


[Show/Hide] To make my signature smaller

[Show/Hide] Koroshite Gakuen - Paused - lack of inspiration


Koroshite Gakuen means Killing in the School, and my current project is finally gonna be the first game i complete.

As for plans, i have though of the chat options, full screen, menu and might a diary, and a phone system.

The game is based on a girl, still unnamed, and it's a day at the high school where they play mafia.

Mafia is a game where a few is selected to be mafia, and a a couple selected for detectives. The rest is innocent, and the mafias touch them and tells them their dead, and they eventually lie down, sit down or go to a certain room. Now, the detective can then go to them, and the dead guy will tell them one thing that can describe the murders appearance, but no names, and no one else knows what that guy told the detective. Either the mafia kills all, or the detective catches the mafias, and the game ends.

Now, the plan is that there happens an actual murder at the school, there isn't cops in the town, and there isn't enough resources to send more than one police officer, which can't figure out much. So as the police officer doesn't do too much, you decide to take it up yourself, track down the murder.

I don't feel like telling more as it kind of spoils it, but i can say that I'm still at the mapping, and i try my best to make them look as good as possible, as I'm a horrible mapper.

Decent art artist?

I could really use some help for some of the graphics for character faces, and eventually a few character pictures c:



I love to write stories, if you're stuck on your games story, i might be able to help :)
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 07:59 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker