The Dink Network

95% done but stuck on my first Dmod

December 28th 2007, 12:36 PM
slimeb.gif
ArcticXTaco
Peasant He/Him United States
Time for some Rome Total War and Piss Warm 7up 
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?
December 28th 2007, 01:14 PM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
95% done, huh? Your questions tell me otherwise.
December 28th 2007, 02:23 PM
slimeb.gif
ArcticXTaco
Peasant He/Him United States
Time for some Rome Total War and Piss Warm 7up 
Fine prob 80%

But thanks for the help!! (tard)
December 28th 2007, 03:01 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
1) Just take a standard enemy and add this in the void die() procedure:
if (get_sprite_with_this_brain(9, &current_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)
December 28th 2007, 03:11 PM
slimeb.gif
ArcticXTaco
Peasant He/Him United States
Time for some Rome Total War and Piss Warm 7up 
but whats the procendure for addings swords
December 29th 2007, 01:21 AM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
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