The Dink Network

Papyrus Adventures (The): Development Thread [NEW]!

March 4th 2010, 08:36 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Thought I'd recreate this thread due to oldness.

(The) Papyrus Adventures

"Once upon a time, years before Seth's fate, When Dink finished senior high school, he ought to go on a trip in the seas with his buddy, Mike. But they got caught in a storm, and sank on a very small island. There, as he explores it, he discovers a papyrus which transports him in an earthquaked village. He'll soon discover that Seth, the evil's master is behind all those, and make a travel through various mysterious worlds to stop the next destructive part of Seth's Plan...."

Pictures:

World 1: The Earthquaked World
:
http://i45.tinypic.com/2gxhhra.jpg

http://i46.tinypic.com/15n29hz.jpg

World 2: Wasteland:

World 3: North Pole:

World 4: Spoohot Desert
:

World 5: Dioneia:

World 6: Goblin And Food:

World 7: Gates of Hell:

World 8: The Caves And The Stronghold:

NOTE: By world i do not mean SOB's type, they'll just be TPA's parts that slightly differ to each other, i do not try to copy SimonK's Idea!

Here is a list on what you should excpect in TPA:

~ New emake script, gigantic rewards...
~ Humour
~ 8 Worlds, Earthquaked, Wasteland, Spoohot, North Pole, Dioneia, Goblin's Meal, Hell gates, Stronghold of Seth.
~ New music
~ Maths...you will need to know how to solve equations...[Maybe]
~ Complex story [Maybe]
March 4th 2010, 01:40 PM
pq_knight.gif
ExDeathEvn
Peasant Male New Zealand xbox steam
Don't look at me, I'm a ghost 
You can't post direct images here.
Just hotlink the address using <a href="WEBLINK" >< /a>

Minus the spaces on either side of/next to the ><
March 5th 2010, 10:52 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
News: the earthquaked world is almost over, i just need to fix some code errors!
March 5th 2010, 11:55 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
One of them is this:

void main(void)

{
int &malakies;
&malakies == 0;
}

void talk(void)
{
if (&magican1 == 0)

{
freeze(1);
freeze(&current_sprite);
say_stop("Wow, are you a magican?", 1);
wait(200);
say_stop("`0What a bad way to start your day, what do you want?", &current_sprite);
wait(200);
say_stop("Can you teach me magic?", 1);
wait(200);
say_stop("`5Only if you have 3 magic, i could teach you fireball", &current_sprite);
wait(200);

if (&magic >= 3)

{
say_stop("Hehehehe, i already have!", 1);
wait(200);
say_stop("`0dang, here you go!", &current_sprite);
add_magic("mag-fbl",437, 1);
unfreeze(1);
unfreeze(&current_sprite);
}

else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}

&magican1 += 1;

if(&magican1 == 1)

{
say_stop("`0What do you want again?", &current_sprite);

if(&malakies == 1)
{
say_stop("I dont think i need something at the moment...", 1);
}

if(&malakies == 0)
{

if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
}

if (&magic >= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
}
}
unfreeze(1);
unfreeze(&current_sprite);
}

It just doesnt work, it doesnt crash, but it doesnt work too..
March 5th 2010, 12:10 PM
knightgl.gif
castman
Peasant Male Brazil
Some day I'll finish my mod... Some day... 
What exacly doesn't works?

Anyway, what I've seen for now:

==========================
void main(void)
{
int &malakies;
&malakies == 0;
}
==========================

'==' is different than '='.
A double '=' means 'compare', when the game reads '&malakies == 0;' it will load the last saved varial '&malakies' and compare to 0
Put only a single '=' there and the varial '&malakies' will become 0 once the screen is loaded

============================
say_stop("`5Only if you have 3 magic, i could teach you fireball", &current_sprite);
wait(200);
============================

A simple detail, at the other talks the magician says with `0, in this one you used `5, but I guess that's to call the player attention to the talk, maybe

