95% done but stuck on my first Dmod
A few Question from a noobish Taco to
a Dmod expert
0) just so all you guys know, Im gonna need my istuctions step by step in noobish lang
1)How does screenlock work Im trying to
make it so It unlocks when you kill enemys
2) How do you make the title screen with
pictures and crap, I dont have any fancy
software
3)How can I make it so you can buy 2
different swords from a shop guy
4) My enemys are knights ( humans in armor
with long axes) How can I make then hit
you with there weapon instead of running
into you?
a Dmod expert
0) just so all you guys know, Im gonna need my istuctions step by step in noobish lang
1)How does screenlock work Im trying to
make it so It unlocks when you kill enemys
2) How do you make the title screen with
pictures and crap, I dont have any fancy
software
3)How can I make it so you can buy 2
different swords from a shop guy
4) My enemys are knights ( humans in armor
with long axes) How can I make then hit
you with there weapon instead of running
into you?
95% done, huh? Your questions tell me otherwise.
Fine prob 80%
But thanks for the help!! (tard)
But thanks for the help!! (tard)
1) Just take a standard enemy and add this in the void die() procedure:
if (get_sprite_with_this_brain(9, ¤t_sprite) == 0)
{
screenlock(0);
playsound(43, 22050,0,0,0);
}
This will make sure the screenlock disapears when you kill all the enemies. the line screenlock(1); will set the screenlock. A good place to place this is in the void main(void) procedure in the enemy's script.
2) Well if you don't have any fancy software you've just gotta keep it simple I suppose... To edit the titlescreen edit TITLE-01.bmp in the GRAPHICS folder of your DMOD.
3) Well do something like this:
//first create a choice menu:
choice_start()
"Buy sword1"
"Buy sword2"
"leave"
choice_end()
if (&result == 1)
{
//Procedure for adding sword1
}
if (&result == 2)
{
//Procedure for adding sword2
}
4) Look in the DinkC reference under 'Techniques'-'enemies'-'Attackers'. It will tell you the basics of making an attacking enemy. (Or easier copy a knight from the original game)
if (get_sprite_with_this_brain(9, ¤t_sprite) == 0)
{
screenlock(0);
playsound(43, 22050,0,0,0);
}
This will make sure the screenlock disapears when you kill all the enemies. the line screenlock(1); will set the screenlock. A good place to place this is in the void main(void) procedure in the enemy's script.
2) Well if you don't have any fancy software you've just gotta keep it simple I suppose... To edit the titlescreen edit TITLE-01.bmp in the GRAPHICS folder of your DMOD.
3) Well do something like this:
//first create a choice menu:
choice_start()
"Buy sword1"
"Buy sword2"
"leave"
choice_end()
if (&result == 1)
{
//Procedure for adding sword1
}
if (&result == 2)
{
//Procedure for adding sword2
}
4) Look in the DinkC reference under 'Techniques'-'enemies'-'Attackers'. It will tell you the basics of making an attacking enemy. (Or easier copy a knight from the original game)
but whats the procendure for addings swords
You should try downloading Sabretrout's generic
scripts. There's even a c file in there that allows
up to 3 swords in the shop.
scriptus generica
scripts. There's even a c file in there that allows
up to 3 swords in the shop.
scriptus generica