[XP] Cutscene before Title

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 90
Okay, so to make the cutscene before title:

1) Build the map with the cutscene.



2) At the end of the cutscene put the event to "Return to Title Screen".



3) Build the actual game as you would normally do.



2) Make a new scene with the following code:

class Scene_Cutscene
def main
    $data_actors        = load_data("Data/Actors.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
    $data_mapInfos     = load_data("Data/MapInfos.rxdata")
    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
    @save_max = 3
    for i in 0..@save_max     
      if FileTest.exist?("Save#{i+1}.rxdata") : $scene = Scene_Title.new end
    end
    $game_map.setup(!!!!!!!!!!)
    $game_player.moveto(XXX, YYY)
    $game_player.refresh
    $game_map.update
    $scene = Scene_Map.new
  end
end


5) Change the "!!!!!!!!!!" in the script with the ID of the map, and "XXX" and "YYY" with the coordinates you want the hero to start at.



6) Change the Main script so that it begins at Scene_Cutscene and not at Scene_Title (change it after "Graphics.freeze").



And that's it! It will begin at your map, do the cutscene and then open the title screen.

« Last Edit: May 26, 2015, 01:32:18 AM by yuyu! »
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Nice job. :) Looks good. *moves to Database*
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*
I love Firerain
Rep:
Level 96
=D
Hey man this is sweet and neat.
im using it ^_^
Arlen is hot.

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
All right, check it.

This script is the SHIT dawg, but it needs somethin' with more..."Pimp"...

Like, what if it sent you to the title, but if like, you didn't hit the buttonz urr sum shit, it would play da scene, nowadam sayin' my ni**a?

**
Rep:
Level 87
The Smexy Babe Magnet
I followed what you said and yet when I try and play it an error pops up saying "?(x5) 'Scene_Cutscene' ? 23 ?(x3) SyntaxError ?(x8)". Know what the problem is?

(The ?(x_) was since ?(x3)= ???)

[Edit]
Btw, this is about XP and I got a screen. I'm really new at this, so I might have done something wrong, but I could use some help with this problem.
« Last Edit: December 08, 2006, 08:34:29 PM by Cheal »


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

***
Rep:
Level 90
That error means you have an error at line '23' in 'Scene_Cutscene'.
Okay, line 23 is "$game_player.moveto(XXX,YYY). Make sure you have replaced the XXX and YYY
for example "$game_player.moveto(0,0)" if you want the player to start at 0,0.
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

**
Rep:
Level 87
The Smexy Babe Magnet
Sorry, but yet again, I have another error screen. This time it says this:


Here's what I have for it:


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

***
Rep:
Level 90
okay, gotcha. The thing is, when I told you to replace the '!!!!!' for the ID of the map, you replaced it with the name!
The ID is the number of the map, in this case 11!
go to line 22, and change it for '$game_map.setup(11)'
This does it.
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

**
Rep:
Level 87
The Smexy Babe Magnet
*Hits head* Thanks, Edeon. Me not so smert some times. :P

[EDIT]
Whoot! It works now, and only a few problems, like the ID not being 011, but 013. It turned out awesome and it adds some flare to it. Thanks again for the awesome tut.  ;D
« Last Edit: December 13, 2006, 01:01:06 AM by Cheal »


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

*****
Rep:
Level 89
I'm back again. Again.
Cool, nice tut. This helps me alot!


********
Hungry
Rep:
Level 95
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for August 2008Project of the Month winner for December 20092011 Best Game Creator (Non RM)Gold - GIAW Halloween
what I want to know is if it's possible to make it so that the player can press a button to go back to the menu halfway through the scene.

also, is it possible to make the scene re-play after time?

that and can I show pictures, like text during the scene?

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

*****
Ancient Mummy
Rep:
Level 90
You can do all what u want
Make a parralel proces event and put conditional branch *
 If button (...) is pressed.
 Return to menu

And u can use messages

I think  ::)

********
Hungry
Rep:
Level 95
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for August 2008Project of the Month winner for December 20092011 Best Game Creator (Non RM)Gold - GIAW Halloween
what about going from menu to cutscene after say, a minute
how do I do that?

also, I didn't mean messages so much as a black screen with fading text or something like that. (unless I can do timed messages)

edit:like a combination of Blizzard's picture cutscene and this one.
« Last Edit: February 20, 2007, 03:09:18 PM by NAMKCOR »

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

