use different Nod/GDI icons for shared actors

This commit is contained in:
Matthias Mailänder
2015-07-26 18:23:42 +02:00
parent 68b7359664
commit a0c02d5710
7 changed files with 300 additions and 26 deletions

View File

@@ -28,6 +28,11 @@ E1:
AttackSequence: shoot AttackSequence: shoot
ProducibleWithLevel: ProducibleWithLevel:
Prerequisites: barracks.upgraded Prerequisites: barracks.upgraded
RenderSprites:
Image: e1.gdi
RaceImages:
gdi: e1.gdi
nod: e1.nod
ENGINEER: ENGINEER:
Inherits: ^Soldier Inherits: ^Soldier
@@ -54,4 +59,9 @@ ENGINEER:
CaptureTypes: building CaptureTypes: building
-AutoTarget: -AutoTarget:
-GainsExperience: -GainsExperience:
RenderSprites:
Image: engineer.gdi
RaceImages:
gdi: engineer.gdi
nod: engineer.nod

View File

@@ -97,6 +97,11 @@ PROC:
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations: SelectionDecorations:
VisualBounds: 134, 122, 0, -18 VisualBounds: 134, 122, 0, -18
RenderBuilding:
Image: proc.gdi
RaceImages:
gdi: proc.gdi
nod: proc.nod
GASILO: GASILO:
Inherits: ^Building Inherits: ^Building
@@ -123,6 +128,10 @@ GASILO:
Range: 4c0 Range: 4c0
-RenderBuilding: -RenderBuilding:
RenderBuildingSilo: RenderBuildingSilo:
Image: gasilo.gdi
RaceImages:
gdi: gasilo.gdi
nod: gasilo.nod
WithIdleOverlay@UNDERLAY: WithIdleOverlay@UNDERLAY:
Sequence: idle-underlay Sequence: idle-underlay
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:

View File

@@ -79,4 +79,9 @@ NAPULS:
Amount: -150 Amount: -150
SelectionDecorations: SelectionDecorations:
VisualBounds: 78, 54, 0, -12 VisualBounds: 78, 54, 0, -12
RenderBuilding:
Image: napuls.gdi
RaceImages:
gdi: napuls.gdi
nod: napuls.nod

View File

@@ -32,6 +32,11 @@ MCV:
Voice: Move Voice: Move
SelectionDecorations: SelectionDecorations:
VisualBounds: 42,42 VisualBounds: 42,42
RenderSprites:
Image: mcv.gdi
RaceImages:
gdi: mcv.gdi
nod: mcv.nod
HARV: HARV:
Inherits: ^VoxelTank Inherits: ^VoxelTank
@@ -87,6 +92,11 @@ HARV:
Palette: effect Palette: effect
SelectionDecorations: SelectionDecorations:
VisualBounds: 36,36 VisualBounds: 36,36
RenderSprites:
Image: harv.gdi
RaceImages:
gdi: harv.gdi
nod: harv.nod
LPST: LPST:
Inherits: ^VoxelVehicle Inherits: ^VoxelVehicle
@@ -114,6 +124,11 @@ LPST:
TransformSounds: TransformSounds:
NoTransformSounds: NoTransformSounds:
Voice: Move Voice: Move
RenderSprites:
Image: lpst.gdi
RaceImages:
gdi: lpst.gdi
nod: lpst.nod
GGHUNT: GGHUNT:
Inherits: ^Vehicle Inherits: ^Vehicle

View File

