Amaranth Games   Games   News   Order   Community   Help   Blog   Goodies   Updates   Guides Developers
Username:    Password:      Register now!
Game Genres
All Games
RPG
Adventure
SIM
Story
Cute
Game Kits
Amaranth Games (games only by us)
Newest Game
Featured Game
Book of Legends
Book of Legends
Popular Games


Browsing this Thread:   1 Anonymous Users

      Register To Post

Leveling Question #1
Offline   emilywake
  Amaranthian
gold   228 Gold
Level : 14
EXP : 4
HP : 0 / 326
MP : 75 / 1933
I would like to add a new party member, but how do I make sure that the new party member is a higher level by x amount, no matter the level the player is at that moment?

Example:
The original party member is level 5 and the new party member is level 7 for Player A. For Player B, the original party member is level 6 and the new party member is level 8.

Posted on: 2012/4/8 17:19
_________________
~The Wisdome of Adam Savage~
"I reject your reality and substitute my own."
"We're not leaving here without Buster, man. Leave no crash-test dummy behind!"
"That was cool and that sucked all at the same time."
"Failure is always an option."


Re: Leveling Question #2
Offline   daeva_agas
  Witches and Warlocks
gold   8651 Gold
Level : 52
EXP : 96
HP : 779 / 1299
MP : 1799 / 20452
You would have to edit variables.

1) Make a common event. Call it "Edit level" or something.
2) Make a variable and let's say we call it "Player A level".
3) When a new party member is added, set the "Player A level" variable to Player A's level using "Control Variable". In the Variable settings, select "single". In the Operation setting, select "set". In the Operand setting, select "Actor". Then choose "Player A" from the first drop down menu, and choose "level" from the second one.
4) Make another "control Variable" command. This time choose "Add" in the Operation setting. In the Operand setting, select "constant" and type in whatever number you need. Let's say you want the x to be 3. Now we're going to add 3 to the level. A player's default level is going to be 1, so if you want x to be 3, you have to insert 2. If you want x to be 4, insert 3. And so on.
5) In the event where you add the party member, call the Edit Level common event.
6) After that, make a "Change Level" command. Select the new player in the Actor setting. Select "Increase" in the Operation setting. Select "Variable" in the Operand setting and choose the "Player A level" variable.

Hope that works?

Posted on: 2012/4/8 21:30
_________________



Re: Leveling Question #3
Offline   Juunanagou
  Amaranthian
gold   90 Gold
Level : 8
EXP : 35
HP : 0 / 183
MP : 29 / 1235
Or you can use a script. There are one for vx, dun remember if there is for xp too. And for ace maybe. Or for xp e vx and not for ace XD

For now I found just the xp one:

http://forum.chaos-project.com/index.php?topic=4497.0

Posted on: 2012/4/9 1:13
_________________
Avatar: Celianna Face Generator


Re: Leveling Question #4
Offline   daeva_agas
  Witches and Warlocks
gold   8651 Gold
Level : 52
EXP : 96
HP : 779 / 1299
MP : 1799 / 20452
@Juunagou: That script does things a little differently than what OP wanted. OP wanted the new member to have x+ number of levels. Script had new member have a level in the average of the other party members' levels. OP don't seem to be able to modify scripts. We'll see what OP thinks, though.

Posted on: 2012/4/9 3:08
_________________



Re: Leveling Question #5
Offline   emilywake
  Amaranthian
gold   228 Gold
Level : 14
EXP : 4
HP : 0 / 326
MP : 75 / 1933
Is there a script that does what daeva told me? That would simplify things. It has to be for xp, though.

Posted on: 2012/4/9 11:39
_________________
~The Wisdome of Adam Savage~
"I reject your reality and substitute my own."
"We're not leaving here without Buster, man. Leave no crash-test dummy behind!"
"That was cool and that sucked all at the same time."
"Failure is always an option."


Re: Leveling Question #6
Offline   daeva_agas
  Witches and Warlocks
gold   8651 Gold
Level : 52
EXP : 96
HP : 779 / 1299
MP : 1799 / 20452
@emily: What I told you to do is actually very simple, you know. All you need to do is call it over and over.

Posted on: 2012/4/9 12:39
_________________



Re: Leveling Question #7
Offline   emilywake
  Amaranthian
gold   228 Gold
Level : 14
EXP : 4
HP : 0 / 326
MP : 75 / 1933
I'll try it. I just wanted to know if there was a script. I don't like not trying something first or look it up to see what it's about. The script given to me by Juunagou is nice but I don't want the level averaged.

Posted on: 2012/4/9 16:28
_________________
~The Wisdome of Adam Savage~
"I reject your reality and substitute my own."
"We're not leaving here without Buster, man. Leave no crash-test dummy behind!"
"That was cool and that sucked all at the same time."
"Failure is always an option."


Re: Leveling Question #8
Offline   daeva_agas
  Witches and Warlocks
gold   8651 Gold
Level : 52
EXP : 96
HP : 779 / 1299
MP : 1799 / 20452
Well, if you think a script is going to be easier, then go for it. I personally think eventing is easier, but that's just me

Posted on: 2012/4/9 18:38
_________________



Re: Leveling Question #9
Offline   Juunanagou
  Amaranthian
gold   90 Gold
Level : 8
EXP : 35
HP : 0 / 183
MP : 29 / 1235
Well I didn't tried but there:


if average       
actor 
$game_actors[actor_id]       
level 0       
for i in 0...$game_party.actors.size
  level 
