RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Reply
 
Thread Tools
Old 20th Sep 05, 5:04 PM Forum Rules   # 1
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

New Tool: HW1 to HW2 Map Converter (currently v0.85)

[edit] New homepage: http://isometricland.com/homeworld/homeworld.php

Here's the readme for the archive:
Quote:
Originally Posted by readme
-- HW2 Map Converter v0.85
-- Created: 09/20/05 by Mikail
-- Last updated: 04/25/06
-- Download:
-- http://www.geocities.com/Area51/Qua...4/homeworld.htm
-- Homepage:
-- http://www.geocities.com/Area51/Qua...4/homeworld.htm
-- Discussion:
-- http://forums.relicnews.com/showthread.php?t=73533


----------------------------------------------------------------


INTRODUCTION
This is a map converter for converting Homeworld levels to work
with Homeworld 2's HW Classic Mod Rebalance.

INSTALLATION
1) Extract the contents of this archive into a folder on your
harddrive.
2) Copy the "data" folder to your "Homeworld2" folder.
3) Add the "-overrideBigFile" switch to the target line of your
Homeworld 2 shortcut.

Note: all players must possess the same files in their "data"
folder in order to play against each other over multiplayer
using maps converted by this converter.
Note: Windows Scripting Host v5.6 must also be installed in
order for this program to work.
Note: HW Classic Mod Reblance must also be installed in order
to properly use these maps.

INSTRUCTIONS
There are two ways in which you can use this program:

1) You can drag & drop a single level file onto the JS file, in
which case a new file will be created with the same name
name and in the same directory as the input file, but with
an additional "HW1_" prefix added to the beginning of the
filename.

2) You can run the program from the command-line. The command-
line syntax is as follows:

cscript [script] [Input File] [[Output File]] [[-debug]]
[[-incFunctions]] [[-incVariables]]

Where:
[script] is the full path to "HW2_MapConverter.js".

[Input File] is the full path to the HW1 level you wish
to convert.

[Output File] is the full path to the destination file.
If [Output File] is omitted, then a new file will be
generated with the same name and in the same directory
as the input file, but with an additional "HW1_" prefix.

[-debug] generates and additional file in the same
directory as "HW2_MapConverter.js" that is helpful in
debugging.

[-incFunctions] causes the map-processing functions to
be included using the "dofilepath" function instead of
being added to the end of the outputted level file (the
default).

[-incVariables] causes the map-tweaking variables to be
included using the "dofilepath" function instead of
being added to the end of the outputted level file (the
default).

ADVANCED OPTIONS
If you look in the outputted level file, you'll find a section
called "Map-Tweaking Variables". The variables in this section
make it possible to change basic characteristics of the map
without having to rerun it through the converter.

RUMulti
(default: 4)
Multiplier affecting the density of resources: larger
values mean fewer resources with more RUs (makes HW2
less laggy). By changing this value you can decrease
the number of asteroids and increase their respective
RU values, thereby making large maps less leggy in HW2.
The default value of four (4) means that maps will have
four times fewer resources, but the resources will be
worth four times as much as usual. (Note: this is not
recommended for maps with small resource pockets due to
round-off errors.) 16 is a good value if the map is
still laggy at 4.

PebMulti
(default: 1)
Only every Nth missing asteroid will be converted into
a pebble. (Note: use this in conjunction with RUMulti.)

RUScale
(default: 2 * 700 / 575)
Is equal to HW2 frigate cost / HW1 frigate cost. (Note:
I then scaled this by an additional factor to
compensate for research/upgrade costs.)

MapScale
(default: 161 / 325)
Is equal to HW2 frigate speed / HW1 frigate speed. By
default, maps are scaled by a factor related to the
speeds of frigates in HW1 and HW2. To change this,
simply modify the value of the "MapScale" variable. The
default value is 161 / 325, or about 0.5. (Alternately,
one could use the meter/feet ratio:

1 meter = 3.280839895 feet (since HW2's units
are in meters, and HW1's units are in feet).

UniverseScale
(default: 1.2)
Increases the world bounds (the Sensors Manager pie-
plate) by an additional 20%, since they seem to be a
bit smaller, in HW2, in general.

MinSensorsZoomOverride
(default: 12000)
Overrides the map's minimum sensors zoom distance. To
use the map's original value, set this to equal -1.

MaxSensorsZoomOverride
(default: -1)
Overrides the map's maximum sensors zoom distance. To
use the map's original value, set this to equal -1.

AdvancedGameRule
(default: 0)
A sophisticated gamerule is necessary to spawn player-
owned ships. The default value of zero (false) means
that only the starting positions will be used. (Note:
don't turn this setting on if you don't have a gamerule
to take advantage of it)


----------------------------------------------------------------



----------------------------------------------------------------



----------------------------------------------------------------


__________________
Download my HW2 mods, maps & tools. link

Last edited by Mikail : 5th Dec 09 at 7:35 PM. Reason: Added link to new homepage.
Mikail is offline  
Old 22nd Sep 05, 5:02 PM Forum Rules   # 2
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Update to v0.6.
I don't think this version has very many bugs.
Mikail is offline  
Old 24th Sep 05, 1:14 PM Forum Rules   # 3
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

There were more bugs than I thought.
I think I squashed them all.
Update to v0.62.
Mikail is offline  
Old 13th Nov 05, 1:11 PM   # 4
Iostream
Guest
 

broken link to download 0.62, new link somewhere?
 
Old 18th Nov 05, 9:56 AM Forum Rules   # 5
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

The link is fixed.
Mikail is offline  
Old 18th Nov 05, 3:39 PM   # 6
Iostream
Guest
 

wicked, thanks
 
Old 17th Dec 05, 9:53 AM Forum Rules   # 7
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Update to v0.7.
Mikail is offline  
Old 25th Jan 06, 3:12 PM Forum Rules   # 8
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Update to v0.81.
Mikail is offline  
Old 22nd Apr 06, 7:41 PM Forum Rules   # 9
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Update to v0.84

v0.84
• "IncFunctions.lua" was referencing "hgn_gunplatform", which
is not a valid .ship file.
• "IncFunctions.lua" was referencing "hgn_flakfrigate", which
is not a valid .ship file.
• Fixed issue with maps sometimes appearing completely white.
("IncFunctions.lua" was missing the "setGlareIntensity" and
"setLevelShadowColour" functions.)

v0.83
• Slight change to the "player" table in "IncFunctions.lua".

v0.82
• The effect of using the "-incFunctions" and "-incVariables"
switches has been reversed.
• The orientation of the HW1 map-default squadrons has been
corrected.
Mikail is offline  
Old 26th Apr 06, 3:57 AM Forum Rules   # 10
Mikail
Lost in the Web...
 
Mikail's Avatar
 
Join Date: Jun 2003
Location: %HW2_ROOT%

Update to v0.85

v0.85
• The converter now also looks for the "UseAsMothership" and
"NULL_FORMATION" flags, in addition to the "Mothership" and
"Carrier" types, when determining which ship is the flagship.
Still not perfect, but should handle nearly all cases.
• Non-player mothership misspheres are now handled as if they
were resource misspheres. They no longer count toward a
"bogus" player total.
• The converter now automatically removes ampersands and
leading spaces from level names.
• Increased the default value of RUMulti from 4 to 8.
• PebMulti is now set to RUMulti / 4 by default.
Mikail is offline  
Reply



Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 4:44 AM.

Page generated in 0.60912299 seconds (96.21% PHP - 3.79% MySQL) with 8 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.