Euphoria - Threat System

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Threat System V1.4

by Euphoria



Introduction:

This script adds a "threat gauge" to each actor in battle, you can note tag skills to generate different amounts of threat. The actor with the highest threat level will be the target of enemy attacks.

Features:

Threat Gauge In Battle

Note Tags For Skills/Items To Add Threat

Enemies Target Highest Threat

Two Choices Of Allowing Random Attacks

Settings To Change Frequency Of Random Attacks(if enabled)

Icon View Option Enables Icons To Represent Threat Rather Than A Gauge

Note Tags For States To Add Threat

Buffs/Debuffs Can Add Threat Based On Buff/Debuff type

Non-Damaging Skills Can Now Add Threat Too

Notice Any Errors?

If you notice any errors or have any suggestions for this script, feel free to comment them here or on my website, thanks!

Special Thanks:

Fomar0153 (Idea and Segment of Code)

TheoAllen (Help Resolving Issues With Code)

bloodyliao (bug reports)

Credits:

Credit me (Euphoria) if you want to use this script. The rest of the terms of use are in the scripts header.

Download Here
 
Last edited by a moderator:

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
V1.1 adds compatibility with Yanfly's Battle Engine, although the name "Threat" is too long for Yanfly's HUD's gauges, so it was turned to "TH" but ONLY if you have the Battle Engine.
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
V1.2 adds in two new options: random_chance and random_number. Random_chance, if set to true, will allow the enemies to target randomly(the normal way) sometimes. MOST attacks will still be aimed at the highest threat, but some can be random now. Random_number is a number that you can adjust to change the rate of random attacks. The higher you set this number, the lower the chances of a random attack will be.

Edit:

V1.3 adds ICON_VIEW, which allows the user to specify icons to be shown (rather than the gauge) to represent threat levels.
 
Last edited by a moderator:

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
1.4) States can now give/take threat, DEFAULT_STT is the amount used by states that are untagged. Skills/attacks with no  damage now add to threat IF they have valid effects (add a state or buff/remove a state or buff, etc). Buffs and debuffs can also give/take threat now through the variables DEFAULT_BF and DEFAULT_DB, or individually through the buff and debuff settings if IND_BF_RATE and IND_DB_RATE are set to true. RANDOM_CHNC has been changed to allow three  different styles of battle. All threat values can be be negative!
 
Last edited by a moderator:

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
Glad to hear it's useful and that I didn't spend all morning coding it for nothing :)
 

Setheim

Veteran
Veteran
Joined
Nov 7, 2013
Messages
54
Reaction score
20
First Language
Spanish
Primarily Uses
This is just so amazing, was looking for something like this for so long.

Just one question, is there any way to make it work all behind the scenes? I don't want any gauge for it. 

Thanks!
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
This is just so amazing, was looking for something like this for so long.

Just one question, is there any way to make it work all behind the scenes? I don't want any gauge for it. 

Thanks!
Updated with HIDE_GAUGE option. Just re-download it.

Note:

Make sure you don't try to show both icons and the gauge or it will give you an "error" ;)

(meaning: do NOT set ICON_VIEW = true, and HIDE_GAUGE = false, it will not work in your favor)
 
Last edited by a moderator:

Setheim

Veteran
Veteran
Joined
Nov 7, 2013
Messages
54
Reaction score
20
First Language
Spanish
Primarily Uses
Thank you very much! Time to test it.
 

bebetoc

Villager
Member
Joined
Sep 27, 2012
Messages
23
Reaction score
5
First Language
serbian
Primarily Uses
Hi euphoria great script just what i was looking for !! But i have small problem... for me it doesnt show threat gauge in game even though i have

HIDE_GAUGE = false setting...it just shows my tp gauge insted.
 

Euphoria

Veteran
Veteran
Joined
Jun 27, 2013
Messages
378
Reaction score
93
First Language
English
Primarily Uses
TP has to be set to false in the database in the current versions of this script. If that isn't in the instructions, I apologize. I keep finding that I missed a lot of stuff in those instructions >_<

Edit: If anyone was having problems with states adding threat, it is fixed now, just redownload the script. If you weren't having problems, you probably already have the fixed version as I am saying this late.
 
Last edited by a moderator:

bebetoc

Villager
Member
Joined
Sep 27, 2012
Messages
23
Reaction score
5
First Language
serbian
Primarily Uses
ah yes ty for fast repply , done and its working perfect !
 

Danstandard

Warper
Member
Joined
Jun 17, 2014
Messages
2
Reaction score
0
First Language
Finnish
Primarily Uses
Is there any way you could make an alternate version of the script where Threat replaces MP instead of TP? You mentioned that possibility in the RMRK thread.

I posted there as well, but you don't seem to be active. Sorry for the hassle.  :(
 

BardAaron

Veteran
Veteran
Joined
Apr 30, 2015
Messages
46
Reaction score
15
First Language
English
Primarily Uses
Is there a way to make each enemy judge threat individually?  I would like a system where if there are, for example, 3 party members, and 3 enemies in one fight, and each party member attacks a different enemy, that enemy would view the character who attacked it as the greater threat, even if another had dealt more damage.  If two or more characters attacked the same enemy, it would judge threat between them normally, to prioritize which to attack.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top