Results 1 to 2 of 2

How can i get a subsystem to be researched?

  1. #1

    How can i get a subsystem to be researched?

    Okay im having trouble trying to get the siege cannon to first be researched before you can build it but the game desks when i tried this, if anyone knows how plz explain.

  2. #2
    Member Dim@'s Avatar
    Join Date
    Jul 2007
    Location
    Battlecruiser complete
    You would make the research like a "tech", i.e. with no target. Or rather, it has a target, but no UpgradeName, the target is simply so the UI knows what icon to show it under.
    Example (Based on the hiigs' destroyer tech):
    Code:
    {
               Name =                    "SiegeTech",
               RequiredResearch =        "",
               RequiredSubSystems =    "Research | AdvancedResearch & CapShipProduction",
               Cost =                     1500,
               Time =                     90,
               DisplayedName =            "Siege Cannon Technology",
               DisplayPriority =        3,
               Description =            "Enables construction of siege cannons",
               TargetName =         "Hgn_SiegeCannon",
               Icon = Icon_Tech,
               ShortDisplayedName = "Siege Cannons",
        },
    Then, in the research prerequisites of the siege cannon subsystem, you add that research.
    Example (Based on the Vaygr Hyperspace module):
    Code:
        { 
            Type =                     SubSystem, 
            ThingToBuild =             "Hgn_SiegeCannon",
            RequiredResearch =        "SiegeTech",
            RequiredShipSubSystems =    "",
            DisplayPriority =        20,
            DisplayedName =            "Siege Cannon",
            Description =            "Insert description here" 
        },
    Destroying things is easy.
    Creating things is hard.
    Creating things in order to watch them explode is just plain fun.

    Explosion Damage Script, Scripting Tutorial

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
  •