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


2 posters

    Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error

    PicNic
    PicNic
    Veteran
    Veteran


    Male
    Number of posts : 1584
    Age : 31
    Registration date : 2007-04-16

    Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error Empty Compiler: Unable to open file 'OBJWL_AGENT.OBJ' error

    Post by PicNic Tue Oct 21, 2008 3:01 am

    Hello, I want to have the Lighting effect:

    http://www.wolfenstein3d.co.uk/coding-lighting.htm

    ( When you walk under a ceiling lamp the screen flashes ? )

    But If I want to link the compiler says:

    Linker error: Unable to open file 'OBJ\WL_AGENT.OBJ'

    What is the problem? I have this:


    case bo_gibs:
    if (gamestate.health >10)
    return;

    SD_PlaySound (SLURPIESND);
    HealSelf (1);
    break;

    case bo_light:
    StartBonusFlash ();

    SD_PlaySound (SLURPIESND);
    HealSelf (1);
    break;


    I have tried many things like this:

    case bo_gibs:
    if (gamestate.health >10)
    return;

    SD_PlaySound (SLURPIESND);
    HealSelf (1);
    break;

    case bo_light:
    StartBonusFlash ();


    But nothing seems to work.. Can anyone help please?
    Dean
    Dean
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 590
    Age : 52
    Location : Australia
    Hobbie : Being smarter then everyone else in the room...
    Registration date : 2007-04-16

    Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error Empty Re: Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error

    Post by Dean Wed Oct 22, 2008 7:48 pm

    The bottom part;
    Code:
    [b]SD_PlaySound (SLURPIESND);
    HealSelf (1);
    break;[/b]
    shouldn't be there for starters.

    The tutorial looks strange becasue as far as I am aware it requires 2 seperate sprites to flash between;
    1. The light when on
    2. The light when off
    This doesn't appear to be in the tutorial at all.

    These might be a bit closer to what you are looking for;
    WSJ Animated static objects tutorial
    Animated static objects (Improved)
    PicNic
    PicNic
    Veteran
    Veteran


    Male
    Number of posts : 1584
    Age : 31
    Registration date : 2007-04-16

    Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error Empty Re: Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error

    Post by PicNic Thu Oct 23, 2008 12:16 am

    Oh, I thought it was when you go under a ceiling light the screen flashes, and when you are away from it it doesn't flash.

    Thanks anyways.

    Sponsored content


    Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error Empty Re: Compiler: Unable to open file 'OBJ\WL_AGENT.OBJ' error

    Post by Sponsored content


      Current date/time is Thu Nov 21, 2024 6:24 am