Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

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


3 posters

    [Help] Intermission screen between levels in SDL

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


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

    [Help] Intermission screen between levels in SDL Empty [Help] Intermission screen between levels in SDL

    Post by kkk911 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
    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by ronwolf1705 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.



    [Help] Intermission screen between levels in SDL MMCS0206
    kkk911
    kkk911
    Don't Hurt Me!
    Don't Hurt Me!


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

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

    OK, i'll try them out! Thank you!
    kkk911
    kkk911
    Don't Hurt Me!
    Don't Hurt Me!


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 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
    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by ronwolf1705 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?



    [Help] Intermission screen between levels in SDL MMCS0206
    kkk911
    kkk911
    Don't Hurt Me!
    Don't Hurt Me!


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by kkk911 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
    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

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

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



    [Help] Intermission screen between levels in SDL MMCS0206
    Mega Luigi
    Mega Luigi
    Bring em' On!
    Bring em' On!


    Number of posts : 161
    Age : 14
    Registration date : 2012-11-01

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by Mega Luigi 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
    kkk911
    Don't Hurt Me!
    Don't Hurt Me!


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

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

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

    I only did it on vanilla code, and didn't added any Vgagraph graphics.
    Mega Luigi
    Mega Luigi
    Bring em' On!
    Bring em' On!


    Number of posts : 161
    Age : 14
    Registration date : 2012-11-01

    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by Mega Luigi 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


    [Help] Intermission screen between levels in SDL Empty Re: [Help] Intermission screen between levels in SDL

    Post by Sponsored content


      Current date/time is Thu Nov 21, 2024 4:07 am