fix bounding boxes on cnc vehicles
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user