diff --git a/RALint/RALint.cs b/RALint/RALint.cs index e372c19287..9bcf6c3bf4 100644 --- a/RALint/RALint.cs +++ b/RALint/RALint.cs @@ -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,8 +62,8 @@ namespace RALint } catch (Exception e) { - Console.WriteLine("Failed with exception: {0}".F(e)); - return 1; + EmitError("Failed with exception: {0}".F(e)); + return 1; } } diff --git a/mods/cnc/vehicles.yaml b/mods/cnc/vehicles.yaml index db6b3b5267..1d645674ba 100644 --- a/mods/cnc/vehicles.yaml +++ b/mods/cnc/vehicles.yaml @@ -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: @@ -270,7 +270,7 @@ LTNK: Explodes: Weapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall - + MTNK: Inherits: ^Tank 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