============================
if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
}
if (&magic >= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
============================

Both the 'if' commands have the same varial '&magic >= 3', so, if the player is not on that condition the game will crash

EDIT:
===================================
if (&magican1 == 0)
{
freeze(1);
freeze(&current_sprite);
say_stop("Wow, are you a magican?", 1);
wait(200);
(...)
else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}
&magican1 += 1;
<---- Close Bracket here
if(&magican1 == 1)
===================================
March 5th 2010, 12:45 PM
knightgl.gif
castman
Peasant Male Brazil
Some day I'll finish my mod... Some day... 

I found some other errors so I've remade the script for ya

----------------------

void main(void)
{

int &malakies;
&malakies = 0;

}

void talk(void)
{
freeze(1);
freeze(&current_sprite);

if (&magican1 == 0)
{
say_stop("Wow, are you a magican?", 1);
wait(200);
say_stop("`0What a bad way to start your day, what do you want?", &current_sprite);
wait(200);
say_stop("Can you teach me magic?", 1);
wait(200);
say_stop("`0Only if you have 3 magic, i could teach you fireball", &current_sprite);
wait(200);

if (&magic >= 3)
{
say_stop("Hehehehe, i already have!", 1);
wait(200);
say_stop("`0dang, here you go!", &current_sprite);
add_magic("mag-fbl",437, 1);
}

else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}

&magican1 += 1;
goto end;
}

if(&magican1 == 1)
{
say_stop("`0What do you want again?", &current_sprite);

if(&malakies == 1)
{
say_stop("I dont think i need something at the moment...", 1);
}

if(&malakies == 0)
{

if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
&magican1 += 1;
}

if (&magic <= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
}
goto end;
}

if(&magican1 == 2)
{
say_stop("`0Bla Bla Bla", &current_sprite);
}

end:
unfreeze(1);
unfreeze(&current_sprite);
}
-----------------------------------

If you have trouble due the changes just ask
March 5th 2010, 01:14 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Ok, that seems to work, thank you all, im pretty much a noob with variables
March 5th 2010, 04:25 PM
anon.gif
Skull
Ghost
 
Variables = the most important thing in scripting.
March 5th 2010, 04:51 PM
custom_iplaydink.gif
iplaydink
Peasant Male Sweden steam
Hmm.. 
but without 'if's they are quite useless, so they are also important
March 6th 2010, 02:31 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
void main(void)

{
fade_up();
freeze(1);
int &boat;
&boat = create_sprite(45, 180, 0, 903, 9);
sp_speed(&boat, .25);
move(&boat, 6, 580, 1);
say_stop("We are going slowly...", &boat);
say_stop("`2Too slowly", &boat);
say_stop("Well, everything is ok, as long as nothing cuts our way", &boat);
say_stop("`2Second that.", &boat);
say_stop("`2But we are in a storm danger area...", &boat);
say_stop("Umm....i have a bad feeling...", &boat);
say_stop("Its getting cloudy", &boat);
say_stop("`2No, my friend, we are going towards the clouds!", &boat);
say_stop("Yea...WHAT?!", &boat);
wait(500);
int &rainc;
&rainc = create_sprite(420, 280, 6, 899, 1);
preload_seq(899);
say_stop("`2Get inside, get inside!!", &boat);

}

When the rain is created, it just stays there, it doesnt have 6 brain!
March 6th 2010, 02:43 AM
eye.gif
synbi
Peasant Male Finland
 
What do you mean exactly? It does have brain 6 (repeating animation)... if you want an animation sequence to loop, I think you need to do sp_seq(&rainc,899); as well.

March 6th 2010, 02:50 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Ok, thanks a lot, it worked...!
March 12th 2010, 03:28 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Hello world, The Quaked World is almost over, and i've started mapping Wasteland. Stay close for updates!
March 19th 2010, 03:34 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
UPDATE:

Here is a list on what you should excpect in TPA:

~ New emake script, gigantic rewards...
~ Humour
~ 8 Worlds, Earthquaked, Wasteland, Spoohot, North Pole, Dioneia, Goblin's Meal, Hell gates, Stronghold of Seth.
~ New music
~ Maths...you will need to know how to solve equations...[Maybe]
~ Complex story [Maybe]
March 19th 2010, 03:43 PM
custom_iplaydink.gif
iplaydink
Peasant Male Sweden steam
Hmm.. 
Sounds like you've got a lot of work to do then!
March 19th 2010, 03:46 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Woooo, a comment after ages...

Not really though, i've already finished emake, the worlds are planned EXACTLY, Sounds are downloaded...

