Status
Not open for further replies.

McStinson

Villager
Member
Joined
Jan 9, 2014
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Hi.

I am trying to creat a state like the instant death in the FF series but for some reason, I can't do it.
Just using the standard *death* state in a skill doen't work, the enemy doesn't die, he just can't move anymore.
Using a unique ellement doesn't work the way I want either, for that to work, all the skill that cause instant KO have to be of that element and I don't want that, I just want a normal effect that I can add to the skills that I want to.

Does any of you guys know how to do this?

I just want to create a regular skill that can deal damage and has a "x %" chance of killing the target.

It doesn't sound too hard but I can't figure it out.

thanks for your help.
 

Kwerty

Veteran
Veteran
Joined
Feb 22, 2014
Messages
385
Reaction score
619
First Language
English
Primarily Uses
RMMV
Hmm.. I'm sure there is a way of doing this as you need.

But wouldn't you be happy with just having a skill with a huge attack rating and 100% success of landing?

Then you could just set this skill to whatever turn number you wish.

That would be easy enough and surely your character wont have 9999 health?? Even if he does, you could repeat the action.
 

McStinson

Villager
Member
Joined
Jan 9, 2014
Messages
12
Reaction score
0
First Language
English
Primarily Uses
That much i know how to do but that's not really what I want.

Only a instant KO state can do that.
For example, I can have a skill that deals damage and also can KO a character with "x %" chance. Also, by making an enemy imune to that state, he will still recieve the damage but would't be affected by the instant KO part.
 

Imploded Tomato

Veteran
Veteran
Joined
Sep 16, 2012
Messages
161
Reaction score
56
First Language
English
Primarily Uses
I've done this before using a skill that had a small chance to add a instant death state. It's very simple actually and all you have to do is open the database and head to the skills tab. Add or modify the existing skill by simply adding a death state (With a 15% chance or whatever you want to use) to the effects.
 
Last edited by a moderator:

McStinson

Villager
Member
Joined
Jan 9, 2014
Messages
12
Reaction score
0
First Language
English
Primarily Uses
That doesn't work. If you apply the default death state to a target that doesn't have 0 HP, he doesn't die, he just can't act anymore.

That was the first thing I tried.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,652
Reaction score
437
First Language
Portuguese
Primarily Uses
RMMV
Just tested it in my project and it killed the opponent instantly.
Must be something with a script you added/played with...
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,006
First Language
Tagalog
Primarily Uses
RMVXA
yeah, last time I did it, adding death state (State number 1) does kill the enemy...


anyways you could always just deal damage equal to their max hp via using this formula on the damage formula

Code:
b.mhp
if you need chance
Code:
if rand(100) < chance; then; b.mhp; else; end;
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,201
Reaction score
853
First Language
Hungarian
Primarily Uses
RMVXA
No idea if it counts as a necropost, but I will try my luck here. 

So, I got the same problem with this instant death thing.

Just by seeing this topic here, I finally realized that it is not a default program behavior, so thanks for this!

Also thanks for the above formula! That should work pretty well, but how could I turn the damage number display off if the randomizer check returns true (aka, when the instant KO should apply)? 

I don't want my players to see the exact HP of the enemy, and that would just look not so "decorative" in an RPG game, in my opinion.

Anyway, another problem would be making resistances to it and variable chances for it to happen based of the equipment equipped on the player. This could be done with some eventing, I know that, but it would (most probably) require some parallel processes and my game actually uses A LOT of them already in huge puzzles, so I would want to minimize parallel processes as much as I can.

And my final problem would be showing the resistance and infliction rate on the status screen (I'm using Blackmorning's elemental status addon script for that), and I'm very picky about this one especially.

So adding all this up, and my new-found knowledge that this is a problem generated by a custom script (which I have A LOT also - over 200 and still not finished with them yet), I decided that the best way to fix our issue would be to patch that problematic script. So, can I ask you which custom scripts are you using? If you have a shorter list than me (which is very possible :D ), it would speed the fix up for both of us. 

Also, could anyone tell me where to look for the "apply.death?" (i just made this up, no idea how it actually looks in the code itself) state? Or where is the check for it? I just assume that it's name includes "death" or "dead" or something similar. 

I made a lot of compatibility patches and many edits to custom scripts made by others (visual and functional edits too), but when it comes to battle scripts, I am clueless, especially because I'm using Battle Symphony with an active time battle addon, with active button inputs, and many other minor changes, which just made my battle scripts around 12000x more complicated. >.>

Alright, enough with the wall of text, right? :p

Thanks for the help in advice, and sorry about the big wall of text!
 

McStinson

Villager
Member
Joined
Jan 9, 2014
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Thank you guys for the help but I still can't do it the way I want.
But I found something.

Isn't it possible to use the  "Yanfly Engine Ace - Lunatic States" script to do this?

I should be abble to create a state and use the tag  <apply effect> to cause the target damage equals to 100% of its HP.

I think that this would solve everything, it would be exactly what I want. I could creat the "Instant KO" state and add it to some skills and some enemies could be imune to it without being imune to the standard KO state.

This would be perfect, the only proble is, this script is a little to advanced for me. I'm sure that it does what I need but I need to write a string that causes the target 100% of HP in damage and I have no clue how to do that.

Can you help me? Shoul I post this in another place of the forums?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,987
Reaction score
8,625
First Language
German
Primarily Uses
RMMV
Just using the standard *death* state in a skill doen't work, the enemy doesn't die, he just can't move anymore.
It should work that way, that's what that state is created for.
Do you have any scripts that might have changed that?


Did you change anything on the state #1?


How did you try to apply the death state with a skill? Please give a screenshot of skill and state if possible
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,201
Reaction score
853
First Language
Hungarian
Primarily Uses
RMVXA
Ohh, I totally forgot this topic.

Anyway, I got it to work and it was Yami's Battle Symphony that made it impossible to add death state to any kind of attacks by default methods.

If you want to add death state to skills with Symphony, you need to include this in the skill's notebox:

<target action>

immortal: targets, false

skill effect: whole

</target action>

 

For some reason, Symphony switches the 'immortal' state on by default, and it needs to be switched off manually with the designated notetag (shown above) at the skills in order to be able to add death state with normal methods.

 

So don't forget to add those lines for every "deadly" skill if you want to trigger death state with them!

 

But do note:

With this, all of the default animations assigned to the skills from the database are erased! You need to make/trigger everything with symphony tags, including animations, movements, effects, etc.
 

Iceshattered

Warper
Member
Joined
Aug 21, 2014
Messages
2
Reaction score
1
First Language
English
Primarily Uses
Ohh, I totally forgot this topic.

Anyway, I got it to work and it was Yami's Battle Symphony that made it impossible to add death state to any kind of attacks by default methods.

If you want to add death state to skills with Symphony, you need to include this in the skill's notebox:

<target action>

immortal: targets, false

skill effect: whole

</target action>

 

For some reason, Symphony switches the 'immortal' state on by default, and it needs to be switched off manually with the designated notetag (shown above) at the skills in order to be able to add death state with normal methods.

 

So don't forget to add those lines for every "deadly" skill if you want to trigger death state with them!

 

But do note:

With this, all of the default animations assigned to the skills from the database are erased! You need to make/trigger everything with symphony tags, including animations, movements, effect
THANKS! I was really looking around for this :D
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
12,002
First Language
English
Primarily Uses
RMVXA
Iceshattered, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,103
Messages
1,095,804
Members
151,493
Latest member
xuincy
Top