***
Rep:
Level 88
Koopa Troopa!
Script 'Cut_Scene' line 23: SyntaxError occurred.

Wtf?

********
Hungry
Rep:
Level 95
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for August 2008Project of the Month winner for December 20092011 Best Game Creator (Non RM)Gold - GIAW Halloween
Quote
That error means you have an error at line '23' in 'Scene_Cutscene'.
Okay, line 23 is "$game_player.moveto(XXX,YYY). Make sure you have replaced the XXX and YYY
for example "$game_player.moveto(0,0)" if you want the player to start at 0,0.

look up.

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

**
Rep:
Level 87
Patriots all the way!!
At the beginning of my game I have it so the its like go to title menu or start cutscene...but then when I try to start the cut scene nothing happens? I used a common event and when you press cutscene thing it starts.....
Im to cool to have my own signature!!!

***
Rep:
Level 87
Is there a way to make it so that it starts the room with a picture covering it, displays a few boxes of text then fades to the map? And how do you make the screen go to a specific position/move? (also for some reason no text appears anywhere in my games, even the title menu O.o any ideas?)
« Last Edit: February 27, 2007, 12:31:41 AM by atracious »
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

********
Hungry
Rep:
Level 95
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for August 2008Project of the Month winner for December 20092011 Best Game Creator (Non RM)Gold - GIAW Halloween
1st question, I want to know that myself
2nd: universal font fix, try searching for it

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
2nd: Either the stidkied "Blizzard's tricks" topic in Tutorials or "Tons of Add-ons" in Scripts Database. :)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

********
Hungry
Rep:
Level 95
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for August 2008Project of the Month winner for December 20092011 Best Game Creator (Non RM)Gold - GIAW Halloween
ok, thanks for handing out the location, now how about number 1?

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

***
Rep:
Level 87
Is there a way to make it so that it starts the room with a picture covering it, displays a few boxes of text then fades to the map?
I figured this out, thanks to Blizzard. :)
You make an event that is a parallel process and then just put 'show picture' at the top, i actually got rid of the pic before displaying the text, but you don't have to :)
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep: +0/-0Level 87
I'm from Finland!(and Finland rulez!)
Whats wrong? Screen shots from my error and my cut scene script
http://img252.imageshack.us/my.php?image=omgvb2.gif
http://img252.imageshack.us/my.php?image=omges0.gif
Please tell me what to do!
« Last Edit: March 28, 2007, 02:06:38 PM by dracow »

***
Rep:
Level 87
Whats wrong? Screen shots from my error and my cut scene script


Please tell me what to do!
first off: actually put the screens in...not off the hard drive but host them on imageshack then put the url in using the image icon.
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep: +0/-0Level 87
EDIT: Oop, nevermind lol. I just realised what i had done wrong.

Great tutorial. Very helpful :).
« Last Edit: March 29, 2007, 05:20:37 AM by Luminost »

*******
Rep:
Level 89
Returned from the dead.
Nothing appears when I try using it... it just goes straight to the Title screen...
Sincerely,
Your conscience.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
If you guys wanted an example of this working:

http://rmrk.net/index.php/topic,13136.0.html

my game has it in the demo.
Watch out for: HaloOfTheSun

**
Rep:
Level 87
Nothing appears when I try using it... it just goes straight to the Title screen...
are you sure you didn't forget this step?
Quote
6) Change the Main script so that it begins at Scene_Cutscene and not at Scene_Title (change it after "Graphics.freeze").

*******
Rep:
Level 89
Returned from the dead.
O_o I must have missed that... I'll try that later... thaks ;)
Sincerely,
Your conscience.

***
I'M SUPERMAN!
Rep:
Level 87
HURR DE DURRR
Check the attached for my problem. I'm a novice scriptor, so I have no clue what is wrong.
FFFFFFFFFFFFFFFFFFFFFF

***
Rep:
Level 87
Check the attached for my problem. I'm a novice scriptor, so I have no clue what is wrong.

Well, that means that in the 'Sprite_Character' script line 72 you have an error, check and see if it says this there:
Code: [Select]
animation = $data_animations[@character.animation_id]
what i'm guessing is wrong is instead of [@character.animation_id] you have [], but i'm a novice too.
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

***
I'M SUPERMAN!
Rep:
Level 87
HURR DE DURRR
Check the attached for my problem. I'm a novice scriptor, so I have no clue what is wrong.

