Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Compiler error

  1. #1

    Compiler error

    HI, i'm new to Halo 2 Vista map editing so I was going through the tutorial. I'm sure I did everything correctly, but when compiling I got an error: Unable to find shader "material #26" (that's the material for f_im flat_light_scratchy). If I ignore hte error and try to load in sapien, it tells me the file is corrupted and closes. I'm not sure what I did wrong since the material has the correct name. Please help me out. Thanks.
    Reply With Quote

  2. #2
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: Compiler error

    The part with Sapien is because you must first run lightmaps - the help file lies to us. They must be run the first time you compile a BSP.
    Reply With Quote

  3. #3

    Re: Compiler error

    hmm...i ran "compile and light" this time but it still says it's corrupt.
    Reply With Quote

  4. #4
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: Compiler error

    Open your scenario in guerilla and find the part with bsp/lightmaps - be sure it references a valid scenario_structure_lightmaps. If that doesn't work, then something else is causing it that I don't know about.
    Reply With Quote

  5. #5

    Re: Compiler error

    Structure BSP: mylevel.scenario_structure_bsp
    Structure Lightmap: (nothing)
    Reply With Quote

  6. #6
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: Compiler error

    In that case, point the missing lightmap to either
    A. One in your level's folder, if it exists, or
    B. The one in scenarios\multi\example, for temporary lightmaps until you sucessfully make your own.
    Reply With Quote

  7. #7

    Re: Compiler error

    okay. it worked. Thanks a million. but i'm still wondering: why is the lightmap missing? Shouldn't the compiler have generated one?
    Reply With Quote

  8. #8
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: Compiler error

    For some reason or another it might have been interrupted or otherwise unsucessful - you can always use the "light only" option, or use the CMD prompt to type in the command manually.
    Reply With Quote

  9. #9

    Re: Compiler error

    I have two (final) problems.
    1. I don't think this is really problematic, but the floor looks all funky in sapien. It is multicolored instead of grey.

    2. WHen I package the level and then try to play it it sys there are no maps in the custom maps folder. Furthermore, when i try to go to my working directory to copy it, i notice that i am unable to navigate to the working directory using explorer (it works just fine with other programs). On top of that, I can't find the custom maps folder.
    Reply With Quote

  10. #10
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: Compiler error

    Quote Originally Posted by MuAlphaTheta View Post
    I have two (final) problems.
    1. I don't think this is really problematic, but the floor looks all funky in sapien. It is multicolored instead of grey.
    That's because of a missing shader - Halo 2 defaults to "invalid.shader," which is the multicolor that you see. Finding a way to fix your shader reference in 3ds will solve this.

    2. WHen I package the level and then try to play it it sys there are no maps in the custom maps folder. Furthermore, when i try to go to my working directory to copy it, i notice that i am unable to navigate to the working directory using explorer (it works just fine with other programs). On top of that, I can't find the custom maps folder.
    I can't help you with this, other than to say be sure you're checking off "copy map to folder" or whatever that option is - I've never had this problem.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •