Name
+ my $overview_all = "
Overview for Faction: $faction_pretty\n\n"; $overview_html .= $overview_combat; $overview_html .= $overview_worker; @@ -1465,7 +1465,7 @@ foreach my $faction_path ( @factions ) { print HTML "\n"; - + print HTML "
\n"; } - elsif ( + elsif ( $attack_air{ $s } ) { $target .= "Only air"; $full_attack_tmp .= "Target: $target units \n"; } - elsif ( - $attack_land{ $s } + elsif ( + $attack_land{ $s } ) { $target .= "Only ground"; $full_attack_tmp .= "Target: $target units \n"; } - + if ( $attack_range{ $s } > $max_range ) { $max_range = $attack_range{ $s }; @@ -2457,13 +2457,13 @@ sub show_attack { $full_attack_tmp .= " | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Movement Type: | ";
# air + land means land (f.e. tech archer)
- # units can't be both, although that would seem ok for the genie
- if (
+ # units can't be both, although that would seem ok for the genie
+ if (
$land_unit{ $u } ||
(
$air_unit{ $u } &&
- $land_unit{ $u }
+ $land_unit{ $u }
)
) {
$overview_tmp .= "Ground";
@@ -2676,7 +2676,7 @@ sub show_special_pages {
sub do_upgrade_benefits {
- # show the benefit of an upgrade
+ # show the benefit of an upgrade
my ( $u ) = @_;
my $upgrade_benefits="";
diff --git a/source/tools/convert_faction_xml2html/media/style.css b/source/tools/convert_faction_xml2html/media/style.css
index ec14c8f0a..dbb6a1c42 100644
--- a/source/tools/convert_faction_xml2html/media/style.css
+++ b/source/tools/convert_faction_xml2html/media/style.css
@@ -2,7 +2,7 @@ body {
margin: 0 auto;
width: 1016px;
- background-color: #161616;
+ background-color: #000000;
font-size: 0.8em;
color: #fff6c0;
font-family: "Lucida Sans Unicode","Lucida Grande","Lucida Sans", sans-serif;
@@ -17,7 +17,7 @@ body {
width: 1016px;
height: 175px;
margin: 0 auto;
- background: url("header/header.jpg") no-repeat;
+ /* background: url("header/header.jpg") no-repeat; */
}
/* Horizontal menu */
@@ -157,7 +157,7 @@ h2#download {
margin: 0 8px;
}
-/*
+/*
* Modules
*/
#aside_left { background: url("modules/l_repeat.jpg") repeat-y }
diff --git a/source/tools/convert_faction_xml2html/megapack.ini b/source/tools/convert_faction_xml2html/zetapack.ini
similarity index 76%
rename from source/tools/convert_faction_xml2html/megapack.ini
rename to source/tools/convert_faction_xml2html/zetapack.ini
index a1e7c9473..612a001db 100644
--- a/source/tools/convert_faction_xml2html/megapack.ini
+++ b/source/tools/convert_faction_xml2html/zetapack.ini
@@ -7,14 +7,14 @@ relative_paths = 1
# Create 'screen shots' of models' G3D animations?
generate_g3d_images = 1
-# export functions, see "perldoc GraphViz" (or search.cpan.org for GraphViz) for a list
+# 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
-version=Megapack
+version=Zetapack
# should links to units go the single pages for each unit (vs. the techtree-page if set to 0)
link_to_single_units=1
@@ -32,15 +32,15 @@ level_armor=1.5
[files]
-g3dviewer_path=../../../mk/linux/megaglest_g3dviewer
-factions_path=../../../data/glest_game/techs/megapack/factions
-resources_path=../../../data/glest_game/techs/megapack/resources
+g3dviewer_path=../../../mk/linux/zegaglest_g3dviewer
+factions_path=../../../../zetaglest-data/techs/zetapack/factions
+resources_path=../../../../zetaglest-data/techs/zetapack/resources
-pack_file=../../../data/glest_game/techs/megapack/megapack.xml
+pack_file=../../../../zetaglest-data/techs/zetapack/zetapack.xml
out_path=html
-glestkeys=../../../data/glest_game/glestkeys.ini
+glestkeys=../../../mk/shared/glestkeys.ini
@@ -149,6 +149,7 @@ header=< Server List and Player Stats | + README | + on GitHub | + Contributing | + Submitting mods, tech trees, tilesets, maps, scenarios @@ -208,9 +215,9 @@ This page was generated by: VAR_CREATED_BY |