Well, that means that in the 'Sprite_Character' script line 72 you have an error, check and see if it says this there:
Code: [Select]
animation = $data_animations[@character.animation_id]
what i'm guessing is wrong is instead of [@character.animation_id] you have [], but i'm a novice too.

Nope, I have
Code: [Select]
animation = $data_animations[@character.animation_id]
FFFFFFFFFFFFFFFFFFFFFF

***
Rep:
Level 88
This is sweet! IT is what I was looking for a long time!

**
Rep: +0/-0Level 86
Check the attached for my problem. I'm a novice scriptor, so I have no clue what is wrong.

Well, that means that in the 'Sprite_Character' script line 72 you have an error, check and see if it says this there:
Code: [Select]
animation = $data_animations[@character.animation_id]
what i'm guessing is wrong is instead of [@character.animation_id] you have [], but i'm a novice too.

Nope, I have
Code: [Select]
animation = $data_animations[@character.animation_id]


I think it's because you had an animation, as in "ST Sleep" for example.  If you take that out, it the problem should go away.  At least, it did for me.

Also, I'm getting the "Line 23 SyntaxError" thing too, but I have the thing correctly filled in, as demonstrated by
What do I do?
[Edit]Never mind.
« Last Edit: July 09, 2007, 06:59:57 PM by Zeneth »

***
Rep:
Level 86
It's always darkest before morning
this topic died, but i will revive it with an example of a scene before the title, i made just now ^_^ http://youtube.com/watch?v=vjvq8nvQ1aU
« Last Edit: August 09, 2007, 10:07:32 AM by Ciaron »

**
Rep:
Level 86
*Jams out to some serious tunes*
Helpful, but where do you put the code?

********
Licks
Rep:
Level 91
Sexual Deviant
above the main script

**
Rep:
Level 86
I love my eyes in this pic.....
This is what I want to do with this script. Am I able to do it?

Main character lives in current time and falls through a well in the forest behind his house. When he submerges in the water at the bottom of the well, he gets teleported to Rutearius (where the "game" takes place).

Using this script, am I able to make it so that the demo or "cutscene" is played to basically setup a background for the main character until falling into the well. After falling in the actual game itself starts?

Am I allowed to use more than one map in the demo, or just one? I can't make it work if I can only use one map obviously, so s this possible?


P.S. regardless, this script is awesome, good work.....

Thnx in advance to all...
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...

***
Rep:
Level 86
It's always darkest before morning
possible, and i Sense and Inu-yasha thing there.

**
Rep:
Level 86
I love my eyes in this pic.....
Haha, kind of..... I just figured the well works for a good time portal thingy, so..... ....., ya...
Anyway, you go through a well, but come out of a small lake in a cave in Rutearius on the other side...

So I'll tinker around a bit, and see what I can come up with...
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...

***
Rep:
Level 87
This is what I want to do with this script. Am I able to do it?

Main character lives in current time and falls through a well in the forest behind his house. When he submerges in the water at the bottom of the well, he gets teleported to Rutearius (where the "game" takes place).

Using this script, am I able to make it so that the demo or "cutscene" is played to basically setup a background for the main character until falling into the well. After falling in the actual game itself starts?

Am I allowed to use more than one map in the demo, or just one? I can't make it work if I can only use one map obviously, so s this possible?


P.S. regardless, this script is awesome, good work.....

Thnx in advance to all...

I believe there is a script or something like that called start game...but don't quote me on it! :P
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep:
Level 86
I love my eyes in this pic.....
.....*sigh* right..... ... .....
I don't want the player to see the title before your character is in Wruterius. If I just start the game, then you have to view the Title Screen, and the whole point of using this script is to bypass the title until you fall into the and come out of the other side.....

srry if I came off as rude, but do you know what I mean?
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...

***
Rep:
Level 87
.....*sigh* right..... ... .....
I don't want the player to see the title before your character is in Wruterius. If I just start the game, then you have to view the Title Screen, and the whole point of using this script is to bypass the title until you fall into the and come out of the other side.....

srry if I came off as rude, but do you know what I mean?
yeah i know what you mean i just thought maybe it would skip the title....oh well was worth a try!
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

***
Rep:
Level 86
Falling under chaos
Ok I got it to work but it will only work if i set the character positionto 0,0 and know where else likei whant him to start at 011,009 ???

