From: Rudolf Polzer Date: Sun, 5 Jun 2011 18:40:59 +0000 (+0200) Subject: document _skin key in misc_model X-Git-Tag: xonotic-v0.5.0~98^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4848aa1421d8a8ff302a0707eecc4ac9ef289e98;p=xonotic%2Fxonotic-maps.pk3dir.git document _skin key in misc_model --- diff --git a/scripts/entities.def b/scripts/entities.def index 22ca96eb..77dfd517 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -693,6 +693,7 @@ Generic placeholder for inserting MD3 models in game. Requires compilation of ma -------- Q3MAP2 KEYS -------- model: file name of model to include _frame: frame of model to include +_skin: skin of model to include _remap: string of the form from;to specifying which texture name of the model to replace by which shader; * is allowed. Any key starting with this prefix will work, so if you need more remappings, create _remap2, etc. angle: view direction of the model angles: view direction of the model in PITCH YAW ROLL diff --git a/scripts/entities.def2ent b/scripts/entities.def2ent index f709af2a..7f82d7a1 100755 --- a/scripts/entities.def2ent +++ b/scripts/entities.def2ent @@ -62,7 +62,8 @@ $types{fade} = "real"; $types{_farplanedist} = "real"; $types{_filterradius} = "real"; $types{_floodlight} = "string"; -$types{_frame} = "real"; +$types{_frame} = "integer"; +$types{_skin} = "integer"; $types{gridsize} = "integer3"; $types{_ignoreleaks} = "boolean"; $types{_indexmap} = "texture"; diff --git a/scripts/entities.ent b/scripts/entities.ent index a4da6fbc..98171d92 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -694,7 +694,8 @@ When the laser's target has itself target set, its targets are triggered when so Generic placeholder for inserting MD3 models in game. Requires compilation of map geometry to be added to level. If the map is compiled with Q3Map2, then ASE, 3DS, OBJ and other model formats are supported. -------- Q3MAP2 KEYS -------- file name of model to include -frame of model to include +frame of model to include +skin of model to include string of the form from;to specifying which texture name of the model to replace by which shader; * is allowed. Any key starting with this prefix will work, so if you need more remappings, create _remap2, etc. view direction of the model view direction of the model in PITCH YAW ROLL