added d2k mouse pointer, fixed aircrafts

This commit is contained in:
Matthias Mailänder
2012-06-02 11:41:18 +02:00
parent 5ab5bc9f7c
commit cffaabb3bf
7 changed files with 80 additions and 105 deletions

Binary file not shown.

View File

@@ -1,262 +1,229 @@
Palettes: Palettes:
cursor: cursor.pal cursor: d2k.pal
Cursors: Cursors:
mouse: cursor mouse: cursor
scroll-t: scroll-t:
start:1 start:112
x: 12 x: 12
y: 12 y: 12
scroll-tr: scroll-tr:
start: 2 start: 120
x: 12 x: 12
y: 12 y: 12
scroll-r: scroll-r:
start: 3 start: 128
x: 12 x: 12
y: 12 y: 12
scroll-br: scroll-br:
start: 4 start: 136
x: 12 x: 12
y: 12 y: 12
scroll-b: scroll-b:
start:5 start:148
x: 12 x: 12
y: 12 y: 12
scroll-bl: scroll-bl:
start:6 start:156
x: 12 x: 12
y: 12 y: 12
scroll-l: scroll-l:
start:7 start:164
x: 12 x: 12
y: 12 y: 12
scroll-tl: scroll-tl:
start:8 start:172
x: 12 x: 12
y: 12 y: 12
scroll-t-blocked: scroll-t-blocked:
start:124 start:180
x: 12 x: 12
y: 12 y: 12
scroll-tr-blocked: scroll-tr-blocked:
start:125 start:188
x: 12 x: 12
y: 12 y: 12
scroll-r-blocked: scroll-r-blocked:
start:126 start:196
x: 12 x: 12
y: 12 y: 12
scroll-br-blocked: scroll-br-blocked:
start:127 start:204
x: 12 x: 12
y: 12 y: 12
scroll-b-blocked: scroll-b-blocked:
start:128 start:212
x: 12 x: 12
y: 12 y: 12
scroll-bl-blocked: scroll-bl-blocked:
start:129 start:220
x: 12 x: 12
y: 12 y: 12
scroll-l-blocked: scroll-l-blocked:
start:130 start:228
x: 12 x: 12
y: 12 y: 12
scroll-tl-blocked: scroll-tl-blocked:
start:131 start:236
x: 12 x: 12
y: 12 y: 12
select: select:
start:15 start:40
length: 6 length: 8
x: 12 x: 12
y: 12 y: 12
default: default:
start:0 start:0
default-minimap: default-minimap:
start:80 start:0
generic-blocked: generic-blocked:
start:9 start:24
generic-blocked-minimap: generic-blocked-minimap:
start:33 start:24
move: move:
start:10 start:8
length: 4 length: 8
x: 12 x: 12
y: 12 y: 12
move-minimap: move-minimap:
start:29 start:48
length: 4 length: 8
x: 12 x: 12
y: 12 y: 12
move-blocked: move-blocked:
start:14 start:24
x: 12 x: 12
y: 12 y: 12
move-blocked-minimap: move-blocked-minimap:
start:33 start:24
x: 12 x: 12
y: 12 y: 12
attack: attack:
start:195 start:16
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
attack-minimap: attack-minimap:
start:203 start:16
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
attackmove: attackmove:
start:21 start:16
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
attackmove-minimap: attackmove-minimap:
start:134 start:16
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
harvest: harvest:
start:21 start:16
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
harvest-minimap: harvest-minimap:
start:134 start:203
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
enter: enter:
start:113 start:32
length: 3 length: 8
x: 12 x: 12
y: 12 y: 12
enter-minimap: enter-minimap:
start:139 start:32
length: 3 length: 8
x: 12 x: 12
y: 12 y: 12
enter-blocked: enter-blocked:
start:212 start:104
length: 1 length: 1
x: 12 x: 12
y: 12 y: 12
enter-blocked-minimap: enter-blocked-minimap:
start:33 start:104
c4: c4:
start:116 start:252
length: 3 length: 8
x: 12 x: 12
y: 12 y: 12
c4-minimap: c4-minimap:
start:121 start:252
length: 3 length: 8
x: 12 x: 12
y: 12 y: 12
guard: guard:
start:147 start:72
length: 1 length: 8
x: 12 x: 12
y: 12 y: 12
guard-minimap: guard-minimap:
start:146 start:72
length: 1 length: 8
x: 12 x: 12
y: 12 y: 12
capture: capture:
start:164 start:32
length: 3 length: 8
x: 12 x: 12
y: 12 y: 12
capture-minimap: capture-minimap:
start:167 start:32
length: 3 length: 8
x: 12
y: 12
heal:
start:160
length: 4
x: 12
y: 12
heal-minimap:
start:194
length: 1
x: 12 x: 12
y: 12 y: 12
ability: ability:
start:82 start:96
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
ability-minimap: ability-minimap:
start:214 start:96
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
# Cursors that need minimap variants # Cursors that need minimap variants
deploy: deploy:
start:59 start:96
length: 9 length: 8
x: 12 x: 12
y: 12 y: 12
deploy-blocked: deploy-blocked:
start:211 start:104
length: 1
x: 12
y: 12
goldwrench:
start:170
length: 24
x: 12
y: 12
goldwrench-blocked:
start:213
length: 1 length: 1
x: 12 x: 12
y: 12 y: 12
nuke: nuke:
start:90 start:244
length: 7
x: 12
y: 12
chrono-select:
start:97
length: 8
x: 12
y: 12
chrono-target:
start:105
length: 8 length: 8
x: 12 x: 12
y: 12 y: 12
sell: sell:
start:68 start:80
length: 12 length: 8
x: 12 x: 12
y: 12 y: 12
sell-blocked: sell-blocked:
start:119 start:56
length: 1 length: 1
x: 12 x: 12
y: 12 y: 12
repair: repair:
start:35 start:88
length: 24 length: 8
x: 12 x: 12
y: 12 y: 12
repair-blocked: repair-blocked:
start:120 start:64
length: 1 length: 1
x: 12 x: 12
y: 12 y: 12
sell2:
start:148
length: 12
nopower: cursor nopower: cursor
powerdown-blocked: powerdown-blocked:

