Skip to content

[Feature Request] Add Scripts to Disable and Enable Naval Shipyards #273

@genestrashcan

Description

@genestrashcan

Add Scripts similar to Fscripts in final alert 2 to Disable and Enable Naval Shipyards on maps with and without water.

here is the code from the original Ellington fscripts for disabling and enabling naval shipyards.

Disables Shipyards

// FinalAlert2:YR Script file
// Name: Disable Naval Shipyards
// Written By: Ellington
// Last Change: December 20, 1999
// Be careful when editing scripts, they may cause damage to maps if used improperly

SetSafeMode("FALSE","Necessary for setting Naval Yard Ini Keys");

SetIniKey("GAYARD","TechLevel","-1");
SetIniKey("NAYARD","TechLevel","-1");
SetIniKey("YAYARD","TechLevel","-1");

Enables Shipyards

// FinalAlert2:YR Script file
// Name: Enable Naval Shipyards
// Written By: Ellington
// Last Change: December 20, 1999
// Be careful when editing scripts, they may cause damage to maps if used improperly

SetSafeMode("FALSE","Necessary for setting Naval Yard Ini Keys");

SetIniKey("GAYARD","TechLevel","4");
SetIniKey("NAYARD","TechLevel","2");
SetIniKey("YAYARD","TechLevel","4");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions