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


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

    Share

    PicNic
    Veteran
    Veteran

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

    Compiler: Unable to open file 'OBJWL_AGENT.OBJ' error

    Post by PicNic on 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
    Spear of Destiny
    Spear of Destiny

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

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

    Post by Dean on 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
    Veteran
    Veteran

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

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

    Post by PicNic on 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

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

    Post by Sponsored content Today at 4:43 am


      Current date/time is Mon Dec 05, 2016 4:43 am