Event Transform Using Self Switch Glitch

Status
Not open for further replies.

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
First, I want to say I am not used to being on forums so please excuse me and correct me if I say/do something wrong so I can avoid it in the future. That said, here is my issue:

I set up events for enemies that have dialogue and then display an animation and then visually transform before initiating the battle. I have it set up using a self switch to change the event image. The issue is that some of the transformed images are randomly replaced with other images from the same sprite sheet. (i.e. Chimera is Cerberus instead.) I am using the same event process for harvesting items in a different area that does the exact same thing. I am not sure what I am doing wrong.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
The problem is the image will be facing the same way the original image was before the transformation. So if your original image is facing UP, then the transformed image will use the image for facing UP, which is the last row of the spritesheet.

For reference, the image and directions work as follows:

First row: DOWN
2nd row: Left
3rd row: Right
4th row: UP.

So you need to have the image face the direction of the row the image is in. For the example you mentioned, it is showing Cerberus as the original image was facing Right, so it is being told to use row 3 of the new image. You can fix it by having it turn down first, then it will use row 1.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You could just use a Set Movement Route > Change Graphic command to select a different character sheet, or simply Set Movement Route > Turn <direction> to make it show the correct row of sprites as indicated above, rather than using self switches & extra event pages.
 

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Oh i see! I was unaware that the move routes were pointers to locations on the sprite sheet. I will try to fix it now. Btw, where would I find posts for damage formulas? I seem to be having quite a lot of trouble with frequent misses and I have cove3red all the basic troubleshooting steps I think.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
There is quite a common thread in this forum about damage formulae. It should be pinned...however what you write in the damage formula is basically ruby. If you miss things you can press F1 and check everything under Ruby Syntax. It covers pretty much everything you need to use in damage formulae.

Of course that's not everything you have to know about ruby if you want to achieve something more complex like a script but I am quite confident you will find it useful in your situation.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Plus, misses are due to your to hit rate, not the damage formula. So make sure to check your to hit rate and the target's EVA, as the game rolls once to see if you hit, then once to see if the enemy dodges (so 95% to hit and 5% EVA gives the attack 2 chances to miss, once on the check to see if you hit, and once on the EVA check).
 

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
There is quite a common thread in this forum about damage formulae. It should be pinned...however what you write in the damage formula is basically ruby. If you miss things you can press F1 and check everything under Ruby Syntax. It covers pretty much everything you need to use in damage formulae.

Of course that's not everything you have to know about ruby if you want to achieve something more complex like a script but I am quite confident you will find it useful in your situation.
Thank you so much! I found it to be very helpful!
 

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Plus, misses are due to your to hit rate, not the damage formula. So make sure to check your to hit rate and the target's EVA, as the game rolls once to see if you hit, then once to see if the enemy dodges (so 95% to hit and 5% EVA gives the attack 2 chances to miss, once on the check to see if you hit, and once on the EVA check).
all of my actors/classes/enemies and weapons have HIT 100% and no evasion param. Is that possibly a reason for the frequent misses?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Perhaps a new thread, seeing as this has nothing to do with your original question (which we don't know if you still need help with or not) ...
 

Raikiri91

Villager
Member
Joined
Aug 30, 2014
Messages
23
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Perhaps a new thread, seeing as this has nothing to do with your original question (which we don't know if you still need help with or not) ...
Oh I am very sorry. My issue was resolved. I will start a new thread. How to I close this one?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


You report it and ask us to close it. But, since I saw it I'll close it this time.
 
Status
Not open for further replies.

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

Latest Threads

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,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top