Error texture when importing custom picture

Discussion in 'Mapping Questions & Discussion' started by Zeklyn, Jul 31, 2016.

  1. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
    I am getting an error texture when I try to import a custom picture
    This is what i get:
    http://prntscr.com/bzwn37

    This is what i try to get:
    http://prntscr.com/bzwo1z

    Is it any way to fix this? I've been searching around and i've found nothing
    I've tried putting the VTF file and VMF file in the material folder (not custom)
    and i've tried the custom.
    This is what i have in the text file (I'm uusing 3klip's metode) :

    "LightmappedGeneric"
    {
    "$basetexture" "custom/nopeengineer"
    }


    This is where i have it now:
    http://prntscr.com/bzwplp

    Pardon my bad english and describing
    Hope anyone can help me with this problem
     
  2. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,006
    Positive Ratings:
    1,160
    The only issue I see is with your $basetexture path. It should reference the location of the vtf file, which in your case is at tf/materials. You can fix this one of two ways:
    • Change the file path in the vmt to just "nopeengineer", since this should be the entire path after tf/materials (tf/materials/nopeengineer).
    • Create a folder in tf/materials called custom and move the nopeengineer files into it, which corrects their path to (tf/materials/custom/nopeengineer). Or, you can name this new folder whatever you want and edit the vmt accordingly. I would recommend this option because it helps keep all the custom textures in your materials folder organized.
     
    • Thanks Thanks x 1
  3. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
    Thanks!
    but i just got a new problem, the skybox just dissapeared. I havent changed anything with the skybox.

    Processing areas...done (0)
    Building Faces...done (0)
    Chop Details...done (0)
    Find Visible Detail Sides...done (0)
    Merging details...done (0)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    Finding displacement neighbors...
    Finding lightmap sample positions...
     
  4. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,006
    Positive Ratings:
    1,160
    Did the sky actually disappear in-game? That compile log error is unrelated and can be safely ignored; it only affects cubemaps (the images you see in reflective surfaces).
     
    • Thanks Thanks x 1
  5. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
    Well the error came back and this time its worse

    This is what i see when i run the map:
    http://prntscr.com/c0oi7d
    This is what its meant to look like:
    http://prntscr.com/c0ojhl

    This just randomely happened i get the same error as above too
    I havent modified the skybox or touched it

    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    Finding displacement neighbors...
    Finding lightmap sample positions...
     
  6. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,027
    Positive Ratings:
    1,995
    you have a leak from the looks of it

    check you dont have radius culling on, and load your pointfile to see where the leak is, then plug it up
     
  7. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
    I have only one leak and that is not skybox related. I get many brush errors i've checked the cordinates and it sends me outside of the skybox. Far away from the skybox
    Here is my compile log:

    * Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\-----\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake.vmf"

    Valve Software - vbsp.exe (Jul 26 2016)
    8 threads
    materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
    Loading C:\Users\--\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake.vmf
    ConVarRef mat_reduceparticles doesn't point to an existing ConVar
    fixing up env_cubemap materials on brush sides...
    ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
    **** leaked ****
    Entity light (-612.00 307.00 3446.60) leaked!

    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 3584.0 -132.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 3584.0 1772.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4608.0 4096.0 1640.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-5632.0 4096.0 1640.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 2560.0 -132.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 2560.0 1772.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 1536.0 1772.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:


    FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-4096.0 1536.0 -132.0)
    Leaf 0 contents:
    Leaf 1 contents: CONTENTS_SOLID
    viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
    This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
    Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
    Candidate brush IDs:

    *** Suppressing further FindPortalSide errors.... ***
    Processing areas...done (0)
    Building Faces...done (0)
    Chop Details...done (0)
    Find Visible Detail Sides...done (0)
    Merging details...done (0)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    Finding displacement neighbors...
    Finding lightmap sample positions...
    Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
    Building Physics collision data...
    done (1) (426405 bytes)
    Error loading studio model ""!
    Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
    Compacting texture/material tables...
    Reduced 2374 texinfos to 1498
    Reduced 244 texdatas to 204 (7792 bytes to 5991)
    Writing C:\Users\-----\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake.bsp
    Wrote ZIP buffer, estimated size 41574, actual size 30372
    7 seconds elapsed

    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -fast "C:\Users\-----\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake"

    Valve Software - vvis.exe (Jul 26 2016)
    fastvis = true
    8 threads
    reading c:\users-----\desktop\vmex098g\tf2 map remakes\MARIO_KART_remake.bsp
    reading c:\users\------\desktop\vmex098g\tf2 map remakes\MARIO_KART_remake.prt
    LoadPortals: couldn't read c:\users\lukas\desktop\vmex098g\tf2 map remakes\MARIO_KART_remake.prt


    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -noextra "C:\Users\-----\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake"

    Valve Software - vrad.exe SSE (Jul 26 2016)

    Valve Radiosity Simulator
    8 threads
    [Reading texlights from 'lights.rad']
    unknown light specifier type - lights

    [56 texlights parsed from 'lights.rad']

    Loading c:\users\---\desktop\vmex098g\tf2 map remakes\MARIO_KART_remake.bsp
    No vis information, direct lighting only.
    Setting up ray-trace acceleration structure... Done (0.55 seconds)
    7466 faces
    2 degenerate faces
    2929081 square feet [421787776.00 square inches]
    40 Displacements
    28073 Square Feet [4042592.25 Square Inches]
    46 direct lights
    BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (9)
    Build Patch/Sample Hash Table(s).....Done<0.0392 sec>
    FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (3)
    FinalLightFace Done
    0 of 0 (0% of) surface lights went in leaf ambient cubes.
    ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (14)
    Writing leaf ambient...done
    Ready to Finish

    Object names Objects/Maxobjs Memory / Maxmem Fullness
    ------------ --------------- --------------- --------
    models 84/1024 4032/49152 ( 8.2%)
    brushes 1035/8192 12420/98304 (12.6%)
    brushsides 7296/65536 58368/524288 (11.1%)
    planes 4856/65536 97120/1310720 ( 7.4%)
    vertexes 10331/65536 123972/786432 (15.8%)
    nodes 4593/65536 146976/2097152 ( 7.0%)
    texinfos 1498/12288 107856/884736 (12.2%)
    texdata 204/2048 6528/65536 (10.0%)
    dispinfos 40/0 7040/0 ( 0.0%)
    disp_verts 1000/0 20000/0 ( 0.0%)
    disp_tris 1280/0 2560/0 ( 0.0%)
    disp_lmsamples 104512/0 104512/0 ( 0.0%)
    faces 7466/65536 418096/3670016 (11.4%)
    hdr faces 0/65536 0/3670016 ( 0.0%)
    origfaces 4032/65536 225792/3670016 ( 6.2%)
    leaves 4678/65536 149696/2097152 ( 7.1%)
    leaffaces 8604/65536 17208/131072 (13.1%)
    leafbrushes 1818/65536 3636/131072 ( 2.8%)
    areas 5/256 40/2048 ( 2.0%)
    surfedges 51514/512000 206056/2048000 (10.1%)
    edges 28769/256000 115076/1024000 (11.2%)
    LDR worldlights 46/8192 4048/720896 ( 0.6%)
    HDR worldlights 0/8192 0/720896 ( 0.0%)
    leafwaterdata 0/32768 0/393216 ( 0.0%)
    waterstrips 463/32768 4630/327680 ( 1.4%)
    waterverts 0/65536 0/786432 ( 0.0%)
    waterindices 7191/65536 14382/131072 (11.0%)
    cubemapsamples 37/1024 592/16384 ( 3.6%)
    overlays 1/512 352/180224 ( 0.2%)
    LDR lightdata [variable] 3614708/0 ( 0.0%)
    HDR lightdata [variable] 0/0 ( 0.0%)
    visdata [variable] 0/16777216 ( 0.0%)
    entdata [variable] 77136/393216 (19.6%)
    LDR ambient table 4678/65536 18712/262144 ( 7.1%)
    HDR ambient table 4678/65536 18712/262144 ( 7.1%)
    LDR leaf ambient 23238/65536 650664/1835008 (35.5%)
    HDR leaf ambient 4678/65536 130984/1835008 ( 7.1%)
    occluders 0/0 0/0 ( 0.0%)
    occluder polygons 0/0 0/0 ( 0.0%)
    occluder vert ind 0/0 0/0 ( 0.0%)
    detail props [variable] 1/12 ( 8.3%)
    static props [variable] 1/13954 ( 0.0%)
    pakfile [variable] 30372/0 ( 0.0%)
    physics [variable] 426405/4194304 (10.2%)
    physics terrain [variable] 10536/1048576 ( 1.0%)

    Level flags = 0

    Total triangle count: 19931
    Writing c:\users\----\desktop\vmex098g\tf2 map remakes\MARIO_KART_remake.bsp
    26 seconds elapsed

    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Users\------\Desktop\vmex098g\TF2 Map Remakes\MARIO_KART_remake.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\MARIO_KART_remake.bsp"


    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" -windowed -noborder -w 1920 -h 1080 -novid +map "MARIO_KART_remake" -steam
     
  8. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,027
    Positive Ratings:
    1,995
    yea leaks break the skybox, load your pointfile to see where it is and fix it
     
  9. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
  10. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,027
    Positive Ratings:
    1,995
    wrap it in a skybox i guess
     
    • Thanks Thanks x 1
  11. Zeklyn

    Zeklyn L2: Junior Member

    Messages:
    80
    Positive Ratings:
    20
    Thanks!