***
Rep:
Level 86
Falling under chaos
Ok nvm i figured it out but how would I make it so that i dont have to press enter for the talking it just daos it by itself?

***
Rep:
Level 87
Ok nvm i figured it out but how would I make it so that i dont have to press enter for the talking it just daos it by itself?

here:
http://rmrk.net/index.php/topic,7035.0.html
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

***
Rep:
Level 86
Falling under chaos
Thnx this Scrpt rocks  :blizj:

**
Rep: +0/-0Level 86
I get the same error from Blitz's ABS the nil [] error...could someone please tell me what is with that?


Current Games:
Darklands (Demon Slayer [new name])

Scripting - About 55% complete.

Eventing - About 1% complete.

Mapping - About .5% complete.

Spriting - 0% complete.

*
A Random Custom Title
Rep:
Level 96
wah
Probably means a variable wasn't set. Check to see if you followed all the instructions.

***
Rep:
Level 86
OMFG look!! Text! :D
very useful indeed, this might come in handy sometime :D

***
Rep:
Level 87
This is what I want to do with this script. Am I able to do it?

Main character lives in current time and falls through a well in the forest behind his house. When he submerges in the water at the bottom of the well, he gets teleported to Rutearius (where the "game" takes place).

Using this script, am I able to make it so that the demo or "cutscene" is played to basically setup a background for the main character until falling into the well. After falling in the actual game itself starts?

Am I allowed to use more than one map in the demo, or just one? I can't make it work if I can only use one map obviously, so s this possible?


P.S. regardless, this script is awesome, good work.....

Thnx in advance to all...

OK, I believe i have a solution to this, make a script, call it whatever you want, and put this in it:
Spoiler for:
Code: [Select]
class My_New_Game
 
  def initialize
    @my_continue_enabled = false
   
    for i in 0..3
     
      if FileTest.exist?("Save#{i+1}.rxdata")
        @my_continue_enabled = true
      end
      if !@my_continue_enabled
        # Loading the database
        $data_actors        = load_data("Data/Actors.rxdata")
        $data_classes       = load_data("Data/Classes.rxdata")
        $data_skills        = load_data("Data/Skills.rxdata")
        $data_items         = load_data("Data/Items.rxdata")
        $data_weapons       = load_data("Data/Weapons.rxdata")
        $data_armors        = load_data("Data/Armors.rxdata")
        $data_enemies       = load_data("Data/Enemies.rxdata")
        $data_troops        = load_data("Data/Troops.rxdata")
        $data_states        = load_data("Data/States.rxdata")
        $data_animations    = load_data("Data/Animations.rxdata")
        $data_tilesets      = load_data("Data/Tilesets.rxdata")
        $data_common_events = load_data("Data/CommonEvents.rxdata")
        $data_system        = load_data("Data/System.rxdata")
        # Drawing up system object
        $game_system = Game_System.new
        # Stopping BGM
        Audio.bgm_stop
        # Resetting the frame count for play time measurement
        Graphics.frame_count = 0
        # Change to load picture
        $game_temp          = Game_Temp.new
        $game_system        = Game_System.new
        $game_switches      = Game_Switches.new
        $game_variables     = Game_Variables.new
        $game_self_switches = Game_SelfSwitches.new
        $game_screen        = Game_Screen.new
        $game_actors        = Game_Actors.new
        $game_party         = Game_Party.new
        $game_troop         = Game_Troop.new
        $game_map           = Game_Map.new
        $game_player        = Game_Player.new
        # Setting up the early party
        $game_party.setup_starting_members
        # Setting up the map of initial position
        $game_map.setup($data_system.start_map_id)
        # Moving the prayer to initial position
        $game_player.moveto($data_system.start_x, $data_system.start_y)
        # Refreshing the prayer
        $game_player.refresh
        # Executing the automatic operation change of BGM and BGS which are set to the map
        $game_map.autoplay
        # Map renewal (parallel event execution)
        $game_map.update
        # Change to map picture
        $scene = Scene_Map.new
      else
        $scene = Scene_Title.new
      end
     
    end
   
  end
 
end
then replace the 'go to title screen' thing with a call script that says this:
My_New_game.new

this one in particular checks if there are save files, and if there are none, it starts a new game COMPLETELY skipping the title screen, but if there is a save file, it takes you to the title screen. I JUST made this and am currently using it in my game and figured someone else might be able to use it....
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep:
Level 86
Why do i get an error saying

