Cutscenes

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Pages

AuthorTopic: Cutscenes
Warrior
Member # 6268
Profile #0
I'm having trouble with a cutscene, for some reason, the text bubbles above a character do not appear. Do I have to force terrain redraw or something?
Everything works except for the bubbles, including camara coordinates and animations.

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Agent
Member # 4506
Profile Homepage #1
For the text bubbles, you need to make them blank before the next talk bubble.

Eg:

i = random_party_member();
text_bubble_on_char(72,"");
text_bubble_on_char(i,"Okay, moved. Can you see better?");
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(i,"");
text_bubble_on_char(72,"Yes, thank you.");
force_instant_terrain_redraw();
pause(15);
After person A (char_72) speaks, there's a blank bubble of him before your PC (character_i) speaks. I don't know if this will help or not, but...
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Warrior
Member # 6268
Profile #2
I did do that.
But maybe it didn't work because I didn't put blank before I'll test it...

EDIT:
Okay, I put a blank before, and I forced terrain redraw. In the appendices of the editor docs it is not really clear on this: it says that the purpose of terrain redraw is to redraw the terrain after someone moved. But I used it after each bubble, and it works.

[ Saturday, September 03, 2005 10:40: Message edited by: Lord Nicodemus ]

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Agent
Member # 4506
Profile Homepage #3
You need to put a force_instant_terrain_redraw call in every block.

Like I did with mine.

- Archmagus Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Warrior
Member # 6268
Profile #4
Urmm it works now (see edit) Thanks!

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Agent
Member # 4506
Profile Homepage #5
Like this:

beginstate 10; if (get_flag(1,2) == 250) end();
set_total_visibility(1);
force_view_center(25,38);
force_instant_terrain_redraw();
pause(10);

text_bubble_on_char(8,"Friends! This is a time of oppression!");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
foce_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"The Elves have poisoned our lives,");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"They have destroyed our dreams,");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"They have dictated our lives!,");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"Now is our time to fight back!");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"This city is a symbol of our pain;");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"Only with Dark Alliegance can we");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
pause(5);
text_bubble_on_char(8,"Destroy it.");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

text_bubble_on_char(8,"Go now, and take revenge!");
run_animation();
force_instant_terrain_redraw();
pause(15);

text_bubble_on_char(8,"");
force_instant_terrain_redraw();
pause(5);

set_character_facing(8,2);
force_instant_terrain_redraw();
pause(10);

set_character_pose(8,1);
run_animation();
force_instant_terrain_redraw();
pause(5);

force_view_center(22,38);
force_instant_terrain_redraw();
put_effect_on_space(22,38,11,8,2);
run_animation();
set_terrain(22,38,268);
pause(10);

set_character_pose(8,1);
run_animation();
while (x <= 24) { set_attitude(x,10);
x = (x+1); } set_flag(1,2,250);
place_monster(21,38,1);
put_effect_on_space(21,38,11,8,2);
run_animation(); break;
- Archmagus Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Agent
Member # 4506
Profile Homepage #6
Also, do you really want huge blank pauses of nobody saying anything. You can set char_x to "" in the same block as setting char_y to "The World is mine! HAHAHAH!"

- Archmagus Micael

[ Saturday, September 03, 2005 10:46: Message edited by: Archmagus Micael ]

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Warrior
Member # 6268
Profile #7
Yeah my code is messy, but the pauses are short, and they work to help the reader absorb the stuff. Also, its realistic; a comma signifies a pause and all except one of my lines has a coma at the end. Also, it's only 1/2 second wait.

Oh by the way, I have a mistake in the last lines with parameters in the spawn creature call it should be:
place_monster(21,38,236,1); I screwed up. I was wondering why it wasn't spawning a creature...

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Agent
Member # 4506
Profile Homepage #8
I suppose... :)

Anyway, what's this mystery scenario called?

- Archmagus Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Warrior
Member # 6268
Profile #9
Well, it's a little pet project of mine called 'Tales of the Leviathan." It's that dreaded scenario- an epic.
In other words, it has a huge outdoors, but I'm going slowly. Also everything is spread out not like some scenarios where everything is cramped into 1 outdoor section. Oh and it takes place in another universe (not Avernum) as you can tell by the mention of Elves.
In this scenario you're supposed to end up with a choice, either to be evil and fight the elves with some other rebels and the Supreme Evil Bad Guy (working name), or you can be all happy happy nice nice and join the Elves. I use a SDF to have a rating - "Elf Friendliness," and it shows how nice you are to elves. Some stores will check this and decide whether to sell you stuff.
Anyway, it's a long complicated scenario (or will be I just started it and scenario making at the same time).
As that good enough?