@@ -1,5 +1,5 @@
e1: e1.gdi:
Defaults: Defaults: e1
Tick: 80 Tick: 80
stand: stand:
Facings: 8 Facings: 8
@@ -66,7 +66,77 @@ e1:
ShadowStart: 190 ShadowStart: 190
die6: electro die6: electro
Length: * Length: *
icon: e1icon icon: sidec01.mix:e1icon
e1.nod:
Defaults: e1
Tick: 80
stand:
Facings: 8
ShadowStart: 292
run:
Start: 8
Length: 6
Facings: 8
ShadowStart: 300
idle1:
Start: 56
Length: 15
ShadowStart: 348
idle2:
Start: 71
Length: 15
ShadowStart: 363
prone-run:
Start: 86
Length: 6
Facings: 8
ShadowStart: 378
prone-stand:
Start: 86
Facings: 8
Stride: 6
ShadowStart: 378
die1:
Start: 134
Length: 15
ShadowStart: 426
die2:
Start: 149
Length: 15
ShadowStart: 441
die3: infdie
Length: *
die4: s_bang34
Length: *
die-crushed:
Start: 159
Length: 5
ShadowStart: 451
Tick: 800
ZOffset: -511
shoot:
Start: 164
Length: 6
Facings: 8
ShadowStart: 456
prone-shoot:
Start: 212
Length: 6
Facings: 8
ShadowStart: 504
standup-0:
Start: 260
Length: 2
Facings: 8
ShadowStart: 552
die5: flameguy # TODO: walking animation unused
Start: 42
Length: 104
ShadowStart: 190
die6: electro
Length: *
icon: sidec02.mix:e1icon
e2: e2:
Defaults: Defaults:
@@ -347,8 +417,8 @@ medic:
Length: * Length: *
icon: mediicon icon: mediicon
engineer: engineer.gdi:
Defaults: Defaults: engineer
Tick: 80 Tick: 80
stand: stand:
Facings: 8 Facings: 8
@@ -407,7 +477,69 @@ engineer:
ShadowStart: 190 ShadowStart: 190
die6: electro die6: electro
Length: * Length: *
icon: engnicon icon: sidec01.mix:engnicon
engineer.nod:
Defaults: engineer
Tick: 80
stand:
Facings: 8
ShadowStart: 292
run:
Start: 8
Length: 6
Facings: 8
ShadowStart: 300
idle1:
Start: 56
Length: 15
ShadowStart: 348
idle2:
Start: 71
Length: 15
ShadowStart: 363
prone-run:
Start: 86
Length: 6
Facings: 8
ShadowStart: 378
prone-stand:
Start: 86
Facings: 8
Stride: 6
ShadowStart: 378
die1:
Start: 134
Length: 15
ShadowStart: 426
die2:
Start: 149
Length: 15
ShadowStart: 441
die3: # TODO: copy-paste of die2
Start: 149
Length: 15
ShadowStart: 441
die4: s_bang34
Length: *
die-crushed:
Start: 159
Length: 5
ShadowStart: 451
Tick: 800
ZOffset: -511
standup-0:
Start: 260
Length: 2
Facings: 8
ShadowStart: 552
die5: flameguy # TODO: walking animation unused
Start: 42
Length: 104
ShadowStart: 190
die6: electro
Length: *
icon: sidec02.mix:engnicon
umagon: umagon:
Defaults: Defaults:

View File

