Skip to content

Commit

Permalink
Add Inquisitor idle and run animations
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnaari committed Oct 4, 2023
1 parent 03f5ed2 commit e2576f7
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 1 deletion.
Binary file added mods/d2k_smugglers/bits/inquisitor-idle1.shp
Binary file not shown.
Binary file added mods/d2k_smugglers/bits/inquisitor-idle2.shp
Binary file not shown.
Binary file added mods/d2k_smugglers/bits/inquisitor-run.shp
Binary file not shown.
Binary file added mods/d2k_smugglers/bits/inquisitor.shp
Binary file not shown.
23 changes: 23 additions & 0 deletions mods/d2k_smugglers/rules/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ civilian:
-AttackFrontal:


mpsardaukar:
Inherits: sardaukar
Tooltip:
Name: Inquisitor
Buildable:
Queue: Infantry
BuildPaletteOrder: 70
Prerequisites: ~barracks.harkonnen, upgrade.barracks, high_tech_factory, ~techlevel.medium
BuildDuration: 160
BuildDurationModifier: 100
Description: Elite assault infantry of Harkonnen\n Strong vs Infantry, Vehicles\n Weak vs Artillery
Valued:
Cost: 200
Armament@PRIMARY:
Weapon: M_LMG_H
Armament@SECONDARY:
Weapon: M_HMG_H
RenderSprites:
Image: inquisitor
UpdatesPlayerStatistics:
-OverrideActor:


thumper:
Buildable:
Prerequisites: upgrade.barracks
Expand Down
72 changes: 71 additions & 1 deletion mods/d2k_smugglers/sequences/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,74 @@ civilian:
ZOffset: -511
icon: DATA.R8
Start: 4274
Offset: -30,-24
Offset: -30,-24


inquisitor:
stand: inquisitor.shp
Facings: -8
Transpose: true
Offset: 4,-5
# change me \/
idle1: inquisitor-idle1.shp
Length: 8
Tick: 80
Offset: 4,-5
idle2: inquisitor-idle2.shp
Length: 8
Tick: 80
Offset: 4,-5
run: inquisitor-run.shp
Length: 6
Facings: -8
Tick: 120
Offset: 4,-5
shoot: DATA.R8
Start: 978
Length: 6
Facings: -8
Transpose: true
prone-stand: DATA.R8
Start: 1034
Facings: -8
Transpose: true
prone-run: DATA.R8
Start: 1042
Length: 3
Facings: -8
Transpose: true
Tick: 120
standup: DATA.R8
Start: 1026
Facings: -8
Transpose: true
Tick: 120
prone-shoot: DATA.R8
Start: 1058
Length: 6
Facings: -8
Transpose: true
die1: DATA.R8
Frames: 1106, 1113, 1120, 1127, 1134, 1141, 1148, 1155, 1162, 1163, 1164, 1165
Length: 12
Tick: 80
die2: DATA.R8
Frames: 1107, 1114, 1121, 1128, 1135, 1142, 1149, 1156
Length: 8
Tick: 80
die3: DATA.R8
Frames: 1108, 1115, 1122, 1129, 1136, 1143, 1150, 1157
Length: 8
Tick: 80
die4: DATA.R8
Frames: 1109, 1116, 1123, 1130, 1137, 1144, 1151, 1158
Length: 8
Tick: 80
die-crushed: DATA.R8
Frames: 1110, 1117, 1124, 1131, 1138, 1145, 1152, 1159
Length: 8
Tick: 800
ZOffset: -511
icon: DATA.R8
Start: 4276
Offset: -30,-24

0 comments on commit e2576f7

Please sign in to comment.