Script Help
Hi folks,
Great new board. Let's just keep this one and not tell the other site ;)
I've been playing Dink and DMODS for about a year now and have just loved it. I am often 'lurking' on the other board and DN trying to get tips on games and asking the odd question now and then. Nothing serious. I'm not a programmer so I thought playing the games that other, very talented, people produce would be the best I could hope for.
Well, I've decided to take the big plunge and try and create a DMOD. Now hoold on a minute.... nothing serious now!! I should have said that I'm going to TRY and make a DMOD. Don't ask for story lines and timelines and stuff like that. As I said, brand spanking newbie with no programming skills but very eager to learn. I've downloaded all the tut's from DN and the skeleton and all of the other obvious stuff. If there are more resources that are not on the DN then let me know and I will gladly download them and add them to the volumes I already have. I'm going to do what was suggested in one of the tut's and that is - produce one that no-one ever see's, just to get the experience. And having made a map, can I just say from the outset - Hardness IS A BIT$$ -
Where I will need lots of help is scripts. I'm probably going to plagiarize most of them but I'm at my first dead end. I've spawned a script at the end of start1.c for an intro and it all works just fine..... - except for the wizard doesn't actually appear. His text does and his sound effect does, but he doesn't. Could someone please have a look at this and tell me what's gone wrong;
//wizard cut scene
void main( void )
{
freeze(1);
playmidi("wanderer.mid");
int &mcrap = create_sprite(260, 319, 7, 167, 1);
sp_seq(&mcrap, 167);
sp_speed(¤t_sprite, 1);
playsound(24, 22052, 0, 0, 0);
wait(300);
say_stop("What the...", 1);
wait(300);
I've even changed the sequence to 573 but still a no show. Any suggestions gratefully accepted.
ESKAY
Great new board. Let's just keep this one and not tell the other site ;)
I've been playing Dink and DMODS for about a year now and have just loved it. I am often 'lurking' on the other board and DN trying to get tips on games and asking the odd question now and then. Nothing serious. I'm not a programmer so I thought playing the games that other, very talented, people produce would be the best I could hope for.
Well, I've decided to take the big plunge and try and create a DMOD. Now hoold on a minute.... nothing serious now!! I should have said that I'm going to TRY and make a DMOD. Don't ask for story lines and timelines and stuff like that. As I said, brand spanking newbie with no programming skills but very eager to learn. I've downloaded all the tut's from DN and the skeleton and all of the other obvious stuff. If there are more resources that are not on the DN then let me know and I will gladly download them and add them to the volumes I already have. I'm going to do what was suggested in one of the tut's and that is - produce one that no-one ever see's, just to get the experience. And having made a map, can I just say from the outset - Hardness IS A BIT$$ -
Where I will need lots of help is scripts. I'm probably going to plagiarize most of them but I'm at my first dead end. I've spawned a script at the end of start1.c for an intro and it all works just fine..... - except for the wizard doesn't actually appear. His text does and his sound effect does, but he doesn't. Could someone please have a look at this and tell me what's gone wrong;
//wizard cut scene
void main( void )
{
freeze(1);
playmidi("wanderer.mid");
int &mcrap = create_sprite(260, 319, 7, 167, 1);
sp_seq(&mcrap, 167);
sp_speed(¤t_sprite, 1);
playsound(24, 22052, 0, 0, 0);
wait(300);
say_stop("What the...", 1);
wait(300);
I've even changed the sequence to 573 but still a no show. Any suggestions gratefully accepted.
ESKAY