upgraded cnc to use the new weaponmodel

This commit is contained in:
Chris Forbes
2010-04-02 12:31:34 +13:00
parent ef73720f79
commit 45f9ec2f7e
9 changed files with 494 additions and 505 deletions

View File

@@ -20,13 +20,16 @@
using System.Collections.Generic;
using System.Drawing;
using OpenRA.Traits;
using OpenRA.GameRules;
using OpenRA.Traits;
namespace OpenRA.Effects
{
class LaserZapInfo : IProjectileInfo
{
public readonly int BeamRadius = 1;
public readonly bool UsePlayerColor = false;
public IEffect Create(ProjectileArgs args) { return null; /* todo: fix me so OBLI works again */ }
}

View File

@@ -89,7 +89,7 @@ namespace OpenRA.GameRules
public readonly int Burst = 1;
public readonly bool Charges = false;
public readonly bool Underwater = false;
public readonly string[] ValidTargets = { "Vehicle", "Infantry", "Building", "Defense", "Ship" };
public readonly string[] ValidTargets = { "Ground" };
public IProjectileInfo Projectile;
public List<WarheadInfo> Warheads = new List<WarheadInfo>();