EDIT: Off topic but does anyone know a good screenshot capturer program for mac OSX? (Avernum screenies).

[ Saturday, September 03, 2005 11:26: Message edited by: Lord Nicodemus ]

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Triad Mage
Member # 7
Profile Homepage #10
Just use Command-Shift-4 and Command-Shift-3 and then Graphic Converter to edit them.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Shaper
Member # 73
Profile #11
Warning: Big empty outdoors with nothing in them besides trees and wandering monsters quickly bore players. If you're going to have towns and dungeons spread far apart, at least make sure you make the outdoors sections interesting.

--------------------
My Myspace, with some of my audial and visual art
The Lyceum - The Headquarters of the Blades designing community
The Louvre - The Blades of Avernum graphics database
Alexandria - The Blades of Exile Scenario database
BoE Webring - Self explanatory
Polaris - Free porn here
Odd Todd - Fun for the unemployed (and everyone else too)
They Might Be Giants - Four websites for one of the greatest bands in existance
--------------------
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Posts: 2957 | Registered: Thursday, October 4 2001 07:00
Warrior
Member # 6268
Profile #12
I plan on making the outdoors interesting with many special encounters and such. Don't worry, anyone who plays this will be kept occupied.

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #13
quote:
Originally written by Lord Nicodemus:

It's that dreaded scenario- an epic.
Of course, the standard warnings for a beginner epic apply: you're extremely unlikely to finish this scenario, and in that case, you would end up with nothing to show for all the hard work you've done. If you make a small scenario to start out and then afterwards make that epic, at the very least you'll have the small scenario to show for your work.

Just passing along the conventional wisdom.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Master
Member # 5977
Profile Homepage #14
i was wondering about the cutscenes: what is a standard pause length? My pauses are 15-20, but i think it far too long. What is better?

--------------------
Play and rate my scenarios:

Where the rivers meet
View my upcoming scenario: The Nephil Search: Escape.

Give us your drek!
Posts: 3029 | Registered: Saturday, June 18 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #15
Standard for a text bubble is 15, but it's probably better is to do what Canopy and Bahs have done and allow the player to change the length of the pauses. Bahs's system works based on having an SDF be set to a number between 1 and 3, and then each pause after a text bubble pauses for five times that SDF's value.

More detail on that if you want it.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 6268
Profile #16
Well, I'd rather work on this than some random scenario, but maybe I might do some small thing on the side... ;)

Okay next question:
I'm trying to load custom graphics into the game for an Intro graphic. I am using Mac OSX, and I have trouble copying my Photoshop Elements PICT file into ResEdit. I somehow managed to do it (Still don't know how), but whenever it appears in the Intro it is too small and super-pixilated (I reduced the size to 400x400 like reccomended in the Docs). Is there any easier way to do this?

EDIT:
Is there any call or script that removes a party from a horse?

[ Sunday, September 04, 2005 07:05: Message edited by: Lord Nicodemus ]

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Master
Member # 5977
Profile Homepage #17
Thanks kelandon, maybe you could send me an explanation of how the ability works? my email adress is:

B.J.van.Soldt (AT) inter.nl.net

As for the questions, I can tell you that there's no call or script or whatever for removing the party from ahorse. The bst thing you can do is ti try to make a custom graphic, which you eventually replace with the party.