@@ -665,8 +665,8 @@ nasam:
Offset: 0, 0 Offset: 0, 0
UseTilesetCode: false UseTilesetCode: false
napuls: napuls.gdi:
Defaults: Defaults: ntpuls
Offset: 0, -24 Offset: 0, -24
UseTilesetCode: true UseTilesetCode: true
idle: idle:
@@ -678,12 +678,34 @@ napuls:
Start: 2 Start: 2
ShadowStart: 5 ShadowStart: 5
Tick: 400 Tick: 400
turret: ntpuls_a turret:_a
Facings: 32 Facings: 32
make: ntpulsmk make:mk
Length: 20 Length: 20
ShadowStart: 20 ShadowStart: 20
icon: empicon icon: sidec01.mix:empicon
Offset: 0, 0
UseTilesetCode: false
napuls.nod:
Defaults: ntpuls
Offset: 0, -24
UseTilesetCode: true
idle:
ShadowStart: 3
damaged-idle:
Start: 1
ShadowStart: 4
dead:
Start: 2
ShadowStart: 5
Tick: 400
turret:_a
Facings: 32
make:mk
Length: 20
ShadowStart: 20
icon: sidec02.mix:empicon
Offset: 0, 0 Offset: 0, 0
UseTilesetCode: false UseTilesetCode: false
@@ -871,16 +893,17 @@ nahpad:
Offset: 0, 0 Offset: 0, 0
UseTilesetCode: false UseTilesetCode: false
proc: # TODO: unused narefn_a # TODO: unused narefn_a
Defaults: proc.gdi:
Defaults: ntrefn
Offset: -12, -42 Offset: -12, -42
UseTilesetCode: true UseTilesetCode: true
idle: ntrefn idle:
ShadowStart: 3 ShadowStart: 3
damaged-idle: ntrefn damaged-idle:
Start: 1 Start: 1
ShadowStart: 4 ShadowStart: 4
dead: ntrefn dead:
Start: 2 Start: 2
ShadowStart: 5 ShadowStart: 5
Tick: 400 Tick: 400
@@ -900,12 +923,46 @@ proc: # TODO: unused narefn_a
damaged-bib: ntrefnbb damaged-bib: ntrefnbb
Start: 1 Start: 1
ZOffset: -1024 ZOffset: -1024
icon: reficon icon: sidec01.mix:reficon
Offset: 0, 0 Offset: 0, 0
UseTilesetCode: false UseTilesetCode: false
gasilo: # TODO: unused narefn_a
Defaults: proc.nod:
Defaults: ntrefn
Offset: -12, -42
UseTilesetCode: true
idle:
ShadowStart: 3
damaged-idle:
Start: 1
ShadowStart: 4
dead:
Start: 2
ShadowStart: 5
Tick: 400
make: ntrefnmk
Length: 20
ShadowStart: 20
flame: ntrefn_b
Length: *
idle-redlights: ntrefn_c
Length: 16
Tick: 120
damaged-idle-redlights: ntrefn_c
Length: 16
Tick: 120
bib: ntrefnbb
ZOffset: -1024
damaged-bib: ntrefnbb
Start: 1
ZOffset: -1024
icon: sidec02.mix:reficon
Offset: 0, 0
UseTilesetCode: false
gasilo.gdi:
Defaults: gtsilo
Offset: 0, -24 Offset: 0, -24
UseTilesetCode: true UseTilesetCode: true
idle: gtsilo_a idle: gtsilo_a
@@ -935,7 +992,42 @@ gasilo:
make: gtsilomk make: gtsilomk
Length: 18 Length: 18
ShadowStart: 20 ShadowStart: 20
icon: siloicon icon: sidec01.mix:siloicon
Offset: 0, 0
UseTilesetCode: false
gasilo.nod:
Defaults: gtsilo
Offset: 0, -24
UseTilesetCode: true
idle: gtsilo_a
Length: 4
damaged-idle: gtsilo_a
Start: 4
Length: 4
idle-underlay:
ShadowStart: 3
ZOffset: -512
damaged-idle-underlay:
Start: 1
ShadowStart: 4
ZOffset: -512
dead:
Start: 2
ShadowStart: 5
ZOffset: -512
Tick: 400
idle-lights: gtsilo_b
Length: 16
Tick: 120
damaged-idle-lights: gtsilo_b
Start: 16
Length: 16
Tick: 120
make: gtsilomk
Length: 18
ShadowStart: 20
icon: sidec02.mix:siloicon
Offset: 0, 0 Offset: 0, 0
UseTilesetCode: false UseTilesetCode: false

View File

@@ -1,13 +1,21 @@
mcv: mcv.gdi:
icon: mcvicon icon: sidec01.mix:mcvicon
mcv.nod:
icon: sidec02.mix:mcvicon
apc: apc:
icon: apcicon icon: apcicon
harv: harv.gdi:
icon: harvicon
harvest: harvestr harvest: harvestr
Length: * Length: *
icon: sidec01.mix:harvicon
harv.nod:
harvest: harvestr
Length: *
icon: sidec02.mix:harvicon
hvr: hvr:
icon: hovricon icon: hovricon
@@ -16,8 +24,11 @@ hvr:
muzzle: gunfire muzzle: gunfire
Length: * Length: *
lpst: lpst.gdi:
icon: lpsticon icon: sidec01.mix:lpsticon
lpst.nod:
icon: sidec02.mix:lpsticon
repair: repair:
icon: rboticon icon: rboticon