Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Elementally Changing Boss

Alright, you know how certain elemental damage is stronger than others with different enemies? Would it be possible for an enemy to change it's elemental weaknesses and strengths each turn? So, for example, an enemy has four possible elemental configurations, and it would randomly cycle through them at the end of every turn (possibly it would change it's graphic corresponding to the element). Could this be done with events? If not, I'll make another topic in Script Requests. Again, I'm using VX. Thanks! :smile:
 
Hmm, try one of two methods.

1. Using states, you can add elemental defense. The downside to this, though, is that you can only add elemental defense, you can't remove them (at least, that's what it's like on XP, may differ since you're using VX).

2. You can also try creating 4 of the same enemy, except with different element configs. Then use the command "Enemy Transform" to cycle between enemies. I'm not sure how this'll work, though, or if the command's even in VX at all.

If neither work, I can move this to SR for you.
 
The second one seems to work, but now I have more questions. :dead:
1. Can I still change variables in battle?
2. I had the idea that it would have 25% chance (by manipulating variables) as to which element it would switch to, but I didn't want it to have the same element two turns in a row. How might I event this then?
Thanks!
 
Using random variables, you would set a switch telling which form it is on. Then you would make a conditional branch for each form, and then you would randomize the variable 0-(# of forms - 2), and choose a form for each one, not including the current one. Then for each one you'd turn off the current switch and change it to the appropriate one.

I made a demo, I'm uploading it right now.
 
A demo? That might be nice, goldenryu.
Twin Matrix":24gjlbmo said:
With transform enemy, doesn't he/she recover HP? Which would kind of make the boss unbeatable?
I'm not absolutely sure about this yet. I'll wait until the demo is uploaded and see for myself. :smile:
 
I messed up so I have to re-upload it. It will be done (hopefully) in a minute or two.

@Twinmatrix - The enemy does not recover HP. Not in VX, not in XP (maybe in 2k/3). Although if it did, the you could take Guardian1239's example.

I'm having trouble uploading it. Where could I upload it besides Rapidshare or Megaupload?
 
It only takes about 4 minutes if you copy and paste. Also, it is IMPERATIVE you set it to turn, not battle, otherwise it will do some funky things: It won't always change, it'll use spells its other forms have, etc.

I think I'm going to make a tutorial on this in the Tutorial forum. Don't steal my idea!
 
The real trouble is in changing the switches it's working off of, as those switches are already being used. Well, this certainly would be useful on the tutorial board, go right ahead! :smile:
Question: How do I make the enemy change elements every turn, instead of just the first?
 
It changed elements every turn in the demo. If not, make sure the Span is set to Turn like I said.

OOPS: I messed up on the enemy transform for the water form in the demo. For the Random=2, change the destination enemy to 4. Magic Slime.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top