merged ra-ng into ra base mod
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@@ -45,7 +45,6 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="CrateDrop.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -20,24 +20,18 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using OpenRA.Mods.RA;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
using OpenRA.Traits.Activities;
|
using OpenRA.Traits.Activities;
|
||||||
using OpenRA.GameRules;
|
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA_NG
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
public class CrateDropInfo : ITraitInfo
|
public class CrateDropInfo : TraitInfo<CrateDrop>
|
||||||
{
|
{
|
||||||
public readonly int Minimum = 1; // Minumum number of crates
|
public readonly int Minimum = 1; // Minumum number of crates
|
||||||
public readonly int Maximum = 255; // Maximum number of crates
|
public readonly int Maximum = 255; // Maximum number of crates
|
||||||
public readonly int SpawnInterval = 180; // Average time (seconds) between crate spawn
|
public readonly int SpawnInterval = 180; // Average time (seconds) between crate spawn
|
||||||
public readonly float WaterChance = .2f; // Chance of generating a water crate instead of a land crate
|
public readonly float WaterChance = .2f; // Chance of generating a water crate instead of a land crate
|
||||||
|
|
||||||
public object Create(Actor self)
|
|
||||||
{
|
|
||||||
return new CrateDrop();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CrateDrop : ITick
|
public class CrateDrop : ITick
|
||||||
@@ -57,6 +57,7 @@
|
|||||||
<Compile Include="C4Demolition.cs" />
|
<Compile Include="C4Demolition.cs" />
|
||||||
<Compile Include="CarpetBomb.cs" />
|
<Compile Include="CarpetBomb.cs" />
|
||||||
<Compile Include="Chronoshiftable.cs" />
|
<Compile Include="Chronoshiftable.cs" />
|
||||||
|
<Compile Include="CrateDrop.cs" />
|
||||||
<Compile Include="Crates\SupportPowerCrateAction.cs" />
|
<Compile Include="Crates\SupportPowerCrateAction.cs" />
|
||||||
<Compile Include="Effects\NukeLaunch.cs" />
|
<Compile Include="Effects\NukeLaunch.cs" />
|
||||||
<Compile Include="Activities\Harvest.cs" />
|
<Compile Include="Activities\Harvest.cs" />
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
World:
|
|
||||||
-CrateSpawner:
|
|
||||||
CrateDrop:
|
|
||||||
Minimum: 1
|
|
||||||
Maximum: 3
|
|
||||||
SpawnInterval: 20
|
|
||||||
WaterChance: .2
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
IRON:
|
|
||||||
Category: Defense
|
|
||||||
PDOX:
|
|
||||||
Category: Defense
|
|
||||||
PBOX:
|
|
||||||
Category: Defense
|
|
||||||
HBOX:
|
|
||||||
Category: Defense
|
|
||||||
TSLA:
|
|
||||||
Category: Defense
|
|
||||||
GUN:
|
|
||||||
Category: Defense
|
|
||||||
AGUN:
|
|
||||||
Category: Defense
|
|
||||||
FTUR:
|
|
||||||
Category: Defense
|
|
||||||
GAP:
|
|
||||||
Category: Defense
|
|
||||||
SAM:
|
|
||||||
Category: Defense
|
|
||||||
MSLO:
|
|
||||||
Category: Defense
|
|
||||||
|
|
||||||
BRIK:
|
|
||||||
Category: Defense
|
|
||||||
SBAG:
|
|
||||||
Category: Defense
|
|
||||||
CYCL:
|
|
||||||
Category: Defense
|
|
||||||
WOOD:
|
|
||||||
Category: Defense
|
|
||||||
BARB:
|
|
||||||
Category: Defense
|
|
||||||
FENC:
|
|
||||||
Category: Defense
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# Red Alert: Next Generation - Rules Manifest
|
|
||||||
|
|
||||||
Packages:
|
|
||||||
|
|
||||||
Rules:
|
|
||||||
mods/ra-ng/crate-drop.yaml
|
|
||||||
mods/ra-ng/defense-queue.yaml
|
|
||||||
|
|
||||||
Sequences:
|
|
||||||
|
|
||||||
Assemblies:
|
|
||||||
mods/ra-ng/OpenRA.Mods.RA_NG.dll:
|
|
||||||
mods/ra/OpenRA.Mods.RA.dll:
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
MSLO:
|
MSLO:
|
||||||
|
Category: Defense
|
||||||
NukeSilo:
|
NukeSilo:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
@@ -19,6 +20,7 @@ MSLO:
|
|||||||
IronCurtainable:
|
IronCurtainable:
|
||||||
|
|
||||||
GAP:
|
GAP:
|
||||||
|
Category: Defense
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
GeneratesGap:
|
GeneratesGap:
|
||||||
@@ -96,6 +98,7 @@ SYRD:
|
|||||||
-EmitInfantryOnSell:
|
-EmitInfantryOnSell:
|
||||||
|
|
||||||
IRON:
|
IRON:
|
||||||
|
Category: Defense
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
@@ -120,6 +123,7 @@ IRON:
|
|||||||
IronCurtain:
|
IronCurtain:
|
||||||
|
|
||||||
PDOX:
|
PDOX:
|
||||||
|
Category: Defense
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
@@ -144,6 +148,7 @@ PDOX:
|
|||||||
IronCurtainable:
|
IronCurtainable:
|
||||||
|
|
||||||
TSLA:
|
TSLA:
|
||||||
|
Category: Defense
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
@@ -172,6 +177,7 @@ TSLA:
|
|||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
|
|
||||||
AGUN:
|
AGUN:
|
||||||
|
Category: Defense
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
@@ -228,6 +234,7 @@ DOME:
|
|||||||
IronCurtainable:
|
IronCurtainable:
|
||||||
|
|
||||||
PBOX:
|
PBOX:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 2
|
TechLevel: 2
|
||||||
@@ -249,6 +256,7 @@ PBOX:
|
|||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
|
|
||||||
HBOX:
|
HBOX:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 3
|
TechLevel: 3
|
||||||
@@ -270,6 +278,7 @@ HBOX:
|
|||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
|
|
||||||
GUN:
|
GUN:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 4
|
TechLevel: 4
|
||||||
@@ -296,6 +305,7 @@ GUN:
|
|||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
|
|
||||||
FTUR:
|
FTUR:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 2
|
TechLevel: 2
|
||||||
@@ -318,6 +328,7 @@ FTUR:
|
|||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
|
|
||||||
SAM:
|
SAM:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 9
|
TechLevel: 9
|
||||||
@@ -792,6 +803,7 @@ DOMF:
|
|||||||
Fake:
|
Fake:
|
||||||
|
|
||||||
SBAG:
|
SBAG:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Wall
|
Inherits: ^Wall
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 2
|
TechLevel: 2
|
||||||
@@ -806,6 +818,7 @@ SBAG:
|
|||||||
Armor: none
|
Armor: none
|
||||||
|
|
||||||
FENC:
|
FENC:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Wall
|
Inherits: ^Wall
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 2
|
TechLevel: 2
|
||||||
@@ -820,6 +833,7 @@ FENC:
|
|||||||
Armor: none
|
Armor: none
|
||||||
|
|
||||||
BRIK:
|
BRIK:
|
||||||
|
Category: Defense
|
||||||
Inherits: ^Wall
|
Inherits: ^Wall
|
||||||
Buildable:
|
Buildable:
|
||||||
TechLevel: 8
|
TechLevel: 8
|
||||||
|
|||||||
@@ -90,10 +90,10 @@ World:
|
|||||||
UnitInfluence:
|
UnitInfluence:
|
||||||
ChoosePaletteOnSelect:
|
ChoosePaletteOnSelect:
|
||||||
BridgeLayer:
|
BridgeLayer:
|
||||||
CrateSpawner:
|
CrateDrop:
|
||||||
Minimum: 1
|
Minimum: 1
|
||||||
Maximum: 3
|
Maximum: 3
|
||||||
SpawnInterval: 30
|
SpawnInterval: 20
|
||||||
WaterChance: .2
|
WaterChance: .2
|
||||||
PaletteFromFile@terrain_temperat:
|
PaletteFromFile@terrain_temperat:
|
||||||
Name: terrain
|
Name: terrain
|
||||||
|
|||||||
@@ -134,10 +134,6 @@ SectionGroup /e "Mods"
|
|||||||
Delete aftermath-packages.zip
|
Delete aftermath-packages.zip
|
||||||
SectionEnd
|
SectionEnd
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
Section "Red Alert: Next Generation" RA_NG
|
|
||||||
SetOutPath "$INSTDIR\mods\ra-ng"
|
|
||||||
File "..\..\mods\ra-ng\*.*"
|
|
||||||
SectionEnd
|
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
|
|
||||||
;***************************
|
;***************************
|
||||||
@@ -237,14 +233,12 @@ LangString DESC_Client ${LANG_ENGLISH} "OpenRA client and dependencies"
|
|||||||
LangString DESC_RA ${LANG_ENGLISH} "Base Red Alert mod"
|
LangString DESC_RA ${LANG_ENGLISH} "Base Red Alert mod"
|
||||||
LangString DESC_CNC ${LANG_ENGLISH} "Base Command and Conquer mod"
|
LangString DESC_CNC ${LANG_ENGLISH} "Base Command and Conquer mod"
|
||||||
LangString DESC_Aftermath ${LANG_ENGLISH} "Red Alert: Aftermath expansion mod (depends on base Red Alert mod)"
|
LangString DESC_Aftermath ${LANG_ENGLISH} "Red Alert: Aftermath expansion mod (depends on base Red Alert mod)"
|
||||||
LangString DESC_RA_NG ${LANG_ENGLISH} "Next-gen Red Alert mod (depends on base Red Alert mod)"
|
|
||||||
|
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${Client} $(DESC_Client)
|
!insertmacro MUI_DESCRIPTION_TEXT ${Client} $(DESC_Client)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${RA} $(DESC_RA)
|
!insertmacro MUI_DESCRIPTION_TEXT ${RA} $(DESC_RA)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${CNC} $(DESC_CNC)
|
!insertmacro MUI_DESCRIPTION_TEXT ${CNC} $(DESC_CNC)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${Aftermath} $(DESC_Aftermath)
|
!insertmacro MUI_DESCRIPTION_TEXT ${Aftermath} $(DESC_Aftermath)
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${RA_NG} $(DESC_RA_NG)
|
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||||
|
|
||||||
;***************************
|
;***************************
|
||||||
|
|||||||
Reference in New Issue
Block a user