Research Ability

Professor Gingey

Dev in Training
Member
Joined
Apr 19, 2015
Messages
24
Reaction score
0
First Language
English
Primarily Uses
I'm very new to RPG Maker VX Ace, [i got it not even 24 hours ago.] and I'm trying to find out how to add in a skill that will show the stats and weaknesses of an enemy.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
How do you intend it to be displayed - via a message box (Show Text)?


You could possibly attach a common event to the skill - if you can pull out the target you could then build a text string to show with the stats you want to, and then show that in a message box.


That would be a bit complicated for someone who's only had the engine for 24 hours. The alternative would be a script. THAT would be very complicated for someone who's only had the engine for 24 hours.
 

Professor Gingey

Dev in Training
Member
Joined
Apr 19, 2015
Messages
24
Reaction score
0
First Language
English
Primarily Uses
Yes, I do intend to have it displayed in a message box. And I guess I should probably hold off on complicated scripting like this unless I'm able to find someone who has a copy of the script they used, right?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
If you want to show it in a message box, you need a method to retrieve the enemy being targetted, a method to retrieve the desired stats of that enemy, and a method to build a message with all of that information. Dynamic messages can be created with variables, but you could also build one through the Script event command. There will be a lot of trial and error and hair-pulling :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
As Shaz said, there are several ways to do this - but they all require some basic knowledge about the engine.

If you go by show text command, you'll need to know how to use the control variable command (game data area) to load the enemies data into a variable and then display it by textcode in the show text command.

If you go by script - the master script list contains more than 1000 existing scripts, and one of them from Yanfly can do what you want.

However, I suggest you follow the link in my signature and work through the tutorials listed there - especially the variables guide should show you the basics on how to use variables for the first option.
 

Professor Gingey

Dev in Training
Member
Joined
Apr 19, 2015
Messages
24
Reaction score
0
First Language
English
Primarily Uses
I've been through my share of trial and error after bug fixing with all of the other game making programs I've used, so it's nothing I'm not used to. Oh well, I'm just going to do some research on the scripts for the stuff you just told me. Thanks for the info!
 

Professor Gingey

Dev in Training
Member
Joined
Apr 19, 2015
Messages
24
Reaction score
0
First Language
English
Primarily Uses
As Shaz said, there are several ways to do this - but they all require some basic knowledge about the engine.

If you go by show text command, you'll need to know how to use the control variable command (game data area) to load the enemies data into a variable and then display it by textcode in the show text command.

If you go by script - the master script list contains more than 1000 existing scripts, and one of them from Yanfly can do what you want.

However, I suggest you follow the link in my signature and work through the tutorials listed there - especially the variables guide should show you the basics on how to use variables for the first option.
Okay, thanks.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top