PDA

View Full Version : How do you change Squad numbers?


dethraivn
3rd Jun 05, 6:04 PM
I was wondering how you change amounts of ship in a squad?
:bomb:

Nath
3rd Jun 05, 6:13 PM
I am going to assume that you are using an extracted .BIG file with the BigOverride command in your start shortcut. I am also assuming you have converted it into readable file format.

Go into your ship directory. Open the ship file with the name of the ship you want to alter. In the first few lines, you will see a line something like "Squad = *" where * is the number of ships in the squad. Change that number to however number of ships you want in a squad.

Simple as that.

Zatch
3rd Jun 05, 6:17 PM
NewShipType.SquadronSize = # is the line you're looking for.

dethraivn
3rd Jun 05, 6:43 PM
Sry, I am a noob at this kind of stuff, someone needs to walk me thru it step by step from start to finish.

...

Inert
3rd Jun 05, 7:03 PM
http://hw2.tproc.org/wiki/KarosGraveyard

look around.

dethraivn
3rd Jun 05, 10:35 PM
None of the .big extractors work there, all the links are broken or they have glitvhy installers.

Talien
3rd Jun 05, 11:08 PM
If you need a .big extractor then just look here.
http://forums.relicnews.com/showthread.php?t=57985

Zatch
4th Jun 05, 1:01 AM
Aye, unfBig is the best *.BIG extractor at the moment (I've halted progress on mine because his seems better :).) Once you get the script files extracted and decompiled (you can do this all with unfBig, see its ReadMe file,) you will need to look for a file in the format: <extraction directory>\Data\Ship\<shipname>\<shipname>.ship which should contain the line mentioned in my last post. Just change that line and you're set.

dethraivn
4th Jun 05, 11:32 PM
WTF, Where the hell is the folder? I looked completely thru the Sierra/homeworld 2 directory and files, and nothing.

PS, I did say I was a noob and the UNFbig thing looks like it doesnt do much except unextract them

Elite_Marksman
5th Jun 05, 8:36 AM
You have to extract the file from ...\Sierra\Homeworld2\Data\Homeworld2.big, then edit the .lua files with a text editor (dont use word, notepad or wordpad work perfectly fine and word takes to damn long to load)

Deathblow
5th Jun 05, 10:27 AM
unfbig will place the extracted files in the unfbig/ folder by default, not the homeworld2/data folder. after you extract them you should have a homeworld2/data folder in the unfbig directory (if you didn't previous specified a output directory). Copy and paste the extracted data into the homeworld2/data folder and then you will be able to edit the ship files as stated above.

you know about the -overridebigfile right?

judobutterfly
5th Jun 05, 2:12 PM
This is assuming that once you have the files extracted (use either Unfbig or Relic's ModPackager), you need to decode them. This is a problem that most people overcome by obtaining files that have been decoded by friends or others, as the different types of decoding is a real pain to most people. After the files have been decoded, you can just edit them with notepad.

dethraivn
6th Jun 05, 4:01 AM
Decoding? How do I do that? or could someone decode the file for me? I am trying to edit the squad numbers for the gm's in the Gundam mod.

PS, there is nothing in my ship folder, but my game still works.....
and I never heard of -bigoverride

Zatch
6th Jun 05, 6:32 AM
Start here for some informal forum guidelines and a list of good tutorials: http://forums.relicnews.com/showthread.php?t=28910

And here for basic modding instructions (you should read several pages. Don't pester Bakuras about the lack of pictures in his tutorial, that's old news: ) http://forums.relicnews.com/showthread.php?t=18633

And here for advanced modding topics and details about the LUA scripts used in HW2: http://hw2.tproc.org/wiki/KarosGraveyard

Elite_Marksman
6th Jun 05, 12:06 PM
go to www.lua.com, and download lua 5.0.2, none of the links to lua on this site have given me working copies. lua is free, and it will decode the files for you, also you will need a text editor and WinZip, or WinRAR to open the .gz file that lua comes in.

Deathblow
6th Jun 05, 12:09 PM
http://hw2.tproc.org/wiki/KarosGraveyard[/url]

With particular attention to the "Tutorial" section.

dethraivn
6th Jun 05, 12:13 PM
Ok, thats alotta help, thx