Changed Bounds/added VisualBounds in D2k mod

This commit is contained in:
reaperrr
2015-06-05 04:46:23 +02:00
parent 0ff22b8cbc
commit f709a6f6c4
5 changed files with 54 additions and 20 deletions

View File

@@ -145,12 +145,12 @@ orni:
RearmBuildings: RearmBuildings:
WithFacingSpriteBody: WithFacingSpriteBody:
WithShadow: WithShadow:
Selectable:
Bounds: 38,32,0,0
LeavesHusk: LeavesHusk:
HuskActor: orni.husk HuskActor: orni.husk
AutoSelectionSize: AutoSelectionSize:
RenderSprites: RenderSprites:
SelectionDecorations:
VisualBounds: 38,32,0,0
orni.bomber: orni.bomber:
AttackBomber: AttackBomber:

View File

@@ -34,7 +34,9 @@
Dune: 60 Dune: 60
ROT: 5 ROT: 5
SelectionDecorations: SelectionDecorations:
VisualBounds: 32,32
Selectable: Selectable:
Bounds: 32,32
TargetableUnit: TargetableUnit:
TargetTypes: Ground, C4 TargetTypes: Ground, C4
Passenger: Passenger:
@@ -89,7 +91,9 @@
Dune: 70 Dune: 70
ROT: 5 ROT: 5
SelectionDecorations: SelectionDecorations:
VisualBounds: 32,32
Selectable: Selectable:
Bounds: 32,32
TargetableUnit: TargetableUnit:
TargetTypes: Ground, C4 TargetTypes: Ground, C4
Passenger: Passenger:
@@ -213,6 +217,7 @@
Dune: 60 Dune: 60
Rough: 70 Rough: 70
SelectionDecorations: SelectionDecorations:
VisualBounds: 12,18,0,-6
Selectable: Selectable:
Bounds: 12,18,0,-6 Bounds: 12,18,0,-6
TargetableUnit: TargetableUnit:
@@ -270,7 +275,9 @@
AppearsOnRadar: AppearsOnRadar:
UseLocation: yes UseLocation: yes
SelectionDecorations: SelectionDecorations:
VisualBounds: 32,32
Selectable: Selectable:
Bounds: 32,32
TargetableAircraft: TargetableAircraft:
TargetTypes: Air TargetTypes: Air
GroundedTargetTypes: Ground GroundedTargetTypes: Ground

View File

@@ -113,6 +113,8 @@ crate:
Selectable: false Selectable: false
Bounds: 15,15,-1,-1 Bounds: 15,15,-1,-1
Passenger: Passenger:
SelectionDecorations:
VisualBounds: 15,15,-1,-1
mpspawn: mpspawn:
Immobile: Immobile:

View File

