Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Wereform's Question.
IceSageX
post Feb 8 2012, 04:59 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 7
Type: None
RM Skill: Intermediate




It totally seems like every viable RPG Maker site has vanished into oblivion... So the information I need is virtually unsearchable. Thus, I'm posting my question here. I hope this is the correct place.

I'm trying to use the script "Wereforms" which is able to copy / transform your character into the enemy. It copies movesets of enemies from the database.

However, you have to manually do this in the Skill's tab for each skill.

I was wondering if there was a way to be able to add a variable into the command so it can memorize the ID of a monster you're in battle with, and copy it's movesets.

I'm using YEM as a base.
Go to the top of the page
 
+Quote Post
   
Resource Dragon
post Feb 9 2012, 03:25 PM
Post #2


Dragon has RAWR. So... RAWR.
Group Icon

Group: Local Mod
Posts: 984
Type: Developer
RM Skill: Masterful
Rev Points: 95




QUOTE
I was wondering if there was a way to be able to add a variable into the command so it can memorize the ID of a monster you're in battle with, and copy it's movesets.


Could you go into this in a little more detail?


__________________________
click me ->Signup for Digital Hijinks!<- click me
Go to the top of the page
 
+Quote Post
   
IceSageX
post Feb 10 2012, 02:54 AM
Post #3


Level 1
Group Icon

Group: Member
Posts: 7
Type: None
RM Skill: Intermediate





QUOTE (Resource Dragon @ Feb 9 2012, 06:25 PM) *
QUOTE
I was wondering if there was a way to be able to add a variable into the command so it can memorize the ID of a monster you're in battle with, and copy it's movesets.


Could you go into this in a little more detail?


I thought it was rather self-explanatory, but sure.

Wereform's makes use of the Notes field in the Skills tab to carry out what that skill does.

The code is:

<wereforms: x> where x is the number of the monster from the database to copy their skills. However, you have to manually replace x with a number, say, 30.

What I want to do is find a way to, while in battle... Have an ability that selects a monster in battle and saves it's Monster ID to a variable. So, I select a Slime, which is monster 22 in the database, during battle... and it saves to a variable.

I need to know if I can use a variable in the Notes field along with wereforms, and if it's even possible to save a variable of a monster from the database during battle. (Or if I'd need another script entirely?)

So basically:

1) Go into battle
2) Select a skill (To make it easy, there will be two skills. Let the first be "Copy.")
3) Select Monster, use skill.
4) The monster's ID is then copied.
5) Then I can use Wereform's and insert a variable where "x" is, so that it copies that monster's ID.

I was simply wondering if this could be setup easily already using Wereforms, if this stuff is already setup in the system... Or if I'd need to find a way to script something else in order to save Monster database IDs while in battle. (And also, how to insert them into a skill via the notes section.)
Go to the top of the page
 
+Quote Post
   
Jens of Zanicuud
post Feb 10 2012, 03:07 AM
Post #4


Dark Jentleman
Group Icon

Group: Local Mod
Posts: 904
Type: Scripter
RM Skill: Skilled
Rev Points: 120




I can answer your first question.
This is a procedure to copy an enemy id into a variable.

#Copy skill

Copy skill should assign an unresistable status (example: status number 3) to thedesired target.

#Copy skill common event:

>call script:

Let's say the state given by the skill is number 3 (example) and you want to store it in variable number 1 (example)

#comment: browse the troop and looks for an enemy with the desired status;
CODE
num       = 1
state_id = 3
for enemy in $game_troops.enemies
  if enemy.state?(state_id)
   $game_variables[num] = enemy.id
   break
  end
end


#comment: remove the status from all enemies by means of Remove Status command;
>Enemy troops::Remove status ([3], all enemies)

#common event end

As regards the second part of your question... well, launch a search in the script and find "wereform" word, then copy the whole method (from the previous def to the next def) and post it here int his topic. If you do so, there's high chance someone will be able to modify that script in order to let it work properly.

Jens

This post has been edited by Jens of Zanicuud: Feb 10 2012, 03:11 AM


__________________________
"Thorns are the rose's sweetest essence..."
-Jens of Zanicuud


Games I'm working on:
>

official website: TryAdIne eFfeCt

>

Games I worked on (mainly as a scripter):
>
(Warning: it's a 3rr3's project and it's in Italian!)


Awards

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: 19th May 2013 - 09:54 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker