Results 1 to 4 of 4

Thread: Need Help with bitmaps/shaders.

  1. #1

    Question Need Help with bitmaps/shaders.

    ummm ok i downloaded a bitmaps file with like a butt load of bitmaps in it. where do i put them into so i can use them in my map/maps? i tried copying and pasting them into the forunner/industries/metals folder but it didnt work. when i loaded it into sapien i got like bitmap errors for everything except the floor. like it was a bunch of small squares that were blue pink and other shades of blue and pink and stuff. so if anyone can help me that would awsome!

    p.s. (they're in a .TIF format type thing file)
    Last edited by swolleneyeballs; February 8th, 2008 at 12:02 PM.
    Reply With Quote

  2. #2

    Re: Need Help with bitmaps/shaders.

    You can put the bitmaps anywhere you want. You have to put your shader you create with the bitmaps attached in a folder that the shader_collections file recognizes.
    Reply With Quote

  3. #3
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Post Re: Need Help with bitmaps/shaders.

    To use bitmaps in your map.
    • Put your tiff files in "Halo 2 Map Editor\data\scenarios\bitmaps". Under a new folder you will need to create. (for example create a new folder named "test").
    • Open the halo 2 map editor and go to the bitmap creation tab.
    • Select one of the files you want to convert (It will convert all the available files in the folder). Now click convert image.
    • Let the program convert the files (if any errors, make sure that your tiff files have the right dimensions).
    • The tool will place the converted files in "Halo 2 Map Editor\tags\scenarios\bitmaps\test\" (the files will be in the .bitmap file type).
    • Now you will need to create shaders for the bitmaps you just created: Open guerilla and click on "file" and select "new" and then pick shader. It will now create an empty shader file.
    • You will need to edit your shader now. First pick a shader template you find suitable for the thing you have in mind.
    • Further fill in the shader (once you select a shader template, it will give you more options).
    • Save your shader in a new folder (for example shader_test and name the shader testshader) in "Halo 2 Map Editor\tags\scenarios\shaders".
    • Now you will need to edit your shader collections file (located in Halo 2 Map Editor\tags\scenarios\shaders). You will need to open it with notepad (A small part of the file is under here)
    ; <- this character indicates a comment, blank lines are okay too
    ;
    ; each shader collection is a named directory that the environment importing process
    ; knows to look in for shaders - each line in this file has the format
    ;
    ; abbreviation tag directory
    ;
    ; do not remove this first entry, it specifies the default place to look
    * scenarios\shaders
    ; ========== general-purpose shaders (invisible collision geometry, etc)
    g scenarios\shaders\generic
    n scenarios\shaders\nature
    m scenarios\shaders\multi
    shared scenarios\shaders\shared\shaders
    ui scenarios\shaders\ui
    mainmenu scenarios\shaders\ui\mainmenu
    ; ========== forerunner shaders
    f scenarios\shaders\forerunner
    f_if scenarios\shaders\forerunner\industrial\floors
    f_ig scenarios\shaders\forerunner\industrial\glass
    f_il scenarios\shaders\forerunner\industrial\lights
    f_im scenarios\shaders\forerunner\industrial\metals
    f_it scenarios\shaders\forerunner\industrial\tech

    ; ========== my shaders
    t scenarios\shaders\shader_test

    ; ========== covenant shaders
    c scenarios\shaders\covenant
    c_mm scenarios\shaders\covenant\military\metals
    c_mt scenarios\shaders\covenant\military\tech
    ; ========== human shaders
    h scenarios\shaders\human
    h_um scenarios\shaders\human\urban\metals
    h_ug scenarios\shaders\human\urban\glass
    h_ugrnd scenarios\shaders\human\urban\ground
    h_up scenarios\shaders\human\urban\pavers

    Something like the red you need to add to the file. After you made that change, save the file.
    • Now you will need to properly set up your materials in 3dsmax.
      For every material you will need to use the appropriate linkage or the tools will not understand what shader you are using.
      For example: a new material (with ID|Name|Submaterial). Click on the button which at the top states submaterial. Max will now open a new dialog in the material editor. At the top next to standard, you have a textbox, there you'll need to put your name. Like t testshader (the one I made in this example) or f_im flat_dark_scratchy (a default shader). The t you put in front is the code you added in the shader collections file which refers to "scenarios\shaders\shader_test" and behind the t you just put the filename of the shader in this case being "testshader".
    • I assume you now the rest (exporting and compiling)
    Hope this helps a little.
    Last edited by beele; February 8th, 2008 at 01:04 PM.
    Reply With Quote

  4. #4

    Re: Need Help with bitmaps/shaders.

    okay, i'll try that.
    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
  •