MZ ARPG plugin by rpg maker mz

Is there a way to change the sprites for enemies? I've been exploring the parameters and common events but i couldn't find where they set the sprites for the enemies, also if there's is a tutorial you know please comment the link xD I've been studying this plugin but because I'm a newbie on this engine I'm having a hard time understanding things in this plugin
Moved to: Plugin Support
Personally I think it may be hard to understand everything if you're new in RM. If you undestand default engine itself, it's much easier to get it. I'm not sure I understand you, but in ARPG plugin enemies are "on maps", like in ABS, so you just need to change event graphic and that's all.
In the plugin parameters you define a map where to call/copy the enemies (if you just start editing the demo project, everything is already defined). Then you make the enemy events on that defined map (also select the sprites). And then use the copy notetag (check demo project map enemies) with the enemy name on your game map events to call the enemy.
I've already solved the problem regarding the enemy sprites the only thing that bothers me is that where can i find the slash effect thing when it swings the sword xD and also is it possible to add some animation such as idle frames or actions?
thanks for the reply everyone, really appreciated it, it so hard to develop a game alone without someone to relay onto xD
I've already solved the problem regarding the enemy sprites the only thing that bothers me is that where can i find the slash effect thing when it swings the sword xD and also is it possible to add some animation such as idle frames or actions?
*I've tried various plug-ins that has an animation such as AnimaX by kagedesu and character frames by galvs but both doesn't work properly xD
Yeah, some of the plugins may be incompatible with each other.
Btw please do not double-post, if you need to post another though while the last post in topic is yours, use "Edit" button bellow your messages.

If I remember correctly, weapon animations is located in common events.
Yeah, some of the plugins may be incompatible with each other.
Btw please do not double-post, if you need to post another though while the last post in topic is yours, use "Edit" button bellow your messages.

If I remember correctly, weapon animations is located in common events.
ohhh sorry I'm new on using forums i don't know how to properly use this yet xD. I've explored the weapon animation on the common events but all i found is the graphics for the weapon I don't know where to find the slash thingy or maybe i just dont know what does it called in common event.
The weapon’s slash is part of the image. The whole thing is pulled from the sv weapons sheet.
The weapon’s slash is part of the image. The whole thing is pulled from the sv weapons sheet

The weapon’s slash is part of the image. The whole thing is pulled from the sv weapons sheet.
umm but there's a time where i set weapon image ID to 0 the weapon graphics disappeared but the slash effects didn't
I think the weapon's slash is hardcoded into the plugin. It is the same for all the weapons (it draws the slash for bows etc), unless I'm completely mistaken. I think the part of the code in the plugin that draws the slash is this (at least I could change its color by changing the gradient color codes in the bottom part):

Spoiler
// ts/ARPG_WeaponAnimation/Sprite_SwordAnimation.ts var Sprite_SwordAnimation = class extends Sprite_ParticleAnimation { initialize() { super.initialize(); this._end = false; this._time = 0; this._count = 0; this._maxCount = 48 * 2; this._sprites = new Array(this._maxCount); for (let i = 0; i < this._maxCount; i++) { const rate = i / this._maxCount; const x = -Math.sin(rate * Math.PI) * 64; const y = i; const len = Math.sin(rate * Math.PI) * 32; const lifespan = 16; const sprite = new SlashSprite(len, lifespan); this._sprites[i] = sprite; sprite.x = x; sprite.y = y - 64; sprite.hide(); this.addParticle(sprite); } } update() { super.update(); if (this._sprites.every((s) => s.isEnd())) { this.end(); return; } for (let i = 0; i < 10; i++) { this.updateAnimation(); } this._time++; } updateAnimation() { if (this._count >= this._maxCount) return; const sprite = this._sprites[this._count]; sprite.show(); this._count++; } }; var SlashSprite = class extends Sprite { constructor(...args) { super(...args); } initialize(...args) { super.initialize(); const [len, lifespan] = args; this._len = len; this._lifespan = lifespan; this._time = 0; const bitmap = new Bitmap(len, 1); const ctx = bitmap.context; const grd = ctx.createLinearGradient(0, 0, len, 1); grd.addColorStop(0, "#8888ff"); grd.addColorStop(0.05, "#ffffff"); grd.addColorStop(0.75, "#8888ff"); ctx.fillStyle = grd; ctx.fillRect(0, 0, len, 1); this.bitmap = bitmap; } update() { super.update(); this.opacity = Math.floor((1 - this._time / this._lifespan) * 255); this._time++; if (this.isEnd()) this.hide(); } isEnd() { return this._time >= this._lifespan; } };
I think the weapon's slash is hardcoded into the plugin. It is the same for all the weapons (it draws the slash for bows etc), unless I'm completely mistaken. I think the part of the code in the plugin that draws the slash is this (at least I could change its color by changing the gradient color codes in the bottom part):

