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...


    [SOLVED] Problem with Gun Bobbing 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

    [SOLVED] Problem with Gun Bobbing in SDL

    Post by kkk911 on Thu Jan 15, 2015 12:31 pm

    Well, that's the very first time that i managed to get the "subject" working, but i've got some really wierd issues.
    First of all, i used BrotherTank's sugestion, which can be found here (at page 3):
    http://diehardwolfers.areyep.com/viewtopic.php?t=5200&postdays=0&postorder=asc&highlight=gun+bobbing&&start=40

    Which is working, but with a wierd side effect of changing the ceiling colours whenever i shoot an enemy. And after i die for the first time in the game, on the second try, BJ's weapons are starts going out from the screen....literarly.

    Does that problems ever occured with you guys?
    How should i solve it?

    EDIT: I was able to solve it for myself by doing a "Rebuild all". Still, this was the most weirdest coding oditty i've ever came across with....


    Last edited by kkk911 on Thu Jan 15, 2015 1:22 pm; edited 2 times in total

    Guest
    Guest

    Re: [SOLVED] Problem with Gun Bobbing in SDL

    Post by Guest on Thu Jan 15, 2015 1:10 pm

    it's working so far for me (funny idea!), what if you lower screen size F5?

    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: [SOLVED] Problem with Gun Bobbing in SDL

    Post by kkk911 on Thu Jan 15, 2015 1:20 pm

    Well, i just hit "Rebuild all" and it fixed it!
    Don't ask, why i didn't tried this earlier....even i don't know xD

    Anyway, thanks for the tip!

    Sponsored content

    Re: [SOLVED] Problem with Gun Bobbing in SDL

    Post by Sponsored content Today at 3:11 pm


      Current date/time is Fri Dec 09, 2016 3:11 pm