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,128
Reaction score
11,505
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
1,717
Reaction score
1,166
First Language
EN
Primarily Uses
RMMV
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 Posts

Latest Profile Posts

Anyone know/remember Mummy's Tomb / Crystals of Zong for C64? Trying to recreate it for One Map Challenge. Fun. And ... er ... challenging!


Listen.. I er... caught the live stream. :LZSwink:
The MZ first look stream was quite good. Looks like we get a lot of generator parts right off the bat this time around. Lots of cool clothes, helmets, facial marks, etc. Looking forward to playing around with it. :)
Any tips on how to share resources in here? Should I upload them in a image hosting site or Google Drive?
That moment when you realize your game size without the sound is 51.1 MB.... But with it (unoptimized as it is) it's 156 MB.... I guess it's time to do a bit of sound optimizing. :kaoswt: Also I learned that deployed for Windows it's 308MB... Apparently MV adds a pretty hefty helping of stuff on deployment. :kaoback:

Forum statistics

Threads
100,821
Messages
979,951
Members
132,468
Latest member
BaileyJayC2000
Top