Results 1 to 13 of 13

Singleplayer Unit Caps

  1. #1
    Sundance
    Guest

    Singleplayer Unit Caps

    I'm sure everyone here is tired of the ubiquitous unit cap questions. However, for the past week I've been combing through the Tanis Shipyards and the web trying to change my unit cap values for the singleplayer campaign. I followed all suggestions in the posts and even the wiki tutorial, but every time I load my game, nothing changes. I even ran the script through LuaEdit and didn't find any errors. This being said, any help or suggestions would be greatly appreciated.

    Here's my log:



    Fri Jun 15 13:32:37 2007
    Loaded Archive: 'Homeworld2.big'
    UTIL -- filepath failure, path doesn't exists 'C:\PROGRA~1\Sierra2\HOMEWO~1\data\locale\english'
    Loaded Archive: 'english.big'
    Uing ..profiles\ for profiles folder
    GAME -- Using player profile Chris
    Changing from a 32 bit colour depth in winNT (5.1 build 2600),
    Using NVIDIA Corporation's 1.5.3 GeForce2 MX/AGP/SSE2 renderer (Suspected driver is nvoglnt.dll 6.14.10.7189)
    Loaded Archive: 'englishSpeech.big'
    Loaded Archive: 'Music.big'
    SOUND -- created destination [ fdaudio ], handle [ 4 ] with [ 48 ] channels created
    SOUND -- created destination [ fda streamer ], handle [ 5 ] with [ 8 ] channels created
    Build name: The Dust Wars - AutoBuild3569 - Ordered by smmatte
    Built by : mrbuild
    Data path : C:\PROGRA~1\Sierra2\HOMEWO~1\data
    Could not initialize all fragment programs. Please use the '-fragment_program 0' command line parameter
    Resetting fp control word.
    CmdLine: -overridebigfile
    MEG_GEHENNA_1 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_4 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_6 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_2 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_5 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_7 is marked as captureable in the shiptuning but has no capture points!
    MEG_GEHENNA_3 is marked as captureable in the shiptuning but has no capture points!

    And here is my singleplayer.lua file:





    -- Pretty-Printed using HW2 Pretty-Printer 1.27 by Mikail.
    -- UC_ file
    -- Generated by Nick Waanders
    --
    --UC_Family("Fighter",50)
    --UC_FamilyOverride("Vaygr","Fighter",18)
    --
    --UC_Family("Corvette",50)
    --UC_FamilyOverride("Vaygr","Corvette",12)
    --UC_ShipType("MinelayerCorvette",5)
    --
    --UC_Family("Frigate",50)
    --UC_FamilyOverride("Vaygr","Frigate",21)
    --UC_ShipType("DefenseFieldFrigate",2)
    --
    --UC_Family("Capital",13)
    --UC_FamilyOverride("Vaygr","Capital",15)
    --UC_ShipType("Destroyer",5)
    --UC_ShipType("Carrier",4)
    --UC_ShipTypeOverride("Vaygr","Carrier",6)
    --UC_ShipType("Battlecruiser",3)
    --UC_ShipType("Shipyard",1)
    --
    --UC_Family("Utility",50)
    --UC_ShipType("ResourceCollector",20)
    --UC_ShipType("ResourceController",4)
    --UC_ShipType("Probe",10)
    --UC_ShipType("ECMProbe",10)
    --UC_ShipType("ProximitySensor",10)
    --
    --UC_Family("Platform",20)
    --UC_ShipType("HyperspacePlatform",4)
    --
    --UC_Family("Mothership",1)
    --UC_Family("DreadNaught",1)
    --UC_Family("SinglePlayerMisc",100)
    --UC_FamilyOverride("Hiigaran","SinglePlayerMisc",0)
    --UC_ShipType("Mover",10)
    --UC_Family("SPMovers",10)
    --UC_Family("CommStation",1)

  2. #2
    EhraniNavy
    Guest
    Everything is commented, you may want to specify values. I don't know if that'll make a difference or not but there's no harm in trying.

    EhraniNavy

  3. #3
    Jim Starluck
    Guest
    Yeah. Those "--"s make the program ignore everything that comes after them on that line. Remove them from every line under " -- Generated by Nick Waanders" and it should work fine.

  4. #4
    Member ford6's Avatar
    Join Date
    Nov 2006
    Location
    West Coast, USA
    If you comment everything out, homeworld will get the file from the cd or active big file.

  5. #5
    Sundance
    Guest
    Thanks for your help. I removed the "--" but still no luck. Is this what you guys meant by commenting and/or specifying values?

  6. #6
    EhraniNavy
    Guest
    Well, as Jim pointed out, "--" means to comment something so it is ignored. After you remove them, you have to change the values ( the numbers ) to see any real difference. Say you want to have three Dreadnaughts maximum:

    Change UC_Family("DreadNaught",1) to UC_Family("DreadNaught",3)

    EhraniNavy

  7. #7
    Sundance
    Guest
    Well, nothing's commented now, and I already specified certain values. For example, UC_Family("Fighter",50) as opposed to the default UC_Family("Fighter",14). Unfortunately, every time I load a game, the fighter ship count is still x/14

  8. #8
    Jim Starluck
    Guest
    It's possible that some line in it is coded wrong. If a file has a single code error in it, the game will disregard the entire thing.

    ...wait, did you say nothing is commented? Even those three lines of text at the top? Those need to be commented out, because they're for people editing the file, not the game.

  9. #9
    Sundance
    Guest
    Nothing is commented, I just forgot to mention that I removed those extra lines. All that is in the file now are the actual lines of code.

  10. #10
    Caysi
    Guest
    Heya! Ermm. This might help. Rather than scripting (like i normally do) i found this trainer on some foreign website. Its by somebody called 'bie' and what it can do is give you instant building, instant research and also unlimited ru. Because of the way homeworld works, it doesnt process the unit as part of the unit cap until its got out of ya ship so it doesnt actually stop you building over the top. I'm currently experimenting with it and i've got a quite high end system but this works best at 800x600 res and pretty low graphics, quite amazingly the graphics are still quite decent so i've been setting mahself up against expert ai and fighting them with just fighters and corvettes :P it also seems that on the campaign the ai takes into consideration. So just watch out coz they'll come at you with hundreds of units. I know this is cheating but you can take off the instant build and stuff so if you just wanted the extra firepower then you could instant build and give the comp a few minutes to catch up. Xxxxx caysi xxxxxX

  11. #11
    Panzern00b21
    Guest
    Problem with that is the AI uses it a bit too. Dreadnaught spam anyone ?

    Still though, when you use Bie's trainer ONLY PLAY 1v1,2v2,ect, so that only 4 computers are on the map. Any more and your asking for trouble.

  12. #12
    If you have changed around all the values, then it most likely means you haven't use the "-overrideBigFile" properly.

  13. #13
    Banned Dot's Avatar
    Join Date
    Oct 2007
    Location
    United Kingdom
    Quote Originally Posted by Sundance
    Well, nothing's commented now, and I already specified certain values. For example, UC_Family("Fighter",50) as opposed to the default UC_Family("Fighter",14). Unfortunately, every time I load a game, the fighter ship count is still x/14
    Shouldn't you remove the " in; UC_Family("Fighter",50) ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •