DotProduct2


(flower.Hercules) #1

What is the q3map version cut-off for compiling maps with DotProduct2? I grabbed Socks terrain1.zip from Simland and everything compiles just fine, except in-game I don’t get any of the nice blending that he does, just hard cutoffs on all the textures. I also get an error:

WARNING: Unknown q3map_alphaMod method: dotproduct2
WARNING: Unknown q3map_alphaMod method: dotproduct2
WARNING: Unknown q3map_alphaMod method: dotproduct2
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set
WARNING: Unknown q3map_alphaMod method: volume
WARNING: Unknown q3map_alphaMod method: set

I don’t know if this is a version problem or another problem.

The output of q3map2 is

kyle@localhost maps $ q3map2 
2.5.11
threads: 4
Q3Map         - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.11
GtkRadiant    - v1.4.0 Dec 21 2003 22:06:10
A well-oiled toaster oven
VFS Init: /home/kyle/.q3a/baseq3/
VFS Init: /usr/local/games//baseq3/

So I am assuming I have 2.5.11, is that a new enough version that it should be blending stuff together? My script is as follows

#!/bin/bash

# Set locations here
q3map_path=/usr/local/bin/q3map2                # q3map2 file location
et_path=/home/kyle/.etwolf/etmain/              # Enemy Territory installation location
map_location=/home/kyle/.etwolf/etmain/maps/    #base directory, see comment below

# The map location is the base directory for your maps, you will use a parameter
# on the command line to tell the compiler what map you are currently wanting to
# compile -- the .map extension will be added automagically.

$q3map_path -v -meta -fs_basepath $et_path -game et $map_location$1.map
$q3map_path -vis -saveprt -fs_basepath $et_path -game et $map_location$1.map
$q3map_path -light -fast -samples 2 -patchshadows -fs_basepath $et_path -game et $map_location$1.map

$q3map_path -meta -patchmeta -fs_basepath $et_path -game et $map_location$1.map
$q3map_path -convert ase -fs_basepath $et_path -game et $map_location$1.map

If anybody has any ideas on how to get this all working, feel free to share.


(Twisted0n3) #2

I think you need 2.5.14 or later. 2.5.16 is the latest as of this posting. While shaderlab is down, you can get it from Obsidian’s kindly-provided mirror here.