Jump to content


Photo

Battle Weather Effecting Skills

battle feedback takeo mv

  • Please log in to reply
3 replies to this topic

#1 Takeo212

Takeo212

    Procrastination Expert

  • + Sponsor
  • 1,422 posts
  • LocationScotland
  • RM Skill - Game Developer

Posted 17 March 2017 - 01:57 PM

Hey guys.

 

my game will have alot of different regions, such as snow, marsh, saharah and foresty areas.

My discussion is about how to implement weather in a battle system such as;

If the weather is "rain" and an opponent is hit with lightning, it deals more damage, and if you use fire, it's weaker. 

Maybe even having a "thunderstorm" weather that can occassionally hit either enemy or ally, just to add a bit more threat to battles later.

 

I have a few ideas about how to do this, but it feels messy and I feel it could be done better so I want to know what you guys think :)

 

Any idea how to put in a system like this?

I have Yanfly's Troop Events active.

I also want to set up a weather system using variables (since I can use variables with skills, ect.)

0 = clear

1 = rain

2 = snow

ect.

 

I just don't know how to implement it into skills do the damage varies.

I suppose a passive state might help, like "soaked" decreases thunder defence but now sure how to apply this to every battler in battle when a certain variable is active.

 

Any ideas?



#2 lonequeso

lonequeso

    One cheese to rule them all!

  • Ace Member
  • 2,796 posts
  • LocationChicago, IL
  • RM Skill - Designer

Posted 18 March 2017 - 08:10 AM

The weather system should be simple enough. There were a bunch of Ace scripts so I'd be really surprised if there wren't any for MV. You may need a plug in for some skill effects, depending on what you're trying to do. Altering damage can be done right in the damage formula. I'm half awake and not at home so the syntax evades me right now, but it's essentially:

 

If variable001 = 1 (rain) bonus damage formula else normal damage formula

 

Shiggy actually showed my something cool in Ace, but I'm not sure if it's work in MV. I'd have to see what the line of code is, but you put it into the damage formula, and it allows you to use the notes section to write the damage formula. That gives you a ton more space to work in and you can do some pretty cool things. Obviously, you have to be good a scripting to take full advantage, but I've managed to create some cool skills that I normally couldn't. 

 

The concept is pretty cool. The Pokemon games do some fun things with weather. it adds an extra layer or strategy to the game, and I'm all about that.I just hope your battles are tougher tuna in Pokemon  ;)



#3 Takeo212

Takeo212

    Procrastination Expert

  • + Sponsor
  • 1,422 posts
  • LocationScotland
  • RM Skill - Game Developer

Posted 18 March 2017 - 09:22 AM

Hehe, my ability to maake custom battle formula's is very simplistic. I understand you can use formula's in the skill formula, but not sure how to properly add an IF branch into it. Atleast when I do it, it fails anyway.

Skill variables is why I set the weather identification to variables instead of switches since I know how to incorporate them :P

 

The more I think on this (having a status ailment be added in snow weather, adding extra damage during rain weather), I feel this may be a bit convoluted to be simply evented :/

Dangit! Gonna mess with it more after work (I should be getting dressed right now, but I really don't wanna go to work today haha. It's supposed to be my day off! *whine*)

 

I suppose if the worst comes to worst, I'll add a mod to move this to plugin requests. Considering some scripters have been quiet lately, I fear this will be over looked xD

 

By chance lone, do you know how to put an if branch into a skill formula? (I think you still use ACE, so not sure if you know MV javascript stuff xD hehe worth a shot~)



#4 lonequeso

lonequeso

    One cheese to rule them all!

  • Ace Member
  • 2,796 posts
  • LocationChicago, IL
  • RM Skill - Designer

Posted 18 March 2017 - 09:38 AM

Lol I can barely make formulas in Ace w/out my laptop exploding. I've never even touched Java Script so I'm the wrong person to ask. I'm just hoping I put enough information out there that someone will be able to piggyback off it and find a solution for you. 







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users