Module dpmod: Change committed
havoc at icculus.org
havoc at icculus.org
Wed Jul 30 20:43:06 EDT 2003
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : dpmod
Commit time: 2003-07-31 00:43:06 UTC
Log message:
updated DP_GFX_SKINFILES extension to describe quake3 syntax skin files
Modified files:
qc/dpextensions.qc
------=MIME.460120ea4e262234ca907b61c7475f88
Content-Type: text/plain; name="dpmod.20030731.004306.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20030731.004306.havoc.diff"
Content-Transfer-Encoding: 8bit
Index: dpmod/qc/dpextensions.qc
diff -u dpmod/qc/dpextensions.qc:1.11 dpmod/qc/dpextensions.qc:1.12
--- dpmod/qc/dpextensions.qc:1.11 Sun Jul 27 00:50:57 2003
+++ dpmod/qc/dpextensions.qc Wed Jul 30 20:42:56 2003
@@ -6,13 +6,23 @@
//darkplaces implementation: LordHavoc
//description:
//alias models (mdl, md2, md3) can have .skin files to replace conventional texture naming, these have a naming format such as:
-//progs/test.mdl_0.skin
-//progs/test.mdl_1.skin
+//progs/test.md3_0.skin
+//progs/test.md3_1.skin
//...
+//
//these files contain replace commands (replace meshname shadername), example:
-//replace "helmet" "progs/test/helmet1.tga"
+//replace "helmet" "progs/test/helmet1.tga" // this is a mesh shader replacement
//replace "teamstripes" "progs/test/redstripes.tga"
-//replace "visor" "common/nodraw"
+//replace "visor" "common/nodraw" // this makes the visor mesh invisible
+////it is not possible to rename tags using this format
+//
+//Or the Quake3 syntax (100% compatible withe Quake3's .skin files):
+//helmet,progs/test/helmet1.tga // this is a mesh shader replacement
+//teamstripes,progs/test/redstripes.tga
+//visor,common/nodraw // this makes the visor mesh invisible
+//tag_camera, // this defines that the first tag in the model is called tag_camera
+//tag_test, // this defines that the second tag in the model is called tag_test
+//
//any names that are not replaced are automatically show up as a grey checkerboard to indicate the error status, and "common/nodraw" is a special case that is invisible.
//this feature is intended to allow multiple skin sets on md3 models (which otherwise only have one skin set).
//other commands might be added someday but it is not expected.
More information about the twilight-commits
mailing list