But yea it's really tough to make!
March 19th 2010, 05:47 PM
pq_knight.gif
ExDeathEvn
Peasant Male New Zealand xbox steam
Don't look at me, I'm a ghost 
Sounds like an epic in the making for certain!
I hope the story is good though as well but if you need any assistance with that just let us know, many of us have pretty deep imaginations.
March 20th 2010, 02:27 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Thanks all of you, i hope this D-mod will become a success!

Also, one feature that i forgot to mention is...liars!

Thats right, liars tell you for things that arent true, so there may be a case that you get into an adventure for nothing than danger!
March 21st 2010, 01:19 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Well, im facing a problem

I ve created some lettuce, and when i pick it up and come again to this screen, even if ive done all the editor thingy it reappears!

Any help?
March 21st 2010, 01:24 PM
custom_skull.gif
Skull
Peasant Male Finland bloop
"I'd like to be a tree..." 
Just kill the sprite when you want it to disappear. Like this:

//Kill the sprite
sp_hard(&current_sprite, 1);
draw_hard_map(&current_sprite);
sp_active(&current_sprite, 0);
Playsound(10,22050,0,0,0);
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
{
//Make the sprite stay dead for ever.
editor_type(&hold, 1);
}
March 21st 2010, 01:39 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
not only doesnt work, but cancels the effect of sp_brain_parm...
March 21st 2010, 01:42 PM
custom_skull.gif
Skull
Peasant Male Finland bloop
"I'd like to be a tree..." 
Delete everything else from the script, just put that. Then check if it works. If it does, build the rest of the script around it. That's how I do it, at least.
March 21st 2010, 01:56 PM
spike.gif
scratcher
Bard Male Finland bloop
cigarette bonca 
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
{
//Make the sprite stay dead for ever.
editor_type(&hold,1);
}

This part makes sure the thing will not appear on the screen again. Perhaps there is a typo in the script?
March 21st 2010, 01:58 PM
custom_skull.gif
Skull
Peasant Male Finland bloop
"I'd like to be a tree..." 
No, it works fine to me.
March 25th 2010, 06:28 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Here's a more detailed list on what to expect:

~ Not so long dialogue
~ New tiles (of course)
~ SOULS!!
~ NO RIDDLES
~ Maths

Please feedpack me!
March 25th 2010, 06:30 AM
custom_skull.gif
Skull
Peasant Male Finland bloop
"I'd like to be a tree..." 
Hey hey hey hey!! This is not supposed to be a walkthrough or anything!
March 25th 2010, 06:32 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Ok, ok, i'm just gonna make a list then..
April 1st 2010, 04:16 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Guys, i have a very big problem, when i open the cache with the graphics, WinDinkEdit crashes...EVERYTIME!

Pleeease help me!
April 1st 2010, 09:39 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
If the problem presists i will cancel the dmod...
April 1st 2010, 10:26 AM
custom_iplaydink.gif
iplaydink
Peasant Male Sweden steam
Hmm.. 
Reinstall it?
April 2nd 2010, 03:36 PM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Ok guys, fixed the problem...turns out new dmod buttons were corrupted...thanks all!

D-mod will continue growing
April 4th 2010, 09:38 AM
goblinh.gif
mkbul
Peasant Male Greece
TPA~ 
Guys, i've just came up that i cannot continue this dmod now. I will continue it in a year or so.

Epics are for skilled programmers, while i am a noob.

Instead of an Epic, i'm looking to create a romp dmod, with the name "Quest for Revenge".

New dev. thread coming up in some time!

NOTE FOR FORWARD LOOKERS FOR TPA: Im very sorry for that, but SarbeTrout is right, i will first complete a small and simple D-mod rather than making a huge yet crappy dmod. When i learn more about this DinkC stuff, i will maybe move on to the Papyrus Advetures.
April 4th 2010, 10:02 AM
custom_skull.gif
Skull
Peasant Male Finland bloop
"I'd like to be a tree..." 
Great, actually.
April 4th 2010, 10:11 AM
custom_iplaydink.gif
iplaydink
Peasant Male Sweden steam
Hmm.. 
Yeah, it's always good to learn the basics (Something you obviously haven't) before doing something complicated like an epic.
April 4th 2010, 01:20 PM
slimeg.gif
metatarasal
Bard Male Netherlands
I object 
I'll have to second these last to comments, this is good news. Nobody has any use for highly ambitious files that are never released.