@@ -76,6 +76,8 @@ conyard:
WithBuildingPlacedOverlay: WithBuildingPlacedOverlay:
Palette: d2k Palette: d2k
PrimaryBuilding: PrimaryBuilding:
SelectionDecorations:
VisualBounds: 96,64
power: power:
Inherits: ^Building Inherits: ^Building
@@ -110,6 +112,8 @@ power:
Amount: 100 Amount: 100
ScalePowerWithHealth: ScalePowerWithHealth:
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 64,64
barracks: barracks:
Inherits: ^Building Inherits: ^Building
@@ -166,6 +170,8 @@ barracks:
atreides: barracks.atreides atreides: barracks.atreides
ordos: barracks.ordos ordos: barracks.ordos
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 64,64
refinery: refinery:
Inherits: ^Building Inherits: ^Building
@@ -219,6 +225,8 @@ refinery:
WithIdleOverlay@TOP: WithIdleOverlay@TOP:
Sequence: idle-top Sequence: idle-top
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,64
silo: silo:
Inherits: ^Building Inherits: ^Building
@@ -257,6 +265,8 @@ silo:
Amount: -5 Amount: -5
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
SelectionDecorations:
VisualBounds: 32,32
light: light:
Inherits: ^Building Inherits: ^Building
@@ -314,6 +324,8 @@ light:
Sequence: idle-top Sequence: idle-top
Power: Power:
Amount: -20 Amount: -20
SelectionDecorations:
VisualBounds: 96,64
heavy: heavy:
Inherits: ^Building Inherits: ^Building
@@ -322,7 +334,7 @@ heavy:
Queue: Building Queue: Building
BuildPaletteOrder: 100 BuildPaletteOrder: 100
Selectable: Selectable:
Bounds: 96,96 Bounds: 96,68,0,12
Valued: Valued:
Cost: 2000 Cost: 2000
Tooltip: Tooltip:
@@ -372,6 +384,8 @@ heavy:
Power: Power:
Amount: -30 Amount: -30
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,96
radar: radar:
Inherits: ^Building Inherits: ^Building
@@ -414,6 +428,8 @@ radar:
Power: Power:
Amount: -40 Amount: -40
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,64
starport: starport:
Inherits: ^Building Inherits: ^Building
@@ -473,6 +489,8 @@ starport:
Power: Power:
Amount: -40 Amount: -40
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,64
wall: wall:
Buildable: Buildable:
@@ -540,7 +558,7 @@ guntower:
Sellable: Sellable:
SellSounds: CHUNG.WAV SellSounds: CHUNG.WAV
Selectable: Selectable:
Bounds: 32,40,0,-8 Bounds: 32,32
Priority: 3 Priority: 3
-GivesBuildableArea: -GivesBuildableArea:
Health: Health:
@@ -576,6 +594,8 @@ guntower:
Amount: -20 Amount: -20
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
SelectionDecorations:
VisualBounds: 32,40,0,-8
rockettower: rockettower:
Inherits: ^Building Inherits: ^Building
@@ -594,7 +614,7 @@ rockettower:
Sellable: Sellable:
SellSounds: CHUNG.WAV SellSounds: CHUNG.WAV
Selectable: Selectable:
Bounds: 32,40,0,-8 Bounds: 32,32
Priority: 3 Priority: 3
-GivesBuildableArea: -GivesBuildableArea:
Health: Health:
@@ -631,6 +651,8 @@ rockettower:
Amount: -30 Amount: -30
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
SelectionDecorations:
VisualBounds: 32,40,0,-8
repair: repair:
Inherits: ^Building Inherits: ^Building
@@ -652,6 +674,10 @@ repair:
Type: Concrete Type: Concrete
RevealsShroud: RevealsShroud:
Range: 5c0 Range: 5c0
Selectable:
Bounds: 96,64
SelectionDecorations:
VisualBounds: 96,80
Reservable: Reservable:
RepairsUnits: RepairsUnits:
Interval: 15 Interval: 15
@@ -677,7 +703,7 @@ hightech:
Queue: Building Queue: Building
BuildPaletteOrder: 110 BuildPaletteOrder: 110
Selectable: Selectable:
Bounds: 96,96 Bounds: 96,68,0,12
Valued: Valued:
Cost: 750 Cost: 750
Tooltip: Tooltip:
@@ -722,6 +748,8 @@ hightech:
Sequence: production-welding Sequence: production-welding
Power: Power:
Amount: -40 Amount: -40
SelectionDecorations:
VisualBounds: 96,96
research: research:
Inherits: ^Building Inherits: ^Building
@@ -730,7 +758,7 @@ research:
Prerequisites: radar, heavy, upgrade.heavy, ~techlevel.high Prerequisites: radar, heavy, upgrade.heavy, ~techlevel.high
BuildPaletteOrder: 140 BuildPaletteOrder: 140
Selectable: Selectable:
Bounds: 96,64 Bounds: 96,64,0,16
Valued: Valued:
Cost: 1500 Cost: 1500
Tooltip: Tooltip:
@@ -767,6 +795,8 @@ research:
Power: Power:
Amount: -40 Amount: -40
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,80
palace: palace:
Inherits: ^Building Inherits: ^Building
@@ -828,6 +858,8 @@ palace:
RequiresPower: RequiresPower:
SupportPowerChargeBar: SupportPowerChargeBar:
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96,96
conyard.atreides: conyard.atreides:
Inherits: conyard Inherits: conyard

