Page 2 of 2 FirstFirst 12
Results 51 to 87 of 87

Homeworld 2:The Ultimate HW2 Mod[Pic Heavy]

  1. #51
    Member
    Join Date
    Jan 2006
    Location
    Back in my lair at Crossroads Central Control
    Just finished reading through the entire Mod and have to stay I'm seriously impressed. That your adding the ships from both sids has got to be an immense undertaking, not to mention making the Bentusi and Progenitor playable ((as well as balanced)) races.

    So, eh, making a Mac version of the mod?

  2. #52
    Member Starlight's Avatar
    Join Date
    Jan 2006
    Location
    Like the rest of us, trapped in the Matrix
    Maxdamage

    I have tried your mod but I am unable to get it to run.
    I appear to have the normal HW2 when I run it, with nothing new.

    I have the overidebigfile modification to the start icon.

    I tetsted this by then removing your mod and installing the complex 3.0 mod and this ran fine.

    The installation guide txt file says put the file(s) in the data/.../deathmatch folder.

    Please help, I would love to try it but clearly I am stupid, only the 2nd Mod I have tried apart from complex one.

    Cheers

    Starlight

  3. #53
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Install.txt?????There are no install txt files only badgereadme.txt, badgereadmeclan.txt and hw2mapthumnailreadme.txt.Read the htm file for installation.



    maxdamage
    ::

  4. #54
    Member
    Join Date
    Jan 2006
    Location
    Back in my lair at Crossroads Central Control
    I am curious Max, is your mod compatable with a Mac? I tried DL'ing it just for kicks and I didn't see anything that was incompatable, and it seemed like the only reason it didn't work was because the DL packet didn't have a launcher designed for the mod.

    Any help?

  5. #55
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Crossroad:

    read .htm file in mod zipfile and follow instructions in it.There is a shortcut .lnk for the mod in the zip file which works in windows.

    It should work in Mac but I don't know as the only apple computer I've worked or played on is a Apple II from 1982.....


    maxdamage.

  6. #56
    Member
    Join Date
    Jan 2006
    Location
    Back in my lair at Crossroads Central Control
    Jolly good work Max!

    Got the mod functional, but not fully working... Theres a few bugs and mistakes that I think just may be Mac related... Darn mac...

  7. #57
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Good to know that...Crossroads inc. List the problems and I can say whether its my mod or something else.BTW there is an earlier post in this topic which list known problems with my mod so look there and please tell me if the problems are one of those or something else.....


    maxdamage.

  8. #58
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    *New version available* V2.87

    Only thing missing is the advanced research module for HGN_VGR_SHIPYARD and HGN_VGR_CARRIER.

    Modified some AI files in HW2 and the comp uses the added ships like a dream.:thumbs:

    maxdamage.
    Last edited by maxdamage; 6th Feb 06 at 4:36 PM.

  9. #59
    Member
    Join Date
    Jan 2006
    Location
    Back in my lair at Crossroads Central Control
    Oh MAx, I don't think I ever got back to you, but I wanted to list the bugs I had with your mod on my Mac to see if you could check them out. So far they are:

    Bentus: When it warps in, it's non functional, it doesn't move and won't build anything. Also it has no weapons. It will hyperspace, but thats it.

    Dreadnaught: Won't be built but still costs 1500 :P Basically when I click on it, I loose 1500, it goes red and says I have one, but nothing warps in.

    Fighter Drone: Takes forever to repair. When I spend the resources to make one, and it gets damaged, I tell it to dock like any other fighter. But while a normal fighter will be healed in less then a minut or so, the Drone takes over 5min before its healed.

  10. #60
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    I'll fix the moving of Meg_Bentus but bentus won't fire,build,etc...

    Dreadnaught:will build playing as the Vaygr but not as the Hiigarans.Why I don't know but I have tried everything to get it to work while playing as the Hiigarans but nothing?

    Fighter Drone????


    maxdamage.

  11. #61
    Member
    Join Date
    Jan 2006
    Location
    Back in my lair at Crossroads Central Control
    Fighter drone...

    The progenator Fighter that comes out of the Keeper, member that one?

  12. #62
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Heres the regen time for the Keeper Attackdroid or fighter drone:

    Code:
    NewShipType.regentime = 0
    With me when it docks it doesn't take that long to repair it!

    maxdamage

  13. #63
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Added Sajuuk but had to remove it.


    Sajuuk can be built from the Vgr_Shipyard and the Vgr_Shipyard but if built from the Hgn_Shipyard and Vgr_Hgn_Shipyard the game stops responding when the ship is suppose to either come out of the shipyard or hyperspace in then I have to ctrl +alt + del.



    maxdamage
    Last edited by maxdamage; 25th Sep 06 at 3:34 PM.

  14. #64
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Final Version Coming soon!!!


    maxdamage.

  15. #65
    You can just change the dockfamily of Sajuuk so that it hypers in.
    "When the stars become choked by the dust of war..."

  16. #66
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Well it still doesn't explain to me why with Hiigaran ships Sajuuk causes the game to stop responding when built from but with the Vaygr the ship doesn't cause the game to stop responding when built from???



    maxdamage.

  17. #67
    Most likely some coding error on your part. Sorry for the harshness, but Ive just never seen such an error happening before.

    Infact Ive never heard about an error that made the game lock up like that. Usually its CTD.


    Daton

  18. #68
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    All I have done with Sajuuk is to make appear both Vagyr and Hiigaran shipyard build script only yet only the hgn_vgr_shipyard + vgr_shipyard can successfully build it without problems????

    Got the Hiigarans to build Sajuuk but still not hyperspacing in?
    Going to leave Sajuuk out as it is too powerful!

    maxdamage
    Last edited by maxdamage; 20th Feb 06 at 1:51 PM.

  19. #69
    maxdamage,
    (Very late reply, but i discovered it...)
    Its all in the SCAR_UTIL.lua and/or the Restrict.lua. In the Restrict.lua, there *MUST* be a MPRestrict() function. It Disables some things in MP check it AND Scar_Util.lua. (Not by decompiling them, but from the RDN package itself. LuaDC somehow decreases the size of the decompiled files! )
    And yes, ALL the problems (I AM 100% SURE) you face can be solved my modifying Restrict.lua and Scar_Util.lua ( in "data:Scripts/Scar/" )

    EDIT:

    look, for the problems with the mover thing

    -- restrict build items
    if (playerRace == Race_Hiigaran) then

    -- build
    --~ Player_RestrictBuildOption(playerid, "Hgn_Dreadnaught")
    -- restrict build items
    if (playerRace == Race_Hiigaran) then

    -- build
    --~ Player_RestrictBuildOption(playerid, "Hgn_Dreadnaught")
    Player_RestrictBuildOption(playerid, "Hgn_MS_Production_CorvetteMover")
    Player_RestrictBuildOption(playerid, "Kpr_Mover")
    Player_RestrictBuildOption( playerid, "Hgn_Shipyard_SPG" )

    Player_RestrictResearchOption(playerid, "AssaultCorvetteEliteWeaponUpgrade")
    Player_RestrictResearchOption(playerid, "AttackBomberEliteWeaponUpgrade")

    -- research
    Player_RestrictResearchOption(playerid, "SensorsDowngrade1")
    Player_RestrictResearchOption(playerid, "SensorsDowngrade2")
    Player_RestrictResearchOption(playerid, "SensorsDowngrade3")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal1")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal2")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal3")
    Player_RestrictResearchOption(playerid, "MoverHealthDowngrade")
    Player_RestrictResearchOption(playerid, "MoverHealthUpgrade")
    Player_RestrictResearchOption(playerid, "FrigateHealthUpgradeSPGAME")
    Player_RestrictResearchOption(playerid, "DamageMoverTech")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_1")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_2")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_3")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_4")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_5")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_6")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_1")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_2")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_3")

    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "RadiationDefenseField")


    end

    Player_RestrictBuildOption(playerid, "Hgn_MS_Production_CorvetteMover")
    Player_RestrictBuildOption(playerid, "Kpr_Mover")
    Player_RestrictBuildOption( playerid, "Hgn_Shipyard_SPG" )

    Player_RestrictResearchOption(playerid, "AssaultCorvetteEliteWeaponUpgrade")
    Player_RestrictResearchOption(playerid, "AttackBomberEliteWeaponUpgrade")

    -- research
    Player_RestrictResearchOption(playerid, "SensorsDowngrade1")
    Player_RestrictResearchOption(playerid, "SensorsDowngrade2")
    Player_RestrictResearchOption(playerid, "SensorsDowngrade3")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal1")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal2")
    Player_RestrictResearchOption(playerid, "SensorsBackToNormal3")
    Player_RestrictResearchOption(playerid, "MoverHealthDowngrade")
    Player_RestrictResearchOption(playerid, "MoverHealthUpgrade")
    Player_RestrictResearchOption(playerid, "FrigateHealthUpgradeSPGAME")
    Player_RestrictResearchOption(playerid, "DamageMoverTech")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_1")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_2")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_3")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_4")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_5")
    Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_6")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_1")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_2")
    Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_3")

    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_LOW")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_MED")
    Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_HIGH")
    Player_RestrictResearchOption(playerid, "RadiationDefenseField")


    end


    ----------------------------
    --end of lua script
    ----------------------------

    Also, why Vaygr Carriers, etc. wont work with Hiigarans:


    function HW2_DisableBuilderOnCapture( sobgroupname )
    for i=1,(Universe_PlayerCount()-1) do
    if ( "Player_Ships"..i ) and ( Player_GetRace(i) == Race_Vaygr ) then
    --~ print("disabling for "..i )
    -- get all the players builders and disable on capture
    SobGroup_FillShipsByType ( sobgroupname, "Player_Ships"..i, "Vgr_Carrier" )
    SobGroup_SetCaptureAlwaysDisables( sobgroupname, 1 )

    SobGroup_FillShipsByType ( sobgroupname, "Player_Ships"..i, "Vgr_Shipyard" )
    SobGroup_SetCaptureAlwaysDisables( sobgroupname, 1 )
    end
    end
    end

    ----------------------------
    --end of lua script
    ----------------------------

    You can implement many things with SCAR. Just don't make the code execute every 'frame' ie Add a Rule with a Interval of 1.5 to 3 secs, that shouldn't cause much problems.

    And yes don't use decompiler for these type of scripts, you may lose a lot of information.

  20. #70
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    I have already modified restrict.lua!
    Restrict.lua:
    Code:
    -- LuaDC version 0.9.19
    -- 5/23/2004 7:23:47 PM
    -- LuaDC by Age2uN
    -- on error send source file (compiled lua) and this outputfile to Age2uN@gmx.net
    --
    function RestrictOptions(playerid)
        local playerRace = Player_GetRace(playerid)
        if  playerRace==Race_Hiigaran then
            Player_RestrictBuildOption(playerid, "Hgn_Shipyard_SPG")
            Player_RestrictResearchOption(playerid, "AssaultCorvetteEliteWeaponUpgrade")
            Player_RestrictResearchOption(playerid, "AttackBomberEliteWeaponUpgrade")
            Player_RestrictResearchOption(playerid, "SensorsDowngrade1")
            Player_RestrictResearchOption(playerid, "SensorsDowngrade2")
            Player_RestrictResearchOption(playerid, "SensorsDowngrade3")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal1")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal2")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal3")
            Player_RestrictResearchOption(playerid, "MoverHealthDowngrade")
            Player_RestrictResearchOption(playerid, "FrigateHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_LOW")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_HIGH")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_1")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_2")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_3")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_4")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_5")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_6")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_1")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_2")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_3")
            Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_HIGH")
            Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_HIGH")
        end 
    
        if  playerRace==Race_Vaygr then
            Player_RestrictResearchOption(playerid, "WeakVgrHeavyMissiles")
            Player_RestrictResearchOption(playerid, "HyperspaceRecoveryTimeUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "HyperspaceTransitionTimeUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrCarrierHealthRegenDowngrade")
            Player_RestrictResearchOption(playerid, "ShipyardSpeedDowngradeSPGAME")
            Player_RestrictResearchOption(playerid, "SuperCapHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrFrigateHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrFrigateHealthRegenDowngradeSPGAME")
            Player_RestrictResearchOption(playerid, "CorvetteHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "ExtraStrongVgrHeavyMissilesSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrCaptureHack")
            Player_RestrictResearchOption(playerid, "VaygrReduceCaptureHack")
            Player_RestrictResearchOption(playerid, "VaygrCarrierHealthUpgrade")
        end 
    
    end
    
    function MPRestrict()
        local i = 0
        local numplayers = Universe_PlayerCount()
        while  i<numplayers do
            RestrictOptions(i)
            i = (i + 1)
        end 
    
    end

  21. #71
    Natopo
    Guest
    What would be really nice is if someone had a way to build enemy ships when you have taken over one of their construction vehicles. Like using a marine frigate to take over a vaygr shipyard and actually being able to build out of it instead of just using it as a resource vessel. That would be very pleasant to have.

  22. #72
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    New version coming out soon.Fixed a couple of things,added some files,some new maps,etc..Just need to test some stuff out before I upload mod for download.

  23. Gamers Lounge Senior Member General Discussions Senior Member  #73
    In yo' SCOPEDOG Dawg, Mantaray's Avatar
    Join Date
    Dec 2005
    Location
    Under the Sea
    i also would like to see a script for doing this, would help alot with the pirates mod

  24. #74
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    @mantaray

    Don't you mean a tutorial?

  25. #75
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Should have the new version ready to upload on thursday or friday evening.Trying to get the load a savegame bug fixed when I start HW2 with my mod and then load a savegame.

    Will edit post with when the mod crashes during the load screen.

    [edit]mod crashes at the save database part during the load screen for loading a savegame file if you start HW2 with my mod(big file) and then proceed to load a savegame file or if I load any map and then load the savegame it works. Why?

  26. #76
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    New version ready to download.Check first page for topic for link.

  27. #77
    Paktu
    Guest
    no offence but this is something that even i can do, in fact i made it so that the bentus (thanks moe) can make all races, AND i made my own ships that can be made

    i don't think there was any need for a hype for this mod

  28. #78
    nova_supreme
    Guest
    paktu could post a link to the bentus files you mentioned so that i can ue bentus as a mothership?



    not a good modder

  29. #79
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Busy slowly working on a new version of the mod plus I will be fixing all image link errors as I have moved over to photobucket.Hopefully I have all of the screenshots backed up.Also whats up with the forum site?I tried to update the first post of the thread but all it did was screw up the formatting.Help!

  30. #80
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Got the Hiigaran Dreadnaught to build from the Hiigaran mothership:
    Code:
    ·build available·
    ·generic build available·
    ·build available·
    ·generic build available·
    ·carrier open·
    ·carrier open·
    ·*****---- CommandConstructionComplete : buildingShip=Hgn_MotherShip, builtItem=HGN_MS_PRODUCTION_CAPSHIP, buildType=2·
    ·build available·
    ·capital build available HGN_DREADNAUGHT  BIGCAPITALSHIP·
    ·*****---- CommandConstructionComplete : buildingShip=Hgn_MotherShip, builtItem=Hgn_Dreadnaught, buildType=1·
    Still can't build the sp_tanker from the mothership?Got Mikail's imode for the music and the background to be random in the same map:
    Code:
    setWorldBoundsInner({0, 0, 0}, {100000, 100000, 100000})
    end
    
    function NonDetermChunk()
      fogSetActive(300)
      setGlareIntensity(0)
      setLevelShadowColour(0, 0, 0, 1)
      randomBackground(1)
      randomMusic(3)
      setSensorsManagerCameraDistances(1000, 100000)  
      
    end
    
    function randomBackground(iMode)
    	-- function created by Mikail
    	local randNum = 0
    	local backgroundTable =
    	{
    		"m01", "m02", "m03", "m04", "m05", "m06", "m07", "m08", "m09", "m10", "m11", "m12", "m13", "m14", "m15",
    		"planet", "quick", "singlesun", "tanis", "taniswstars", 
    	}
    	if (iMode == 1) then
    		randNum = random(15)
    	elseif (iMode == 2) then
    		randNum = random(15, 22)
    	elseif (iMode == 3) then
    		randNum = random(22)
    	end
    	if (iMode ~= 0) then
    		loadBackground(backgroundTable[randNum]);
    		print([[Level background (]] .. randNum .. [[): "]] .. backgroundTable[randNum] .. [["]])
    	end
    	-- function created by Mikail
    	local randNum = 0
    	local musicDir = ""
    	local musicTable =
    	{
    		"amb_01", "amb_02", "amb_03", "amb_04", "amb_05", "amb_06", "amb_07", "amb_08", "amb_09", "amb_10", "amb_11", "amb_12", "amb_13", "amb_14",
    		"battle_01", "battle_04", "battle_04_alt", "battle_06", "battle_keeper", "battle_movers", "battle_planetkillers", "battle_sajuuk", "bentus_arrival",
    	}
    	if (iMode == 1) then
    		randNum = random(14)
    	elseif (iMode == 2) then
    		randNum = random(14, 23)
    	elseif (iMode == 3) then
    		randNum = random(23)
    	end
    	if (randNum <= 14) then
    		musicDir = "ambient"
    	else
    		musicDir = "battle"
    	end
    	if (iMode ~= 0) then
    		setDefaultMusic("Data:sound/music/" .. musicDir .. "/" .. musicTable[randNum])
    		print([[Level music (]] .. randNum .. [[): "]] .. musicTable[randNum] .. [["]])
    	end
    end
    I get this error message in the hw2.log file regarding the use of the random music and background in the same map:
    Code:
    ·CmdLine: -mod UltimateHW2modv4.0.big -luatrace -hwcursor -w 1366 -h 768·
    ·Starting Level: data:LevelData\Multiplayer\Deathmatch\4P_MVU_RDNM_BGND_MAX.LEVEL·
    ·Level background (1): "m01"·
    ·Level music (8): "amb_08"·
    ·LUA 'data:LevelData\Multiplayer\Deathmatch\4P_MVU_RDNM_BGND_MAX.LEVEL' -- parameter: attempt to call global `randomMusic' (a nil value)
    stack traceback:
       1:  function `NonDetermChunk' at line 456 [string ""]·
    ·build available·
    ·generic build available·
    ·build available·
    ·generic build available·
    ·carrier open·
    ·carrier open·
    Explanation please anyone?

    Thanks.
    Last edited by maxdamage; 25th Jun 12 at 1:24 PM.

  31. #81
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    As you can see I have "unlocked" 3 Hiigaran sp research options for multiplayer usage so far:
    Code:
    function RestrictOptions(playerid)
        local playerRace = Player_GetRace(playerid)
        if  playerRace==Race_Hiigaran then
        ---AssaultCorvetteEliteWeaponUpgrade RESEARCH HACK
        ---AttackBomberEliteWeaponUpgrade RESEARCH HACK
            Player_RestrictResearchOption(playerid, "SensorsDowngrade1")
            Player_RestrictResearchOption(playerid, "SensorsDowngrade2")
            Player_RestrictResearchOption(playerid, "SensorsDowngrade3")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal1")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal2")
            Player_RestrictResearchOption(playerid, "SensorsBackToNormal3")
            Player_RestrictResearchOption(playerid, "MoverHealthDowngrade")
         ---FrigateHealthUpgradeSPGAME RESEARCH HACK
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_LOW")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_HIGH")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_1")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_2")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_3")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_4")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_5")
            Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_6")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_1")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_2")
            Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_3")
            Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_HIGH")
            Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_MED")
            Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_HIGH")
        end 
    
        if  playerRace==Race_Vaygr then
            Player_RestrictResearchOption(playerid, "WeakVgrHeavyMissiles")
            Player_RestrictResearchOption(playerid, "HyperspaceRecoveryTimeUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "HyperspaceTransitionTimeUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrCarrierHealthRegenDowngrade")
            Player_RestrictResearchOption(playerid, "ShipyardSpeedDowngradeSPGAME")
            Player_RestrictResearchOption(playerid, "SuperCapHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrFrigateHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrFrigateHealthRegenDowngradeSPGAME")
            Player_RestrictResearchOption(playerid, "CorvetteHealthUpgradeSPGAME")
            Player_RestrictResearchOption(playerid, "ExtraStrongVgrHeavyMissilesSPGAME")
            Player_RestrictResearchOption(playerid, "VaygrCaptureHack")
            Player_RestrictResearchOption(playerid, "VaygrReduceCaptureHack")
            Player_RestrictResearchOption(playerid, "VaygrCarrierHealthUpgrade")
        end 
    
    end
    
    function MPRestrict()
        local i = 0
        local numplayers = Universe_PlayerCount()
        while  i<numplayers do
            RestrictOptions(i)
            i = (i + 1)
        end 
    
    end
    The only problem is that out of the 3 research "unlocked" only the FrigateHealthUpgradeSPGAME appears in the research menu in-game which I plan to restrict by only allowing it to display once the frigate production subsystem is built.
    Code:
     { 
            Name = "AssaultCorvetteEliteWeaponUpgrade", 
            RequiredResearch = "", 
            RequiredSubSystems = "CorvetteProduction", 
            Cost = 0, 
            Time = 0, 
            DisplayedName = "Elite Assault Corvette Weapon Upgrade", 
            DisplayPriority = 1204, 
            Description = "", 
            UpgradeType = Modifier, 
            TargetType = Ship, 
            TargetName = "Hgn_AssaultCorvetteElite", 
            UpgradeName = "WeaponDamage", 
            UpgradeValue = 2, }, 
        { 
            Name = "AttackBomberEliteWeaponUpgrade", 
            RequiredResearch = "", 
            RequiredSubSystems = "FighterProduction", 
            Cost = 0, 
            Time = 0, 
            DisplayedName = "Elite Attack Bomber Weapon Upgrade", 
            DisplayPriority = 1205, 
            Description = "", 
            UpgradeType = Modifier, 
            TargetType = Ship, 
            TargetName = "Hgn_AttackBomberElite", 
            UpgradeName = "WeaponDamage", 
            UpgradeValue = 1.8, }, 
        { 
            Name = "FrigateHealthUpgradeSPGAME", 
            RequiredResearch = "", 
            RequiredSubSystems = "", 
            Cost = 800, 
            Time = 60, 
            DisplayedName = "$7571", 
            DisplayPriority = 300, 
            Description = "$7572", 
            UpgradeType = Modifier, 
            TargetType = Family, 
            TargetName = "Frigate", 
            UpgradeName = "MAXHEALTH", 
            UpgradeValue = 2.5, },
    What else do I have to do to get the research to appear in-game?
    Last edited by maxdamage; 3rd Jul 12 at 5:30 PM.

  32. #82
    Member Chimas's Avatar
    Join Date
    Jun 2012
    Location
    now watching c-beams glitter in the dark near Tannhäuser Gate
    Hi,

    Please, fix your links for the MOD files.

    Or write "TBD" or "WIP" next to the broken links, if you don't wanna publish the game right away.

  33. #83
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Firstly the broken links are for images which I don't have anymore.I am in the process of adding newer images to the thread here.Fixed download link in the first post in the thread.
    Last edited by maxdamage; 6th Jul 12 at 12:51 PM.

  34. #84
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    New screenies in the first post.

  35. #85
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    *BUMP* Check first post for new sceenshot of the new menu background.

  36. #86
    Member maxdamage's Avatar
    Join Date
    Dec 2003
    Location
    Gauteng,South Africa
    Updated the first page here with the direct download link for the version v4.0 of my mod.

  37. #87
    Member
    Join Date
    Oct 2012
    Location
    Ireland
    Nice to see this still alive. I played it way back. Good work.

Page 2 of 2 FirstFirst 12

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
  •