Hey there,
for hours I try to make my first own, useless script.
For this I used the example script out of the forum and tried to modify this for different functions.
Now I am at an angry point because my script won't load - It's same how I change the values and it's same what I wrote in, the only thing the works is "alert("text)"..
/* * @plugindesc Plugindesc * @author Autor * * @param Keine Parameter * @desc Kurzer Parameter * @default Default Value */ // Erste Funktion zur Deklarierung des Scripts (function() { var parameters = PluginManager.parameters('test'); var Scene_Title_Skipfade = Scene_Title.prototype.commandNewGame; Scene_Title.prototype.commandNewGame = function() { DataManager.setupNewGame(); this._commandWindow.close(); SceneManager.goto(Scene_Map); } })In the tutorial document I've readed that I can use any function or class and can change it how I want.
Also I tried to skip the fading effect right after starting a new game.
In the rpg_scenes.js I saw these:
Scene_Title.prototype.commandNewGame = function() { DataManager.setupNewGame(); this._commandWindow.close(); this.fadeOutAll(); SceneManager.goto(Scene_Map);};When I delete the "this.fadeOutAll();" in the rpg_scenes.js it will skipping the fading but when I activate my own script it will do nothing.. really NOTHING.
After hours I tried to copy the original tutorial script word for word (no copy paste) to my own JS-File and the same thing happens again: NOTHING happens. -.-
I noticed that the description of my JS is missing too, in the tutorial script it works fine. 🙁
Can someone explain what I do wrong?
Here's the link to the tutorial script: LINK
for hours I try to make my first own, useless script.
For this I used the example script out of the forum and tried to modify this for different functions.
Now I am at an angry point because my script won't load - It's same how I change the values and it's same what I wrote in, the only thing the works is "alert("text)"..
/* * @plugindesc Plugindesc * @author Autor * * @param Keine Parameter * @desc Kurzer Parameter * @default Default Value */ // Erste Funktion zur Deklarierung des Scripts (function() { var parameters = PluginManager.parameters('test'); var Scene_Title_Skipfade = Scene_Title.prototype.commandNewGame; Scene_Title.prototype.commandNewGame = function() { DataManager.setupNewGame(); this._commandWindow.close(); SceneManager.goto(Scene_Map); } })In the tutorial document I've readed that I can use any function or class and can change it how I want.
Also I tried to skip the fading effect right after starting a new game.
In the rpg_scenes.js I saw these:
Scene_Title.prototype.commandNewGame = function() { DataManager.setupNewGame(); this._commandWindow.close(); this.fadeOutAll(); SceneManager.goto(Scene_Map);};When I delete the "this.fadeOutAll();" in the rpg_scenes.js it will skipping the fading but when I activate my own script it will do nothing.. really NOTHING.
After hours I tried to copy the original tutorial script word for word (no copy paste) to my own JS-File and the same thing happens again: NOTHING happens. -.-
I noticed that the description of my JS is missing too, in the tutorial script it works fine. 🙁
Can someone explain what I do wrong?
Here's the link to the tutorial script: LINK