fix bounding boxes on cnc vehicles
This commit is contained in:
@@ -13,9 +13,8 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using OpenRA;
|
using OpenRA;
|
||||||
using OpenRA.GameRules;
|
|
||||||
using OpenRA.Traits;
|
|
||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace RALint
|
namespace RALint
|
||||||
{
|
{
|
||||||
@@ -40,7 +39,7 @@ namespace RALint
|
|||||||
FieldLoader.UnknownFieldAction = (s, f) => EmitError("FieldLoader: Missing field `{0}` on `{1}`".F(s, f.Name));
|
FieldLoader.UnknownFieldAction = (s, f) => EmitError("FieldLoader: Missing field `{0}` on `{1}`".F(s, f.Name));
|
||||||
|
|
||||||
AppDomain.CurrentDomain.AssemblyResolve += FileSystem.ResolveAssembly;
|
AppDomain.CurrentDomain.AssemblyResolve += FileSystem.ResolveAssembly;
|
||||||
Game.modData = new ModData( args );
|
Game.modData = new ModData(args);
|
||||||
Rules.LoadRules(Game.modData.Manifest, new Map());
|
Rules.LoadRules(Game.modData.Manifest, new Map());
|
||||||
|
|
||||||
// all the @something names which actually EXIST.
|
// all the @something names which actually EXIST.
|
||||||
@@ -63,8 +62,8 @@ namespace RALint
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Failed with exception: {0}".F(e));
|
EmitError("Failed with exception: {0}".F(e));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ HARV:
|
|||||||
Owner: gdi,nod
|
Owner: gdi,nod
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 7
|
Priority: 7
|
||||||
|
Bounds: 44,44
|
||||||
Harvester:
|
Harvester:
|
||||||
Resources: Tiberium
|
Resources: Tiberium
|
||||||
PipCount: 5
|
PipCount: 5
|
||||||
@@ -207,7 +208,6 @@ BIKE:
|
|||||||
RenderUnit:
|
RenderUnit:
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
|
|
||||||
|
|
||||||
JEEP:
|
JEEP:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
Valued:
|
Valued:
|
||||||
@@ -270,7 +270,7 @@ LTNK:
|
|||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeSmall
|
Weapon: UnitExplodeSmall
|
||||||
EmptyWeapon: UnitExplodeSmall
|
EmptyWeapon: UnitExplodeSmall
|
||||||
|
|
||||||
MTNK:
|
MTNK:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
Valued:
|
Valued:
|
||||||
@@ -303,6 +303,8 @@ MTNK:
|
|||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeSmall
|
Weapon: UnitExplodeSmall
|
||||||
EmptyWeapon: UnitExplodeSmall
|
EmptyWeapon: UnitExplodeSmall
|
||||||
|
Selectable:
|
||||||
|
Bounds: 34,34
|
||||||
|
|
||||||
HTNK:
|
HTNK:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
@@ -341,6 +343,8 @@ HTNK:
|
|||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeSmall
|
Weapon: UnitExplodeSmall
|
||||||
EmptyWeapon: UnitExplodeSmall
|
EmptyWeapon: UnitExplodeSmall
|
||||||
|
Selectable:
|
||||||
|
Bounds: 40,38,0,-3
|
||||||
|
|
||||||
MSAM:
|
MSAM:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
|
|||||||
Reference in New Issue
Block a user