View File

@@ -38,6 +38,8 @@ mcv:
HuskActor: mcv.husk HuskActor: mcv.husk
AttractsWorms: AttractsWorms:
Intensity: 700 Intensity: 700
SelectionDecorations:
VisualBounds: 42,42
harvester: harvester:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -85,6 +87,8 @@ harvester:
Palette: effect50alpha Palette: effect50alpha
AttractsWorms: AttractsWorms:
Intensity: 700 Intensity: 700
SelectionDecorations:
VisualBounds: 42,42
trike: trike:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -99,7 +103,6 @@ trike:
Description: Fast Scout\n Strong vs Infantry\n Weak vs Tanks, Aircraft Description: Fast Scout\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Selectable: Selectable:
Class: trike Class: trike
Bounds: 24,24
Health: Health:
HP: 100 HP: 100
Armor: Armor:
@@ -155,7 +158,6 @@ quad:
EmptyWeapon: UnitExplodeTiny EmptyWeapon: UnitExplodeTiny
Selectable: Selectable:
Class: quad Class: quad
Bounds: 24,24
AttractsWorms: AttractsWorms:
Intensity: 470 Intensity: 470
@@ -200,7 +202,6 @@ siegetank:
InitialStance: Defend InitialStance: Defend
Selectable: Selectable:
Class: siegetank Class: siegetank
Bounds: 30,30
LeavesHusk: LeavesHusk:
HuskActor: siegetank.husk HuskActor: siegetank.husk
AttractsWorms: AttractsWorms:
@@ -241,7 +242,6 @@ missiletank:
EmptyWeapon: UnitExplodeScale EmptyWeapon: UnitExplodeScale
Selectable: Selectable:
Class: missiletank Class: missiletank
Bounds: 30,30
LeavesHusk: LeavesHusk:
HuskActor: missiletank.husk HuskActor: missiletank.husk
AttractsWorms: AttractsWorms:
@@ -258,8 +258,6 @@ sonictank:
Tooltip: Tooltip:
Name: Sonic Tank Name: Sonic Tank
Description: Fires sonic shocks\n Strong vs Infantry, Vehicles\n Weak vs Artillery, Aircraft Description: Fires sonic shocks\n Strong vs Infantry, Vehicles\n Weak vs Artillery, Aircraft
Selectable:
Bounds: 30,30
Health: Health:
HP: 130 HP: 130
Armor: Armor:
@@ -315,14 +313,14 @@ devast:
Explodes: Explodes:
Weapon: UnitExplodeScale Weapon: UnitExplodeScale
EmptyWeapon: UnitExplodeScale EmptyWeapon: UnitExplodeScale
Selectable:
Bounds: 44,38,0,0
LeavesHusk: LeavesHusk:
HuskActor: devast.husk HuskActor: devast.husk
AttractsWorms: AttractsWorms:
Intensity: 700 Intensity: 700
AutoSelectionSize: AutoSelectionSize:
RenderSprites: RenderSprites:
SelectionDecorations:
VisualBounds: 44,38,0,0
raider: raider:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -335,8 +333,6 @@ raider:
Tooltip: Tooltip:
Name: Raider Trike Name: Raider Trike
Description: Improved Scout\n Strong vs Infantry, Light Vehicles Description: Improved Scout\n Strong vs Infantry, Light Vehicles
Selectable:
Bounds: 24,24
Health: Health:
HP: 110 HP: 110
Armor: Armor:
@@ -408,8 +404,6 @@ deviatortank:
Explodes: Explodes:
Weapon: UnitExplodeSmall Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
LeavesHusk: LeavesHusk:
HuskActor: deviatortank.husk HuskActor: deviatortank.husk
AttractsWorms: AttractsWorms:
@@ -456,7 +450,6 @@ deviatortank:
EmptyWeapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall
Selectable: Selectable:
Class: combat Class: combat
Bounds: 30,30
AttractsWorms: AttractsWorms:
Intensity: 520 Intensity: 520
AutoSelectionSize: AutoSelectionSize: