Using a Script

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
I have Nicke's XS-Pre Title script and I was trying to test it out, but I'm not exactly sure how to activate it. I put it in my script editor along with Nicke's XS-Core script and I'm also using Yanfly's Ace Equip Engine (but I don't think that would affect anything). Anyways, I'm not 100% familiar yet with scripts and I am unsure by the instructions how or what I am supposed to change to get the script to work. It looks to me like there is an example ready to work in the script, but nothing appears before my Title screen (or after) so I'm assuming there is something I need to adjust first. Is anyone familiar with this script at all? Here is the link in case anyone wants to look:





EDIT: P.S. I hope this is the right forum. And thanks in advance for any help!
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
This tutorial is not specific for your case, but it should contain everything you need:
 

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
This tutorial is not specific for your case, but it should contain everything you need:


Thanks Andar, the tutorial looks very well done, but it hasn't really helped me. Everything it mentions trying that pertains to basic script problems, I've already tried. The script says to have latest version of XS-Core, I already had that in. I tried taking it out, get the error message to have the Core. I tried placing Core under and above Pre Title, but nothing. I think I am supposed to configure the script in some way, but am not sure how. Is there a spot in the forums that I can ask about the specifics of this script, or am I in th eright place already?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
If it doesn't work, you have to follow it into the bughunting points.


Have you tried to get it working in a new project without any other scripts? That is what you need to do now, to make sure that it is not an incompatibility with a different script that's causing the problems.
 

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
Have you tried to get it working in a new project without any other scripts?
Yes. I've done that. I started a brand new project just so I could try out all these scripts I'm looking at and I didn't want to accidentally ruin my game. The XS-Pre Title script only requires the XS-Core and as I mentioned, I even tried taking out the Core script (that's when I get an actual error message). With only the two scripts in a brand new game, I don't get any error messages and it goes straight to the title screen.


Bughunting: 15) Using a Clean Project. As said, I am doing this one already. "If you can't get it to work in a clean project, it's probably your fault." I totally agree and think it is my problem; I can't figure out exactly what part of it I am supposed to configure.


16) Identifying Crashing Scripts. My problem is it doesn't crash or give error messages (unless I take out the Core script).


17) Problem Scripts without Crash. I only have the Core script and the Pre Title script. Taking out the Core script gives the error message.


18) Script Order. I have tried switching the script order, but nothing changes.


19) Request patches. I'm running Windows 8 and every other comment on the script page says nothing about any problems with the script. I'm getting no error messages to post and there are no screen shots to post since nothing actually happens.


20) Removing Scripts. I may not actually end up using XS-Pre Title script. I may end up going with another script altogether, but I assumed this was maybe an easy, user-related(me) problem that could be fixed fairly easily/quickly.


21) Request New Script. Not sure where I am supposed to post a request, but it doesn't seem to me like that is appropriate, since it probably does work, I'm just not able to have it activate, for whatever reason.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
 think it is my problem; I can't figure out exactly what part of it I am supposed to configure.


Everything...


I checked the script - the critical area begins with "settings" until a line "don't edit beyond that" and is about half the script.


Everything between those two lines is telling the script what to display before the title - if it exists. The defaults are probably skipped because you don't have those pictures and sounds in your project, because here is where you tell the script the names of the pictures or movies or whatever that should be displayed.


And if you don't edit that part of the script with the effects you want, nothing will happen.


If you don't know enough about scripting to write those lines yourself, you're probably better off with a different script - there are two or three for a pre-title map, where you can use event commands on a special map to get what you want. If I remember correctly, Tsukihime wrote one of them.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
I don't think that editing a settings area requires any considerable scripting knowledge, especially if the settings are explained in the script (and they are in this one).


The only thing required to do that is careful reading and following layout formats. It might seem confusing at first, but it really isn't.


Make sure that the setting named SKIP_PRE_TITLE is set to false, or else it will skip the execution of all the stuffs you entered for your pre-title screen.


Even if your settings point to a file which you do not have in the correct folders, an error message should pop up, so 2 things could have happened:

  1. The setting I mentioned above is set to true.
  2. The script is placed below the Main script slot. This results in the script not being executed.

I can't seem to think of any other reason of it not triggering anything without any error message.
 

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
Okay, here are a couple of screen shots.

The defaults are probably skipped because you don't have those pictures and sounds in your project, because here is where you tell the script the names of the pictures or movies or whatever that should be displayed.


And if you don't edit that part of the script with the effects you want, nothing will happen.


If you don't know enough about scripting to write those lines yourself, you're probably better off with a different scrip
First, Andar: Yes, I knew you were to configure that exact spot you mentioned. I have a little C++ coding understanding and I have had success with getting other Ruby scripts to run in my testing game, but here is how I most recently have it edited.PTScript1.jpg


As you can see I added in my own "Toronto" picture. I commented out the other two default pics as well as the default text lines. I left in the default Music "Battle1" because I actually have that music (I believe it is default with the Maker), so theoretically it should play. No music, no pictures. I even tried adjusting the numbers for "Fade In" and "Fade Out". Also, I am assuming "Delay" is for how long I want the picture to remain on the screen.

  • The setting I mentioned above is set to true.
  • The script is placed below the Main script slot. This results in the script not being executed.
As for Sixth:PTScript2.jpg


As shown, the Pre Title is below Core and Materials but above Main. Also, SKIP_PRE_TITLE = false. It was default written like this and I know enough not to change that. I'm not too sure about the "Show Order" part. The pics show default settings. I've tried switching it to read "p, t, m" instead, but that didn't help. I even tried writing ":p[0]," but that didn't affect it either, my thinking was to say "play 'picture #1' first". Also, I notice there us a skip manually button but I don't press anything while the play testing loads.


Thanks for all your help so far guys, I appreciate it.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
What happens when you change show order to 0 => :p? Right now it is trying to run a movie first, and since you don't have any movies I wonder if that might be causing the result?


Edit: Nevermind, saw you said you tried that. Missed that line. I have no other ideas I'm afraid on this one.
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
Note this line (I just noticed it myself):


return Scene_Title if DataManager.save_file_exists?


This means that if you have a save file already in your project's folder, the pre-title screen will be skipped.


No idea why that line is there, shouldn't this script work as a "Splash Screen" script to show the developer's/publisher's logo and/or some movies before the title screen?


Anyway, removing that line should activate the script regardless if you have a save file or not, so you should do that.
 
Last edited by a moderator:

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
This means that if you have a save file already in your project's folder, the pre-title screen will be skipped.


No idea why that line is there, shouldn't this script work as a "Splash Screen" script to show the developer's/publisher's logo and/or some movies before the title screen?


Anyway, removing that line should activate the script regardless if you have a save file or not, so you should do that
OMG! THERE IT IS! 


Yes, thank you Sixth! I commented that line out and it works now. And notice how that line is in the area where it says "Do not edit below"? That just isn't fair!!! I thought it was supposed to be a splash screen script too, so no idea why he planted that line in there, especially if his instructions don't mention it. Call this one solved!
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top