Changing combat target indicator?

Murg1

Villager
Member
Joined
Feb 27, 2019
Messages
20
Reaction score
1
First Language
English
Primarily Uses
RMMV
Does anyone know how to change the way the target indicator works in sideview battle?

Currently when I target an enemy, it just flashes a subtle white. I would like to change it to make it more obvious.

If you don't know how to do it exactly, does anyone know where in the JS files the target indicator is set? I can try fiddling around from there.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,715
First Language
English
Primarily Uses
RMVXA
I'll move this initially to JS Plugin Requests to see if anyone can just tell you what to do. If later on you decide that you to fiddle around with it yourself, it will have to go to Javascript/Plugin Support.

[mod]Moving this.[/mod]
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,222
Reaction score
1,630
First Language
EN
Primarily Uses
RMMZ
The white flash is handled via Sprite_Battler's updateSelectionEffect method (rpg_sprites.js):
Code:
Sprite_Battler.prototype.updateSelectionEffect = function() {
    var target = this._effectTarget;
    if (this._battler.isSelected()) {
        this._selectionEffectCount++;
        if (this._selectionEffectCount % 30 < 15) {
            target.setBlendColor([255, 255, 255, 64]);
        } else {
            target.setBlendColor([0, 0, 0, 0]);
        }
    } else if (this._selectionEffectCount > 0) {
        this._selectionEffectCount = 0;
        target.setBlendColor([0, 0, 0, 0]);
    }
};

There are plugins available that grant battle cursor options, e.g.
 

Murg1

Villager
Member
Joined
Feb 27, 2019
Messages
20
Reaction score
1
First Language
English
Primarily Uses
RMMV
Awesome. Thanks guys/gals.
 

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

Latest Threads

Latest Profile Posts

Who would think putting a power button on a side of a laptop is a good thing? You want to move the laptop and you suddenly press the button.
The second draft of my script is almost done, and I don't think I'm going to write a third draft. I'll make changes to dialogue here and there, but I'm happy with the series of events the way they are.
How you feel about font and dialogue box changing for every main character while the minor cast and regular npc get their own styles? Too much?
Just found an obviously custom effect (i.e. edited by me) in my resources>sounds folder called "rip jaw off". Dear Lord what is wrong with me as a person that at some point I needed a sound *specifically* for THAT??
(...rhetorical question.)

Forum statistics

Threads
107,526
Messages
1,030,258
Members
139,651
Latest member
Molerat05
Top