New account registration is temporarily disabled.

[RM2K3] [DYNRPG] ROW BY A SKILL OF HERO?

Posts

Pages: 1
Hi everyone!

It's possible change row of a party with a skill for every hero? I have the Rowswap+ plugin of bugmenot, for extra info xDD

Thanks for your time people!
BurningTyger
Hm i Wonder if i can pul somethi goff here/
1289
author=Beleren
Hi everyone!

It's possible change row of a party with a skill for every hero? I have the Rowswap+ plugin of bugmenot, for extra info xDD

Thanks for your time people!
I'm sorry you never got an answer to this, but the question frankly isn't clear. Are you asking if it's possible to set a general "Row" command, allow each character's row ot be set independently, or have the same effect with skills specific to each character?
Sorry! I try to explain better:

Normally to change Row of each hero, you use the command ROW in the battle menu.
I need a plugin or anything, for change the row position of each hero by a skill.

With 2 skills for each hero, "Defense Position" for choose the back line of row, "Attack position" for choose the front line of row.

I hope you understand this, and thanks for your help!
Sorry Doble post!
PepsiOtaku, make the code for the plugin i need, all credit is for he, here is the code if anyone needed:


#include <DynRPG/DynRPG.h>

std::map<std::string, std::string> configuration;

int confVanguardId;

int confBackguardId;

bool onStartup(char *battle_vanguard) {

configuration = RPG::loadConfiguration(battle_vanguard);

// DynRPG.ini - header will be whatever the dll's filename is - example: battle_vanguard.dll would be [battle_vanguard]

// "VanguardSkillId=##" - Define Skill ID there

confVanguardId = atoi(configuration["VanguardSkillId"].c_str());

// "BackguardSkillId=##" - Define Skill ID there

confBackguardId = atoi(configuration["BackguardSkillId"].c_str());

return true;

}


bool onBattlerActionDone (RPG::Battler *battler, bool success)

{
if (!battler->isMonster() && success) // Ensures the below only executes of it's a hero

{
if (battler->action->kind == RPG::AK_SKILL // Ensures the the action was to cast a skill

&& battler->action->target == RPG::TARGET_ACTOR) // And that the target was a hero

{

if (battler->action->skillId == confVanguardId) // Vanguard - change 12 to the skill ID of your choice

RPG::Actor::partyMember(battler->action->targetId)->setRow(RPG::ROW_FRONT);

if (battler->action->skillId == confBackguardId) // Backguard - change 13 to the skill ID of your choice

RPG::Actor::partyMember(battler->action->targetId)->setRow(RPG::ROW_BACK);

}

}

return true;]

I compile the dll if anyone needed too, tell me!

But, if is possible, i like the plugin change the hero animation if hero is in back or front row, it is possible to do?

Thanks for help with this! And specially thanks for PepsiOtaku for make this! You are awesome man!
Pages: 1