Script 'Game_player' line 106: NoMEthodError Occured
Undefined method `character name for' nil:NilClass
Current Project-Need help
The Sword Of Espadra

***
Rep:
Level 87
Why do i get an error saying

Script 'Game_player' line 106: NoMEthodError Occured
Undefined method `character name for' nil:NilClass

i can't understand why line 106 is giving you issues....it's a comment in mine(# Initializing opacity and synthetic method) ....the only thing i can see in on 104 it should say: @character_name = actor.character_name
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep:
Level 85
Rastel Maskil Magister~
Sintax error line 23.. nobody said anything about that... there was someone else with that problem... mind telling me what is wrong? ><

I apreciate beforehand any help ^^

***
Rep:
Level 87
Sintax error line 23.. nobody said anything about that... there was someone else with that problem... mind telling me what is wrong? ><

I apreciate beforehand any help ^^

That error means you have an error at line '23' in 'Scene_Cutscene'.
Okay, line 23 is "$game_player.moveto(XXX,YYY). Make sure you have replaced the XXX and YYY
for example "$game_player.moveto(0,0)" if you want the player to start at 0,0.

there you go! Happy animating! :D
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep: +0/-0Level 75
RMRK Junior
Super bump! I'm getting the same line 23 error, but I've checked everything a million times and I can't find anything wrong at all. I've been at this for hours, please help! Here's some screenshots.

Scene_Opening:


Main:



****
Hey... my name's... Sashikinaroji...
Rep:
Level 82
fear me...
when you put in the script, you got rid of the snippet:

begin
  Graphics.freeze
  $scene = Scene_Title.new
  $scene.main while $scene != nil
  Graphics.transition(30)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

Copy that snippet and put it below the script in Main, and it should fix your problem.

You see, that snippet calls the menu, and the cutscene snippet doesn't do that after it plays the scene.
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

**
Rep: +0/-0Level 75
RMRK Junior
I added it under what I had in the main script, but I'm still getting the Scene_Opening Line 23 Syntax Error.  :(

****
Hey... my name's... Sashikinaroji...
Rep:
Level 82
fear me...
try uploading the game so I can tinker and see what I can turn up (having the game would be easier than you making a bunch of screens, don't you think?)...

Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

**
Rep: +0/-0Level 75
RMRK Junior
Dammmit I would upload but something really wired happened. I wanted to change the name of the project so I changed the name of the main folder and the title of the game in the editor and now I can't find the game rpgxp project file! It's like it's not there anymore. I can't open the file and I can save from the editor, but I have no clue where it's saving to. I sure hope I didn't just lost this whole game  :mad:

Is there anything I can do? I can't believe this just happened I feel like such an idiot but I don't know how that could happen anyways.

EDIT: I think I figured it out. At least I got it saved. *whew*... *faints*
« Last Edit: July 28, 2010, 02:50:40 AM by That_Guy »

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Change Line 23 of Scene_Opening to:

$game_player.moveto(8, 32)

**
Rep: +0/-0Level 75
RMRK Junior
When I did that it gave an error that said:

Script 'Main' Line 11: NameError occurred.
uninitialized constant Scene_Opening

Here, I'll just upload the game it should be a helluva lot easier:
http://www.mediafire.com/?e6g5dyhvy7gv2w8

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
In line 11, change Scene_Opening to Scene_Cutscene.

**
Rep: +0/-0Level 75
RMRK Junior
Now I get an error saying:
Script 'Scene_Opening' line 23 NoMethodError occurred.
undefined method 'move' for <Game_Player...>

It might be a better idea to fool with the game I uploaded. Otherwise, this might take a very, very long time lol

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Change Line 23 of Scene_Opening to:

$game_player.moveto(8, 32)

Do this again.

**
Rep: +0/-0Level 75
RMRK Junior
That's the way I had it when I got that error.

**
Rep: +0/-0Level 75
RMRK Junior
Bump. So is there a possibility that scripts are conflicting or did I just do something really stupid? I'm about to give up on this guys.

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Paste your script configuration and we'll see what's wrong.

**
Rep: +0/-0Level 75
RMRK Junior
Because there could be things wrong in multiple scripts I thought it would be better to just uploaded the game file.
http://www.mediafire.com/?e6g5dyhvy7gv2w8

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
I think you should re-upload, I can't seem to get it.