fix bounding boxes on cnc vehicles

This commit is contained in:
Chris Forbes
2010-09-08 22:19:33 +12:00
parent 95d29c6910
commit 4b1bc7acd4
2 changed files with 10 additions and 7 deletions

View File

@@ -13,9 +13,8 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using OpenRA;
using OpenRA.GameRules;
using OpenRA.Traits;
using OpenRA.FileFormats;
using OpenRA.Traits;
namespace RALint
{
@@ -40,7 +39,7 @@ namespace RALint
FieldLoader.UnknownFieldAction = (s, f) => EmitError("FieldLoader: Missing field `{0}` on `{1}`".F(s, f.Name));
AppDomain.CurrentDomain.AssemblyResolve += FileSystem.ResolveAssembly;
Game.modData = new ModData( args );
Game.modData = new ModData(args);
Rules.LoadRules(Game.modData.Manifest, new Map());
// all the @something names which actually EXIST.
@@ -63,7 +62,7 @@ namespace RALint
}
catch (Exception e)
{
Console.WriteLine("Failed with exception: {0}".F(e));
EmitError("Failed with exception: {0}".F(e));
return 1;
}
}

View File

@@ -43,6 +43,7 @@ HARV:
Owner: gdi,nod
Selectable:
Priority: 7
Bounds: 44,44
Harvester:
Resources: Tiberium
PipCount: 5
@@ -207,7 +208,6 @@ BIKE:
RenderUnit:
AutoTarget:
JEEP:
Inherits: ^Vehicle
Valued:
@@ -303,6 +303,8 @@ MTNK:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 34,34
HTNK:
Inherits: ^Tank
@@ -341,6 +343,8 @@ HTNK:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 40,38,0,-3
MSAM:
Inherits: ^Tank