SRPG Studio

SRPG Studio

billy.gil Apr 10, 2019 @ 9:28am
Create wall or door that can be broken
Hi, is there a way to create a wall or door that can be broken open? It would have HP and be able to be destroyed like in FE games, maybe also opened by key (although that part isn't as important to me for this).
< >
Showing 1-5 of 5 comments
Goinza Apr 10, 2019 @ 12:34pm 
I haven't tried it myself, but what you could do is create a unit with the wall sprite, and making an enemy unit when your turn begins, and then making it a player's unit when the enemy phase starts.
Also, you would need to make a custom Support skill to give it -100 avoid and +100 critical avoid, so the unit that attacks the wall always hits and never does a crit.
Gathering Dust Apr 10, 2019 @ 4:00pm 
Gate & Wall Enemies
1. Create the necessary sprites for gate and wall enemies and import them. (All very easy to do)
2. Create the class/classes for the units and place the units.
3. Make sure to remove any weapons, then set all stats other than HP and defence to 0. (Defence can be used to make the gate or wall seem reinforced)
4. Create the support skill as mentioned by Goinza and add it to the skills of the class/classes.

Unlock Function
1. Create a door event on the enemy unit.
2. Set the event condition to the enemy unit being alive.
3. Add a remove unit command for the enemy unit.

I just did all this recently and then tested it multiple times to make sure it all worked properly. This process could either be very hard, or very easy depending upon how much experience you have with this application.
billy.gil Apr 15, 2019 @ 11:52am 
Thanks for the explanation. It sounds like a bit of a pain, but mostly the sprite portion. I'm comfortable with the event creation but less so with creating sprites. It would need battle animations as well for the system to recognize it correctly, right? If anyone has door/wall sprites they'd like to share, I'd greatly appreciate it!
Gathering Dust Apr 15, 2019 @ 12:56pm 
I'm not exactly sure what you meant by battle animations.

You would only need the sprites, no battle motion frames are needed to recognise them. Even if real battle is enabled, attacks against gates and walls would take place on the map.
Windshipping Apr 19, 2019 @ 10:08am 
I did it in my game, what I did was simpler, I simply put an event on a wall I wanted to be broken.
It doesn't display hp and you don't technically hit it, but you can set up conditions so that it break only if your unit has a specific level or STR stat (or make some unit open it and other not).

It works fine.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Apr 10, 2019 @ 9:28am
Posts: 5