+= $game_actors[$game_party.actors[i].id].level


It sums the levels of the party and there:


level 
level $game_party.actors.size       
actor
.level level


It makes the average level. You can change the script to see level max (the new chara will have the max level of the party +1 right?). And then in the second part it will sum 1 or 2. Then.


for i in 0...$game_party.actors.size         
if level <=  $game_actors[$game_party.actors[i].id].level
    level 
=  $game_actors[$game_party.actors[i].id].level
end


In the for it should control if level (set by 0) is less or equal to the level of the character is checking and if it's less it should consider it the bigger element in the party. If it's bigger it goes on because the level is bigger in that moment. At the end:

level = level +2

Nothing more, it takes the biggest level, like 10 and sums 2. So we have:


#============ # Average Actor Level # Author game_guy # Version 1.0 #------------ # Intro: 
# What this script does is when you add an actor 
to the party instead of the # actors level being 
1 this will average the total level amount of the
 party 
# and make it so the actor will have the 
same level area of the party
# # Features: # 
Makes new party member have level equal to 
partys averaged level 
# Easy to use # Makes it 
so you can still normally add actors without 
level averaging 
# # Instructions: # In a script 
call command just type this in 
a_add_actor(actor_id# actor_id = id of the 
actor in database # to average the level. # # 
Side Notes# This can be easily evented but who 
caresI like making things more # easy. # # 
Credits# game_guy ~ for making it #======== class Game_Party   
alias gg_average_levels add_actor   
def add_actor
(actor_idaverage=false)     
if 
average actor $game_actors[actor_id]       level 0       
for i in 0...$game_party.actors.size         
if level <=  $game_actors[$game_party.actors[i].id].level
    level 
=  $game_actors[$game_party.actors[i].id].level
end       level 
level +2   end     gg_average_levels(actor_id)   
end end 
class Game_Actor   
attr_accessor 
:level end 
class Interpreter   def a_add_actor(id)     $game_party.add_actor(idtrue)   
end end


Try to modify it or just copy and paste the modification, but I suggest you to try to modificate it step by step so you understand how it works and I don't understand well if I modified it well with this format XD Didn't change the intro and features, it's no more like descripted, so change the green part of the script as you like, but don't forget to credit game_guy for the script

Posted on: 2012/4/10 3:02
_________________
Avatar: Celianna Face Generator


Re: Leveling Question #10
Offline   shaz
  Administrator
gold   11479 Gold
Level : 68
EXP : 87
HP : 1696 / 1696
MP : 3999 / 26728
She doesn't want to use party average, though. She just wants to make the new character's level a certain number higher than the main character's level.

The solution originally posted by daeva_agas is very similar to what's done in Aveyond. You don't need to use a script for it. Simply get the main character's level into a variable, add the increase to it (minus 1), then add your new character to the party and increase their level by the amount in that variable. If you find the instructions confusing, I (or d_a) will post some screenshots showing what to do.

Is there a reason why you WANT to use a script, when it can be done in 3 or 4 lines in an event? Seems like it's making it way more complicated than it needs to be. (if you REALLY want a script, I can give you a snippet that you can call via a Call Script command in an event, but I promise it won't be nearly as easy to understand - or probably modify - as it would with event commands)

Posted on: 2012/4/10 5:48
_________________
While no trees were harmed in the transmission of this message,
thousands of pixels were inconvenienced.


Re: Leveling Question #11
Offline   QuesTMajoR
  Amaranthian
gold   83 Gold
Level : 7
EXP : 2
HP : 0 / 150
MP : 22 / 527
I hate this Script...

Posted on: 2012/4/10 6:06
_________________


Free Games and Services are Yours at:
http://questmajor.webstarts.com/


Re: Leveling Question #12
Offline   emilywake
  Amaranthian
gold   228 Gold
Level : 14
EXP : 4
HP : 0 / 326
MP : 75 / 1933
I just wanted to know if there was one. I didn't actually need one. But the screen shots would help on the eventing, Shaz.

Posted on: 2012/4/10 10:44
_________________
~The Wisdome of Adam Savage~
"I reject your reality and substitute my own."
"We're not leaving here without Buster, man. Leave no crash-test dummy behind!"
"That was cool and that sucked all at the same time."
"Failure is always an option."


Re: Leveling Question #13
Offline   daeva_agas
  Witches and Warlocks
gold   8651 Gold
Level : 52
EXP : 96
HP : 779 / 1299
MP : 1799 / 20452
Open in new window


Aaannd a sample video of the result. Ignore the background noise. I was talking with my mom while recording.


Posted on: 2012/4/11 3:07
_________________



      Register To Post
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]




Join our Newsletter!

RSS Feed

Coming Soon!

June, 2013

RPGs
Dragons Among Us
Edolie
Aveyond 4

Sandbox
Pixel Pygmies

Sim/Match 3
Butterfly Adventure

Kingdom Chat
ljspence > 06/19 15:53:08[ljspence] nice figures - the moves are a bit spastic though
Aveyond Wiki
Click to Visit!
made by fans, for fans
Kingdom Map

(Laws)



(Forums)



(News)



(Art Gallery)



(Cottages)



(Guilds)



(Experiments)

Who's Online
33 user(s) are online (17 user(s) are browsing My Forum Entries)

Members: 0
Guests: 33

more...
About Us |  Sell Our Games |  Add Your Game to Our Site
©2007 Amaranth Games, LLC
Powered by Xoops