Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    [Help] Intermission screen between levels in SDL

    Share

    kkk911
    Don't Hurt Me!
    Don't Hurt Me!

    Male
    Number of posts : 61
    Age : 19
    Location : Hungary
    Hobbie : Modding, Photography, Gaming, collecting scale modells
    Registration date : 2012-03-25

    [Help] Intermission screen between levels in SDL

    Post by kkk911 on Sun Apr 05, 2015 9:56 am

    Hello there! Haven't written in a while! Well, i have just took a break in Wolf3D Modding, but i'm back in business now!

    So my question is, how can i add intermission screens between levels in the SDL Port? I have searched many times for a tutorial or something, but i can't seem to find anything about it. :/

    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer

    Male
    Number of posts : 1252
    Age : 25
    Registration date : 2007-03-26

    Re: [Help] Intermission screen between levels in SDL

    Post by ronwolf1705 on Sun Apr 05, 2015 1:07 pm

    Perhaps this thread can help you: diehardwolfers.areyep.com/viewtopic.php?t=5213

    You have to apply both BT's and Havoc's coding from the thread.




    kkk911
    Don't Hurt Me!
    Don't Hurt Me!

    Male
    Number of posts : 61
    Age : 19
    Location : Hungary
    Hobbie : Modding, Photography, Gaming, collecting scale modells
    Registration date : 2012-03-25

    Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 on Sun Apr 05, 2015 1:55 pm

    OK, i'll try them out! Thank you!

    kkk911
    Don't Hurt Me!
    Don't Hurt Me!

    Male
    Number of posts : 61
    Age : 19
    Location : Hungary
    Hobbie : Modding, Photography, Gaming, collecting scale modells
    Registration date : 2012-03-25

    Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 on Mon Apr 06, 2015 1:18 am

    Well, i've tried it out (i applied BT and Havoc's coding). It doesn't work, but in a very odd manor. When i start a game, my statusbar gets screwed up, and when i finish a level, after the the percent ratio screen the game just freezes. (except the music)
    Even the compiler doesn't displayed any errors.

    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer

    Male
    Number of posts : 1252
    Age : 25
    Registration date : 2007-03-26

    Re: [Help] Intermission screen between levels in SDL

    Post by ronwolf1705 on Mon Apr 06, 2015 6:02 am

    Hmmm, that's weird. You could try the fix Soldat_555's suggests in that thread, but otherwise I can't really explain why it's giving you those particular problems. I never had them, at least, so perhaps it's another piece of coding that is causing problems?




    kkk911
    Don't Hurt Me!
    Don't Hurt Me!

    Male
    Number of posts : 61
    Age : 19
    Location : Hungary
    Hobbie : Modding, Photography, Gaming, collecting scale modells
    Registration date : 2012-03-25

    Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 on Mon Apr 06, 2015 6:15 am

    Well, i also enabled Read This! and EndArt feature, by using MCS's and Havoc's tutorials, but that's all. I always test out features like those Intermission screens on pure vanilla source code, before applying to my actual mod.
    And i've also done Soldat 555's fix, with same results. :/

    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer

    Male
    Number of posts : 1252
    Age : 25
    Registration date : 2007-03-26

    Re: [Help] Intermission screen between levels in SDL

    Post by ronwolf1705 on Mon Apr 06, 2015 6:25 am

    I'm stumped, in that case. Hopefully someone else can help you out.




    Mega Luigi
    Bring em' On!
    Bring em' On!

    Number of posts : 135
    Age : 13
    Registration date : 2012-11-01

    Re: [Help] Intermission screen between levels in SDL

    Post by Mega Luigi on Tue Apr 07, 2015 1:26 pm

    I won't guarantee that's the case, but I've had similar problems when some data lumps were not loaded properly. You see, status bar graphic and the things you should see in the end level screen are in the same lump, so my guess is that this is somehow related. The errors you mentioned, did you encounter them when you did the code in vanilla wolf or in some other code? If it wasn't in vanilla wolf, did you add any vgagraph graphics lately?

    kkk911
    Don't Hurt Me!
    Don't Hurt Me!

    Male
    Number of posts : 61
    Age : 19
    Location : Hungary
    Hobbie : Modding, Photography, Gaming, collecting scale modells
    Registration date : 2012-03-25

    Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 on Sat Apr 11, 2015 1:06 am

    I only did it on vanilla code, and didn't added any Vgagraph graphics.

    Mega Luigi
    Bring em' On!
    Bring em' On!

    Number of posts : 135
    Age : 13
    Registration date : 2012-11-01

    Re: [Help] Intermission screen between levels in SDL

    Post by Mega Luigi on Sat Apr 11, 2015 2:43 pm

    Well, taking in that in consideration, here's what I think:

    In GameLoop(), in wl_game, you most likely removed DrawPlayScreen() call near the label "restartgame". Although the way the tutorial is written may suggest you to do so, do not remove it, nor anything else, by the way. You just insert that block that begins with "#ifdef AUTOINTER" and ends with "#endif" right in that place, but do not remove any lines. As for the game "freezing" after the percent screen, I'm not quite sure what can cause that, but I still think you may have altered something that didn't need any change. If that doesn't work, if you don't mind, I can take a look in your files, although I can't promise anything.

    Sponsored content

    Re: [Help] Intermission screen between levels in SDL

    Post by Sponsored content Today at 2:13 pm


      Current date/time is Thu Dec 08, 2016 2:13 pm