The Dink Network

Die Without Menu

October 5th 2007, 06:26 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
Ok, what I want to happen, is Dink has a coversation with a bad guy, they talk, the bad guy kills him [hurt(1, 500);], and I got that, but I want the bad guy to say a bit more and then do restart_game();. But, what I can't get is that when the bad guy gets dome talking after Dink dies, it goes to the main menu with the menu:

Load A Previously Saved Game
Quit To Windows

I want to get rid of that menu.
October 5th 2007, 06:39 PM
spike.gif
Modify dinfo.c
October 5th 2007, 06:43 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
Where's that at? (i'm not very good at this kind of thing)
October 5th 2007, 07:32 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
Nevermind, I just fixed it without doing that. I flipped everything around so that DInk dies after the bad guy talks more.
October 5th 2007, 08:40 PM
spike.gif
That seems like a better solution if you don't need to tinker with Dink dying for something else.

FYI, dinfo.d controls what happens when Dink dies in original Dink. If you name a script dinfo.c in your own dmod's folder the game will use that instead of the one from original Dink. All the scripts from the original game can be found in .c format in develop\source.zip
October 5th 2007, 08:45 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
thanks.