Jump to content

[fixed] model isn't showing up in game


Recommended Posts

Fix: Don't rename the .ase to something other than the original .map name. Change the .map name instead and then compile

hey, I followed this guide https://jkhub.org/forums/topic/10173-making-ase-models-with-gtkradiant/

the model appears inside of radiant fine, though the textures are incorrect, but I've seen this bug with functioning models so I assumed this was fine.
There are no errors in radiant when I drop the model into the .map, this is the shader:
 

Quote

textures/quicktrip/new_qt_wall2_entrance
{
    qer_editorimage    textures/quicktrip/new_qt_wall2_entrance
    qer_trans    0.5
    surfaceparm    metalsteps
    surfaceparm    nonopaque
    surfaceparm    trans
    q3map_nolightmap
    cull    twosided
    {
        map textures/quicktrip/new_qt_wall2_entrance
        alphaFunc GE192
        depthWrite
        rgbGen const ( 0.300000 0.300000 0.300000 )
        alphaGen blend
    }
}

textures/bounty/base for models/colosseum
{
    qer_editorimage    textures/bounty/base for models/colosseum
    qer_trans    0.5
    surfaceparm    metalsteps
    surfaceparm    nonopaque
    surfaceparm    trans
    q3map_nolightmap
    cull    twosided
    {
        map textures/bounty/base for models/colosseum
        alphaFunc GE192
        depthWrite
        rgbGen const ( 0.300000 0.300000 0.300000 )
        alphaGen blend
    }
}

textures/korriban/os_basic_pillar
{
    qer_editorimage    textures/korriban/os_basic_pillar
    qer_trans    0.5
    surfaceparm    metalsteps
    surfaceparm    nonopaque
    surfaceparm    trans
    q3map_nolightmap
    cull    twosided
    {
        map textures/korriban/os_basic_pillar
        alphaFunc GE192
        depthWrite
        rgbGen const ( 0.300000 0.300000 0.300000 )
        alphaGen blend
    }
}

I'm very confused as to why it doesn't show up in game, there is just nothing there. Below is the model inside of gtk radiant. note the incorrect textures showing up
spacer.png

 

Appreciate any replies

Smoo and Droidy365 like this
Link to comment
  • 1 month later...

Where is the "Origin" point of that model? Is it in the center, or at one of the sides? If it is inside the brush behind it, q3map2 will cull the model out during compile, and thus it will be invisible.

 

Edit: As far as the missing textures, if you flush and reload models and then flush and reload shaders, it usually fixes the issue, but that might be outdated info.

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...