The Dink Network

Dink and the HUB

July 11th 2006, 06:39 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Ah, ah. Finally I decided to continue working on my DMod again. And so I did.

I haven't touched this Dmod in months. I think February. So it's time to start working on this baby again. It's going swell already.

For you people who haven't been around when I released my first Dmod (or just plain forgot about the HUB idea): Dink and the HUB stands for Dink and the Hero Unemployment Board. Dink will subscribe to a board specially founded for heroes to find work, and he will earn money this way by doing a few quests. There will be 10 quests, and 2 or 3 bonus quests that either have to be unlocked some way or earned by playing the game and quests in a certain order or style.

The Dmod will keep using the ideas I had earlier, and you will have more of a choice in what you will do next. For example you can skip the first two quests in their entirety, but you won't make as much money which will affect the ending. The third quest is necessary to unlock new quests though, but I'll probably make it so there are different ways to solve key quests, so you might unlock different quests or even a bonus quest depending on your actions.

So, after playing through what I had made till February, I noticed a few flaws and unsatisfying things. For example, the story was supposed to continue from Helpin' the Ol' Duck Farmer, but that doesn't fit in well. So I overhauled the startup story in its entirety, it's much better now.

Also, this will be Dink and the HUB 1, not 2. I don't consider Helpin' the Ol' Duck Farmer one of the 'series' anymore. Yes, I am planning to make a series. Even if it will take me years to make only three parts in the series, even.

So that's it for now.

Just one thing I could use some help with: blowing up rocks wit ha bomb. In the game, mind you. Preferably with comments in-between them so I know why certain things are done. Could someone help me with this?
July 12th 2006, 02:44 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
I'm not sure this is what you want, but here's the script that I used in dvsm2 to blow the rock from the cave(only the hit function). I think I took it from some other DMOD, just can't remember which.
I'm pretty sure you'll understand it, but I commented it still.

void hit(void)
{
int &rcrap = compare_sprite_script(&missle_source, "dam-bomn");
//this checks if the sprite was hit by a bomb(checks the
//missile's script)
if (&rcrap == 1)
//if the missile's script is the one we searched for
{
sp_hard(&current_sprite, 1);//kill the hardness
draw_hard_sprite(&current_sprite);//redraw the hardness
sp_active(&current_sprite, 0);//kill the rock
playsound(43, 22050, 0,0,0);//play the "unlock" sound

int &hold = sp_editor_num(&current_sprite);
//editor stuff, so the rock will never show up again
if (&hold != 0)
editor_type(&hold, 1);
}
}

One more advice: if you intend to make an un-linear story, just make sure that the best ending will be avaible, nomather the order you'll complete the tasks. It's quite annoing to finish the game, then having to start it over because at a certain moment, you missed one task(in lot, i missed the muttant quest, but i cheated, because i didn't want to start the second part again).
Good luck, and I can't way to play your DMOD
July 12th 2006, 03:10 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Thanks for the bomb code, the compare_sprite_script is exactly what I needed (and didn't know)! I will try this today.

You can always finish older quests even when you're right before the end of the game, because you can choose yourself when to stop. You have to finish only one certain quest to unlock the ending, and then it's up to you if you stop or continue. The ending will be affected by this.

HOWEVER, bonus quests DO get unlocked only when you played certain quests in a certain order...