Bugfixes: Airfield on left-map-edge and Phase Tank
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@@ -270,6 +270,7 @@
|
|||||||
<Compile Include="Traits\World\ScreenShaker.cs" />
|
<Compile Include="Traits\World\ScreenShaker.cs" />
|
||||||
<Compile Include="Traits\LineBuild.cs" />
|
<Compile Include="Traits\LineBuild.cs" />
|
||||||
<Compile Include="Traits\World\Theater.cs" />
|
<Compile Include="Traits\World\Theater.cs" />
|
||||||
|
<Compile Include="Traits\Cloak.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
||||||
|
|||||||
@@ -20,10 +20,8 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
|
||||||
|
|
||||||
|
namespace OpenRA.Traits
|
||||||
namespace OpenRA.Mods.Cnc
|
|
||||||
{
|
{
|
||||||
class CloakInfo : ITraitInfo
|
class CloakInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -48,7 +48,6 @@
|
|||||||
<Compile Include="ProductionAirdrop.cs" />
|
<Compile Include="ProductionAirdrop.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="TiberiumRefinery.cs" />
|
<Compile Include="TiberiumRefinery.cs" />
|
||||||
<Compile Include="Cloak.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#region Copyright & License Information
|
#region Copyright & License Information
|
||||||
/*
|
/*
|
||||||
* Copyright 2007,2009,2010 Chris Forbes, Robert Pepperell, Matthew Bowra-Dean, Paul Chote, Alli Witheford.
|
* Copyright 2007,2009,2010 Chris Forbes, Robert Pepperell, Matthew Bowra-Dean, Paul Chote, Alli Witheford.
|
||||||
* This file is part of OpenRA.
|
* This file is part of OpenRA.
|
||||||
@@ -37,9 +37,9 @@ namespace OpenRA.Mods.Cnc
|
|||||||
{
|
{
|
||||||
var owner = self.Owner;
|
var owner = self.Owner;
|
||||||
|
|
||||||
// Start beyond the edge of the map, to give a finite delay, and ability to land when AFLD is on map edge
|
// Start and end beyond the edge of the map, to give a finite delay, and ability to land when AFLD is on map edge
|
||||||
var startPos = new int2(owner.World.Map.XOffset + owner.World.Map.Width+15, self.Location.Y);
|
var startPos = new int2(owner.World.Map.XOffset + owner.World.Map.Width+15, self.Location.Y);
|
||||||
var endPos = new int2(owner.World.Map.XOffset, self.Location.Y);
|
var endPos = new int2(owner.World.Map.XOffset-15, self.Location.Y);
|
||||||
var unloadOffset = new int2(1,1);
|
var unloadOffset = new int2(1,1);
|
||||||
var exitOffset = new int2(3,1);
|
var exitOffset = new int2(3,1);
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,9 @@ STNK:
|
|||||||
PrimaryWeapon: APTusk
|
PrimaryWeapon: APTusk
|
||||||
Recoil: 2
|
Recoil: 2
|
||||||
RenderUnitTurreted:
|
RenderUnitTurreted:
|
||||||
; Cloak:
|
Cloak:
|
||||||
|
CloakSound:ironcur9.aud
|
||||||
|
UncloakSound:ironcur9.aud
|
||||||
|
|
||||||
TTNK:
|
TTNK:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
|
|||||||
@@ -50,8 +50,8 @@
|
|||||||
</unit>
|
</unit>
|
||||||
|
|
||||||
<!-- Notes on explosions:
|
<!-- Notes on explosions:
|
||||||
cnc does not recognize water explosions, so these will cause problems (missing art)
|
these are mostly broken now that we don't depend on RA
|
||||||
it also defines the following sets of explosions that we are not using all of:
|
cnc mixen also include the following sets of explosions that we are not using all of:
|
||||||
frag1, frag3 : medium explosions
|
frag1, frag3 : medium explosions
|
||||||
napalm1, napalm2, napalm3 : small, medium, large fire
|
napalm1, napalm2, napalm3 : small, medium, large fire
|
||||||
veh-hit1, veh-hit2, veh-hit3
|
veh-hit1, veh-hit2, veh-hit3
|
||||||
|
|||||||
Reference in New Issue
Block a user