[Gtkradiant] GtkRadiant 1.5 Quake 4 template issue

Forest `LordHavoc` Hale lordhavoc at ghdigital.com
Sat Oct 27 16:14:27 CDT 2007


Committed this change.  Thanks.

Branan Riley wrote:
> Alright, just figured it out. It turns out it's not an issue with
> GtkRadiant at all - it's an issue with the Quake4 gamepack. q4.game
> defines shaders="doom3", which isn't right - it needs to be
> shaders="quake4" in order to support templates.
> 
> Branan
> 
> PATCH:
> Index: tools/games/q4.game
> ===================================================================
> --- tools/games/q4.game (revision 25)
> +++ tools/games/q4.game (working copy)
> @@ -18,7 +18,7 @@
>    texturetypes="tga jpg dds"
>    modeltypes="lwo ase md5mesh"
>    maptypes="mapquake4"
> -  shaders="doom3"
> +  shaders="quake4"
>    entityclass="doom3"
>    entities="doom3"
>    brushtypes="quake4"
>  
> On 10/27/07, *Branan Riley* <branan at gmail.com <mailto:branan at gmail.com>>
> wrote:
> 
>     Hi everyone,
>      
>     I'm trying to use GtkRadiant for Quake 4, and I'm having a problem
>     with materials. Any material that uses a template isn't available in
>     the texture browser, and the console shows lots of lines like this one:
>     > shader instance: "textures/tram/walltrim1_1": shader template not
>     found: "generic_shader"
>      
>     This happens with all sorts of materials using all sorts of
>     templates. I tried running ShaderPlug to generate the tag file, but
>     the shaders are still missing. I'm seeing this error with the
>     pre-built Windows package, as well as a Linux build from the SVN
>     trunk. I'm using the latest Quake 4 patches.
>      
>     I'd be willing to try to make a patch, if someone could point me in
>     the right direction. I have no idea where to start looking for
>     material handling in the GtkRadiant source.
>      
>     Thank you,
>     Branan
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant

-- 
LordHavoc
Author of DarkPlaces Quake1 engine and mod
http://icculus.org/twilight/darkplaces/
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass




More information about the Gtkradiant mailing list