Maybe you can tell me a bit more about the custom graphics problem? Like how are you trying to copy the graphic from Photoshop to Resedit (I myself use Appleworks, BTW). And what do you mean by "super-pixilated"? (I son't really know all these computer terms).

--------------------
Play and rate my scenarios:

Where the rivers meet
View my upcoming scenario: The Nephil Search: Escape.

Give us your drek!
Posts: 3029 | Registered: Saturday, June 18 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #18
Super-pixellated just means blurry.

I use Photoshop, too, but I save everything in png format and then open with Preview and copy and Paste from there. For some reason, this works slightly better than just going directly from Photoshop.

Intro pics are typically 450 by 450 pixels. 400 by 400 will look a little small. Technically, you can have something slightly larger than that, but you'd have to play around with it to see what works.

Thralni: in Bahs, this is how it works.

First, init the ability in the LOAD_SCEN_STATE.
init_special_abil(0,"Set Cut Scene Speed",16); Then give the party the ability in the START_SCEN_STATE.
i = 0;
while (i <= 3) {
change_custom_abil_uses(i,0,1);
i = i + 1;
}
Then actually run the ability in state 16. (Bahs has an option to skip the cut scenes that I'm omitting here.)
change_custom_abil_uses(who_used_custom_abil(),0,1); // makes the ability reusable

reset_dialog();
add_dialog_str(0,"How fast would you like the cut scenes to go?",0);
add_dialog_choice(0,"Slow speed.");
add_dialog_choice(1,"Normal speed.");
add_dialog_choice(2,"Faster!");
choice = run_dialog(1);
if (choice == 1)
set_flag(250,8,4);
if (choice == 2)
set_flag(250,8,3);
if (choice != 3)
end();

reset_dialog();
add_dialog_str(0,"How fast would you like the cut scenes to go?",0);
add_dialog_choice(0,"High speed.");
add_dialog_choice(1,"Very high speed.");
choice = run_dialog(1);
if (choice == 1)
set_flag(250,8,2);
if (choice == 2)
set_flag(250,8,1);
Then a text bubble in a cut scene looks like this:
text_bubble_on_char(17,"O mighty Grah-Hoth");
force_instant_terrain_redraw();
pause(5 * get_flag(250,8));


--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 6268
Profile #19
I have 2 problems with the Intro graphics:
1) The bluriness
2) Actually pasting the graphic into ResEdit because ResEdit is in classic and you can't c&p stuff from OSX into Classic.

--------------------
Un ronron ronchonne, un ronfleur ronfle.
Un rongeur ronge, un roi règne, une orange roule.
Ça c'est la réalité.
Mais si le ronchon ronge, le ronfleur ronchonne,
Le roi roule, le rongeur règne
Et l'orange ronfle,
Ça c'est une autre histoire.
Posts: 66 | Registered: Saturday, September 3 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #20
You can copy and paste from one to the other, but sometimes you have to copy it multiple times. Try using Preview as an intermediary — I have no idea why this makes it easier, but it does.

Also, is it becoming blurry when you make the transfer, or is it already blurry in Photoshop once you've edited it?

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Triad Mage
Member # 7
Profile Homepage #21
O mighty Grah-Hoth. How can I serve you?

Kill. Kill. Kill.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Shaper
Member # 3442
Profile Homepage #22
quote:
Originally written by Drakefyre:

O mighty Grah-Hoth. How can I serve you?

Kill. Kill. Kill.

Doth my eyes decieve me. Spam?

Ok, Kelandon, I have a question. How do you keep track of where each cutscene is going. For individual one-on-one talking scenes, it's easy, but when lots of characters are on screen at once it's a nightmare.

I tried using some graph paper, and just planning it out before hand, but no cigar. I just got more confused. Do you have any tips?

--------------------
And when you want to Live
How do you start?
Where do you go?
Who do you need to know?

Posts: 2864 | Registered: Monday, September 8 2003 07:00
Master
Member # 5977
Profile Homepage #23
I know that question was diected to kelandon, and I'm not kelandon, but what I did while making my outdoor fight cutscene, was indeed to just use graphpaper and a pencil. Averytime I made a new movement of the troops, i made a new drawing. This way you indeed have a lot of drawing to do, but its easy to keep track of things. And if you eventually don't know, or are afraid of loosing the order in drawings you made, I recommend numbering them.

Does this make you feel any better?

--------------------
Play and rate my scenarios:

Where the rivers meet
View my upcoming scenario: The Nephil Search: Escape.

Give us your drek!
Posts: 3029 | Registered: Saturday, June 18 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #24
Cluster your calls. In the battle scenes in Bahs, I have one "turn" per call cluster, so if I want to know where a character is at any given time, I look in the previous cluster.

Also, it helps to create different group movements at different times, so that if you know that one character is walking one space south every "turn," make that first, and then add calls on top of that.

And test, test, test.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00

Pages