View File

@@ -22,6 +22,8 @@ CARRYALL:
ROT: 5 ROT: 5
Speed: 15 Speed: 15
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach LandableTerrainTypes: Clear,Rough,Road,Ore,Beach
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
RenderUnit: RenderUnit:
RenderCargo: RenderCargo:
WithShadow: WithShadow:
@@ -32,7 +34,7 @@ CARRYALL:
FallsToEarth: FallsToEarth:
Explosion: UnitExplode Explosion: UnitExplode
C17: FRIGATE:
ParaDrop: ParaDrop:
LZRange: 1 LZRange: 1
Inherits: ^Plane Inherits: ^Plane
@@ -42,6 +44,8 @@ C17:
Plane: Plane:
ROT: 5 ROT: 5
Speed: 35 Speed: 35
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
Health: Health:
HP: 25 HP: 25
Armor: Armor:
@@ -85,6 +89,8 @@ ORNI:
InitialFacing: 20 InitialFacing: 20
ROT: 4 ROT: 4
Speed: 12 Speed: 12
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
RenderUnit: RenderUnit:
WithShadow: WithShadow:
Selectable: Selectable:

View File

@@ -110,9 +110,6 @@
TargetableAircraft: TargetableAircraft:
TargetTypes: Air TargetTypes: Air
GroundedTargetTypes: Ground GroundedTargetTypes: Ground
Plane:
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
HiddenUnderFog: HiddenUnderFog:
GainsExperience: GainsExperience:
GivesExperience: GivesExperience:
@@ -132,9 +129,6 @@
^Helicopter: ^Helicopter:
Inherits: ^Plane Inherits: ^Plane
Helicopter:
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
^Building: ^Building:
AppearsOnRadar: AppearsOnRadar:

View File

@@ -344,6 +344,8 @@
ExitCell: 3,1 ExitCell: 3,1
ProductionAirdrop: ProductionAirdrop:
Produces: Vehicle Produces: Vehicle
ReadyAudio: AI_REINF.AUD
ActorType: frigate
ProductionQueue: ProductionQueue:
Type: Vehicle Type: Vehicle
Group: Vehicle Group: Vehicle

View File

@@ -132,7 +132,7 @@ World:
Filename: d2k.pal Filename: d2k.pal
PaletteFromFile@effect: PaletteFromFile@effect:
Name: effect Name: effect
Filename: temperat.pal Filename: d2k.pal
PaletteFromRGBA@shadow: PaletteFromRGBA@shadow:
Name: shadow Name: shadow
R: 0 R: 0

View File

@@ -376,4 +376,10 @@ mono OpenRA.Utility.exe --shp windtrap_anim.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 4820 4840 "missile_launch" mono OpenRA.Utility.exe --r8 $R8 $PAL 4820 4840 "missile_launch"
mono OpenRA.Utility.exe --shp missile_launch.png 96 mono OpenRA.Utility.exe --shp missile_launch.png 96
R8="/home/matthias/.openra/Content/d2k/MOUSE.R8"
PAL="mods/d2k/bits/d2k.pal"
mono OpenRA.Utility.exe --r8 $R8 $PAL 0 264 "mouse" --transparent
mono OpenRA.Utility.exe --shp mouse.png 48
mv *.shp mods/d2k/bits mv *.shp mods/d2k/bits