Spoiler
// ts/ARPG_WeaponAnimation/Sprite_SwordAnimation.ts var Sprite_SwordAnimation = class extends Sprite_ParticleAnimation { initialize() { super.initialize(); this._end = false; this._time = 0; this._count = 0; this._maxCount = 48 * 2; this._sprites = new Array(this._maxCount); for (let i = 0; i < this._maxCount; i++) { const rate = i / this._maxCount; const x = -Math.sin(rate * Math.PI) * 64; const y = i; const len = Math.sin(rate * Math.PI) * 32; const lifespan = 16; const sprite = new SlashSprite(len, lifespan); this._sprites[i] = sprite; sprite.x = x; sprite.y = y - 64; sprite.hide(); this.addParticle(sprite); } } update() { super.update(); if (this._sprites.every((s) => s.isEnd())) { this.end(); return; } for (let i = 0; i < 10; i++) { this.updateAnimation(); } this._time++; } updateAnimation() { if (this._count >= this._maxCount) return; const sprite = this._sprites[this._count]; sprite.show(); this._count++; } }; var SlashSprite = class extends Sprite { constructor(...args) { super(...args); } initialize(...args) { super.initialize(); const [len, lifespan] = args; this._len = len; this._lifespan = lifespan; this._time = 0; const bitmap = new Bitmap(len, 1); const ctx = bitmap.context; const grd = ctx.createLinearGradient(0, 0, len, 1); grd.addColorStop(0, "#8888ff"); grd.addColorStop(0.05, "#ffffff"); grd.addColorStop(0.75, "#8888ff"); ctx.fillStyle = grd; ctx.fillRect(0, 0, len, 1); this.bitmap = bitmap; } update() { super.update(); this.opacity = Math.floor((1 - this._time / this._lifespan) * 255); this._time++; if (this.isEnd()) this.hide(); } isEnd() { return this._time >= this._lifespan; } };
ohhhh thank youu this helps a lot :MV1:
I think the weapon's slash is hardcoded into the plugin. It is the same for all the weapons (it draws the slash for bows etc), unless I'm completely mistaken. I think the part of the code in the plugin that draws the slash is this (at least I could change its color by changing the gradient color codes in the bottom part):

Spoiler
// ts/ARPG_WeaponAnimation/Sprite_SwordAnimation.ts var Sprite_SwordAnimation = class extends Sprite_ParticleAnimation { initialize() { super.initialize(); this._end = false; this._time = 0; this._count = 0; this._maxCount = 48 * 2; this._sprites = new Array(this._maxCount); for (let i = 0; i < this._maxCount; i++) { const rate = i / this._maxCount; const x = -Math.sin(rate * Math.PI) * 64; const y = i; const len = Math.sin(rate * Math.PI) * 32; const lifespan = 16; const sprite = new SlashSprite(len, lifespan); this._sprites[i] = sprite; sprite.x = x; sprite.y = y - 64; sprite.hide(); this.addParticle(sprite); } } update() { super.update(); if (this._sprites.every((s) => s.isEnd())) { this.end(); return; } for (let i = 0; i < 10; i++) { this.updateAnimation(); } this._time++; } updateAnimation() { if (this._count >= this._maxCount) return; const sprite = this._sprites[this._count]; sprite.show(); this._count++; } }; var SlashSprite = class extends Sprite { constructor(...args) { super(...args); } initialize(...args) { super.initialize(); const [len, lifespan] = args; this._len = len; this._lifespan = lifespan; this._time = 0; const bitmap = new Bitmap(len, 1); const ctx = bitmap.context; const grd = ctx.createLinearGradient(0, 0, len, 1); grd.addColorStop(0, "#8888ff"); grd.addColorStop(0.05, "#ffffff"); grd.addColorStop(0.75, "#8888ff"); ctx.fillStyle = grd; ctx.fillRect(0, 0, len, 1); this.bitmap = bitmap; } update() { super.update(); this.opacity = Math.floor((1 - this._time / this._lifespan) * 255); this._time++; if (this.isEnd()) this.hide(); } isEnd() { return this._time >= this._lifespan; } };
I don't understand why they would hardcode that weapon slash, locking away any customizability. Did you ever discover a way to change it in the plugin, rather than the code?
@IndividuallyWrapped , 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.

Original thread: https://forums.rpgmakerweb.com/threads/arpg-plugin-by-rpg-maker-mz.157790/