Index: lang/lang.en.php =================================================================== --- lang/lang.en.php (revision 135) +++ lang/lang.en.php (working copy) @@ -239,6 +239,7 @@ 'level' => 'Level', 'spawn_at_event' => 'Appear in the event', 'despawn_at_event' => 'Disappear in the event', +'view3dnpc' => 'Show 3D-model npc', # Loot info 'loot_details' => 'Details', Index: lang/lang.ru.php =================================================================== --- lang/lang.ru.php (revision 135) +++ lang/lang.ru.php (working copy) @@ -241,6 +241,7 @@ 'level' => 'Уровень', 'spawn_at_event' => 'Появится в событие', 'despawn_at_event' => 'Исчезнет в событие', +'view3dnpc' => 'Показать 3D-модель существа', #Loot info 'loot_details' => 'Подробнее', Index: module/module_cfg.php =================================================================== --- module/module_cfg.php (revision 135) +++ module/module_cfg.php (working copy) @@ -47,6 +47,7 @@ $config['show_go_details'] = 1; $config['show_npc_detalis'] = 0; +$config['show_3d_model_npc'] = 0; //================================================================== // Модуль добавления Open Search в браузеры //================================================================== Index: module/show/show_npc.php =================================================================== --- module/show/show_npc.php (revision 135) +++ module/show/show_npc.php (working copy) @@ -109,6 +109,166 @@ echo ""; } } + +//========================================================== + if ($config['show_3d_model_npc'] == 1) // Вывод 3D модели НПС + { + echo '
       '; + echo '   $lang[view3dnpc]
"; + echo '
'; + echo '
'; + { + if ($cr['modelid_1']) + { + echo '
       '; + echo '   $game_text[display1] ($cr[modelid_1])
"; + echo '
'; + echo '
'; + switch ($cr['type']): + case 6: + case 7: + echo " + + + + + + "; + break; + default: + echo " + + + + + + "; + endswitch; + echo "
"; + } + if ($cr['modelid_2']) + { + echo '
       '; + echo '   $game_text[display2] ($cr[modelid_2])
"; + echo '
'; + echo '
'; + switch ($cr['type']): + case 6: + case 7: + echo " + + + + + + "; + break; + default: + echo " + + + + + + "; + endswitch; + echo "
"; + } + if ($cr['modelid_3']) + { + echo '
       '; + echo '   $game_text[display3] ($cr[modelid_3])
"; + echo '
'; + echo '
'; + switch ($cr['type']): + case 6: + case 7: + echo " + + + + + + "; + break; + default: + echo " + + + + + + "; + endswitch; + echo "
"; + } + if ($cr['modelid_4']) + { + echo '
       '; + echo '   $game_text[display4] ($cr[modelid_4])
"; + echo '
'; + echo '
'; + switch ($cr['type']): + case 6: + case 7: + echo " + + + + + + "; + break; + default: + echo " + + + + + + "; + endswitch; + echo "
"; + } + echo "
"; + } + } + createReportTab(); //******************************************************************************** // Summoned by spell