PluginName: SDJB_CheatEngine
Author: ShadowDragon
===
TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
Version + UPDATE'S
3-08-2023 Version 0.1.0 first release
5-09-2023 Version 0.2.0 modified to work with
SDJB_AlertConfirmPrompt
===
WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
This plugin can enable CheatCodes (excludes, but 1 example in the helpfile)
This Plugin works in MV and MZ.
You can create Battle Codes and Map Codes, be it for showing hidden
chests or open doors or something else!
You can even create CheatCodes!
Kill the entire group of enemies or make your player immune to Damage!
The possibilities are endless.
Besides, noone will know the "CODES" to activate it ^^
Do you have codes for Battle or Map, let me know in the commonts,
same for bugs/glitches etc.
should not conflict with any plugin, but place it on the bottom to use other plugins devs
codes if needed.
Download from itch
Spoiler: Map Codes
Simple Game Message
JavaScript: - let msg = "Do you like this \\c[11]CheatEngine\\c[0]\n"
- let msg += "\n"
- let msg += "Wait, what was the code again?"
- $gameMessage.add(msg);
复制代码
Dont know Javascript? no worries, you can event it from a Common Event!
Just use the Common Event ID and your good to go ^^
JavaScript: - $gameTemp.reserveCommonEvent(ID);
复制代码
Spoiler: Battle Codes
This Code eliminate the entire group of enemies.
JavaScript: - $gameTroop.members().forEach((enemy) => {
- enemy.die();
- enemy.refresh();
- if(enemy.performCollapse) enemy.performCollapse();
- })
- BattleManager.processVictory();
复制代码
to extend the above code.
JavaScript: - let maxUses = $gameVariables.value(ID)
- if (maxUses > 2) {
- alert("You use it to many times, try again later!") // if you can reset the variable
- } else {
- $gameTroop.members().forEach((enemy) => {
- enemy.die();
- enemy.refresh();
- if(enemy.performCollapse) enemy.performCollapse();
- })
- $gameVariables.setValue(ID, $gameVariables.value(ID) + 1);
- BattleManager.processVictory();
- }
复制代码
or if you have my SDJB_AlertConfirmPrompt plugin, you can adjust the Alert box
which you may use "onAccept" function of the acp to reset dmg the player for abusing it.
JavaScript: - let maxUses = $gameVariables.value(ID)
- if (maxUses > 2) {
- acp.open({
- title: "Max uses reached",
- message: "You use it to many times, try again later!"
- })
- } else {
- $gameTroop.members().forEach((enemy) => {
- enemy.die();
- enemy.refresh();
- if(enemy.performCollapse) enemy.performCollapse();
- })
- $gameVariables.setValue(ID, $gameVariables.value(ID) + 1);
- BattleManager.processVictory();
- }
复制代码
本贴来自国际rpgmaker官方论坛作者:ShadowDragon处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/sdjb_cheatengine.159988/