2011-01-21 06:30:24 +01:00
[all]
debug = 1;
# Are paths below based on relative paths to the folder this script is running in
relative_paths = 1
2011-02-15 04:54:47 +01:00
# Create 'screen shots' of models' G3D animations?
2011-02-08 18:59:40 +01:00
generate_g3d_images = 1
2011-01-31 03:05:05 +01:00
2011-01-21 06:30:24 +01:00
# export functions, see "perldoc GraphViz" (or search.cpan.org for GraphViz) for a list
#export_graph=as_svg;as_png
export_graph = as_svg;as_png;as_canon;as_text;as_cmapx
# combine png and cmapx to clickable map
build_clickable_map = 1
2011-05-26 16:15:13 +02:00
version = Megapack
2011-01-31 03:05:05 +01:00
2011-02-15 04:54:47 +01:00
# should links to units go the single pages for each unit (vs. the techtree-page if set to 0)
2011-01-31 03:05:05 +01:00
link_to_single_units = 1
2011-01-21 06:30:24 +01:00
2011-02-08 18:59:40 +01:00
# stat raise by levels as factor, as specified in the code, thanks titi for digging it out
level_hp = 1.5
level_ep = 1.5
level_sight = 1.2
level_armor = 1.5
# megaglest-code
#maxHp+= ut->getMaxHp()*50/100;
#maxEp+= ut->getMaxEp()*50/100;
#sight+= ut->getSight()*20/100;
#armor+= ut->getArmor()*50/100;
2011-01-21 06:30:24 +01:00
[files]
2011-05-03 13:15:15 +02:00
g3dviewer_path = ../../../mk/linux/megaglest_g3dviewer
2011-01-21 06:30:24 +01:00
factions_path = ../../../data/glest_game/techs/megapack/factions
resources_path = ../../../data/glest_game/techs/megapack/resources
2011-01-31 03:05:05 +01:00
pack_file = ../../../data/glest_game/techs/megapack/megapack.xml
2015-03-20 18:33:47 +01:00
out_path = html
2011-01-21 06:30:24 +01:00
glestkeys = ../../../data/glest_game/glestkeys.ini
2011-01-31 03:05:05 +01:00
2011-02-15 04:54:47 +01:00
#summary=glest_autodocument_summary.html
summary = index.html
2011-01-21 06:30:24 +01:00
units_path = units
upgrades_path = upgrades
images_path = images
2011-02-15 03:29:49 +01:00
2011-01-21 06:30:24 +01:00
[style]
2011-02-08 18:59:40 +01:00
# set columns and their order for all and everything table:
# see available options with the command line: "grep \$col{ ./convert_faction_xml2html.pl"
2011-02-15 03:29:49 +01:00
columns_all_table = \
name, \
name_pretty, \
name_link, \
faction, \
faction_pretty, \
type, \
max_strength_vs_land, \
max_strength_vs_air, \
max_range, \
attack_strength_1, \
attack_var_1, \
attack_range_1, \
attack_type_1, \
used_on_hold_position_1, \
target_1, \
attack_speed_1, \
attack_start_time_1, \
attack_ep_cost_1, \
attack_strength_2, \
attack_var_2, \
attack_range_2, \
attack_type_2, \
used_on_hold_position_2, \
target_2, \
attack_speed_2, \
attack_start_time_2, \
attack_ep_cost_2, \
max_hp, \
regeneration, \
max_ep, \
regeneration_ep, \
armor, \
armor_type, \
sight, \
creation_1, \
creation_2, \
production_time, \
gold_1, \
wood_1, \
stone_1, \
food_1, \
energy_1, \
housing, \
gold_2, \
wood_2, \
stone_2, \
food_2, \
energy_2, \
housing, \
storage, \
move_speed_1, \
move_speed_2, \
move_speed_3, \
max_move_speed, \
max_level, \
available_upgrades, \
morphing_to_1, \
morphing_discount_1, \
morphing_speed_1, \
morphing_to_2, \
morphing_discount_2, \
morphing_speed_2, \
morphing_to_3, \
morphing_discount_3, \
morphing_speed_3, \
heal_skill_1, \
heal_units_1, \
heal_speed_1, \
heal_skill_2, \
heal_units_2, \
heal_speed_2, \
mine_resource_1, \
mine_speed_1, \
mine_max_load_1, \
mine_hits_per_unit_1, \
mine_resource_2, \
mine_speed_2, \
mine_max_load_2, \
mine_hits_per_unit_2, \
upgrade_affects
2011-02-08 18:59:40 +01:00
2011-01-21 06:30:24 +01:00
svg_fontcolor = 0.13472,0.809,0.925;
header = <<EOT
2011-01-31 03:05:05 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
2011-02-15 04:54:47 +01:00
<head>
<title>VAR_TITLE</title>
<link type = "text/css" rel="stylesheet" href="style.css">
2011-01-21 06:30:24 +01:00
<link rel = "shortcut icon" type="image/x-icon" href="favicon.ico">
2011-02-15 04:54:47 +01:00
<meta http-equiv = "content-type" content="text/html; charset=utf-8">
2011-02-08 18:59:40 +01:00
<!-- stuff for table-sorting, see jquery.com and datatables.net for details
-->
2016-02-19 21:14:27 +01:00
<script type = "text/javascript" language="javascript" src="js/jquery-1.12.0.min.js" ></script>
2011-02-08 18:59:40 +01:00
<script type = "text/javascript" language="javascript" src="js/jquery.dataTables.min.js"></script>
<!--
<script type = "text/javascript" language="javascript" src="js/TableTools.min.js"></script>
-->
<script type = "text/javascript" charset="utf-8">
$(document).ready(function() {
$('#table_all').dataTable( {
'bAutoWidth': false,
"bPaginate": false,
"bSortClasses": false,
"sDom": '<"top"iflp>rt<"bottom"><"clear">',
<!--
"oTableTools": {
"sSwfPath": "js/copy_cvs_xls_pdf.swf"
},
-->
"aaSorting": [[ 1, "asc" ]]
});
});
</script>
2011-02-15 04:54:47 +01:00
</head>
2011-02-15 03:29:49 +01:00
2011-02-15 04:54:47 +01:00
<body>
2011-02-15 03:29:49 +01:00
<!-- start header -->
<div id = "header">
<!-- Contain the right and left header images -->
<div id = "header_left"></div>
<div id = "header_right"></div>
2015-05-17 18:08:00 +02:00
<div id = "logo"><a href="/"><img src="https://megaglest.org/uploads/megaglest2011/logo/logo.png" alt="MegaGlest logo" /></a></div>
2011-02-15 03:29:49 +01:00
</div>
<!-- end header -->
<!-- start content -->
<div id = "content">
<div id = "article">
2011-02-15 04:54:47 +01:00
<h1>VAR_TITLE</h1>
2011-01-21 06:30:24 +01:00
<p>
2011-02-15 04:54:47 +01:00
<h4><a href = "VAR_SUMMARY">Home</a></h4><p>
EOT
footer = <<EOT
<!-- start footer -->
2015-11-20 20:09:39 +01:00
This page was generated by: VAR_CREATED_BY
2011-02-15 04:54:47 +01:00
<br>
<div id = "footer">
<div id = "footer_left"></div>
<div id = "footer_right"></div>
<ul>
2016-06-02 21:44:10 +02:00
<li><a href = "https://megaglest.org/privacy.html">Privacy</a></li>
<li><a href = "https://megaglest.org/license.html"><img src="https://megaglest.org/uploads/megaglest2011/logo/gpl_osi.png" alt="GNU GPL and OSI logos" /></a></li>
<li><a href = "https://megaglest.org/credits.html">Credits</a></li>
2011-02-15 04:54:47 +01:00
</ul>
</div>
</body>
</html>
<!-- end footer -->
2011-01-21 06:30:24 +01:00
EOT
resource_order = gold:wood:stone:food:energy:housing
map_legend = <<EOT
2011-02-15 04:54:47 +01:00
<h4>Arrow Styles:</h4>
<ul>
<li>Bold: Unit creates building
<li>Solid: Building produces unit or upgrade
<li>Dashed: Units morphs/upgrades to other unit
<li>Dotted: Unit or Upgrade is a requirement
</ul>
2011-01-21 06:30:24 +01:00
EOT
2011-02-08 18:59:40 +01:00
2011-02-15 03:29:49 +01:00
# settings for glest_g3dviewer unit-pictures
2011-02-08 18:59:40 +01:00
unit_png_rotate_x_value = 318
unit_png_rotate_y_value = 6
unit_png_building_zoom = 0.68
unit_png_unit_zoom = 1.3
# resize screenshots of glest_g3dviewer
# orignal size is 640x432 so use that ratio
unit_png_width = 320
unit_png_height = 216