Skip to content

Commit 9b497ef

Browse files
authored
Merge pull request Zeruel87#92 from TeroTron/master
First Zerg
2 parents ec52e9f + 342e9b9 commit 9b497ef

10 files changed

Lines changed: 127 additions & 69 deletions
3.88 KB
Loading
7.55 KB
Loading
42.7 KB
Loading
65.3 KB
Loading
21.9 KB
Loading
22.1 KB
Loading
219 KB
Loading
252 KB
Loading

mods/cameo/rules/starcraft.yaml

Lines changed: 74 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ World:
1111
# Game: StarCraft
1212
# Side: StarCraft
1313
# Description: Protoss\nFeatures:\n- Units consume power (supply)\n- Unit production pauses on low power\n- Buildings and defenses do not require power to operate\n- Relatively resilient and powerful units\nSupport powers: Purifier Beam
14-
# FactionCA@zerg:
15-
# Name: Zerg SC
16-
# InternalName: zerg
17-
# Game: StarCraft
18-
# Side: StarCraft
19-
# Description: Zerg\nFeatures:\n- Units consume power (supply)\n- Unit production pauses on low power\n- Buildings and defenses do not require power to operate\n- Relatively powerful units\nSupport powers: Nuclear Strike
14+
FactionCA@zerg:
15+
Name: Zerg SC
16+
InternalName: zerg
17+
Game: StarCraft
18+
Side: StarCraft
19+
Description: Zerg\nFeatures:\n- Units consume power (supply)\n- Unit production pauses on low power\n- Buildings and defenses do not require power to operate\n- Relatively powerful units\nSupport powers: Nuclear Strike
2020
# FactionCA@RandomSC:
2121
# Name: Any
2222
# InternalName: RandomSC
@@ -1948,6 +1948,9 @@ zergsoilmaker:
19481948
RequiresBuildableArea:
19491949
AreaTypes: building
19501950
Adjacent: 4
1951+
LaysTerrain:
1952+
Template: 858
1953+
TerrainTypes: Clear,ClearTemperat,ClearWinter,ClearJungle,ClearSnow,ClearDesert,Road,ClearDune
19511954
RenderSprites:
19521955
KillsSelf:
19531956
RemoveInstead: true
@@ -2008,10 +2011,10 @@ zergsoilkiller4:
20082011
Inherits: ^BaseBuilding
20092012
Inherits@zergai: ^ZergAIProductionBoost
20102013
Building:
2011-
TerrainTypes: ZergSoil ##########
2012-
FireWarheadsOnDeath@remover:
2013-
Weapon: CreepRemover
2014-
EmptyWeapon: CreepRemover
2014+
# TerrainTypes: ZergSoil ##########
2015+
# FireWarheadsOnDeath@remover:
2016+
# Weapon: CreepRemover
2017+
# EmptyWeapon: CreepRemover
20152018
^SCBREEDFASTER:
20162019
ExternalCondition@Fasterbreed:
20172020
Condition: SCFASTERBREED
@@ -2032,6 +2035,7 @@ SCHATCHERY:
20322035
Inherits@conyard: ^Conyard
20332036
Inherits@bot: ^BotMicromanageable
20342037
Inherits@breedfaster: ^SCBREEDFASTER
2038+
Inherits@barr: ^IsBarrack
20352039
Selectable:
20362040
Bounds: 3072, 2048
20372041
DecorationBounds: 3300, 2448, 0, 0
@@ -2259,6 +2263,12 @@ SCHATCHERY:
22592263
FullSequence: pip-yellow
22602264
Transforms:
22612265
IntoActor: sczmcv
2266+
ProductionBar@RAInfantryZerg:
2267+
ProductionType: RAInfantry
2268+
Production@CLASSICPRODUCTIONQUEUES:
2269+
Produces: RAInfantry
2270+
FreeActor@CPQDEBUGDUMMY:
2271+
Actor: CPQDEBUGDUMMY
22622272
RenderSprites:
22632273
PlayerPalette: player_rgba
22642274

@@ -2292,31 +2302,17 @@ sc_zerg_larva:
22922302
-ActorLostNotification:
22932303
MobSpawnerSlave:
22942304
-MapEditorData:
2295-
ProductionBar@InfantryZerg:
2296-
ProductionType: Infantry
2297-
RequiresCondition: !classicproductionqueues
2298-
ProductionBar@RAInfantryZerg:
2299-
ProductionType: RAInfantry
2300-
RequiresCondition: classicproductionqueues
23012305
WithProductionOverlay@egg:
2302-
Queues: Infantry, RAInfantry
2306+
Queues: RAInfantry
23032307
Sequence: makeunit
23042308
IsPlayerPalette: True
23052309
Offset: 0,0,0
2306-
Production@NORMAL:
2307-
Produces: Infantry
2308-
RequiresCondition: !classicproductionqueues
2310+
ProductionBar@RAInfantryZerg:
2311+
ProductionType: RAInfantry
23092312
Production@CLASSICPRODUCTIONQUEUES:
23102313
Produces: RAInfantry
2311-
RequiresCondition: classicproductionqueues
2312-
ProductionQueue@ZergInfantry:
2313-
Type: Infantry
2314-
DisplayOrder: 2
2315-
Group: Infantry
2316-
QueuedAudio: Building
2317-
ReadyAudio: UnitReady
2318-
BuildDurationModifier: 55
2319-
LowPowerModifier: 555
2314+
FreeActor@CPQDEBUGDUMMY:
2315+
Actor: CPQDEBUGDUMMY
23202316
Exit@1:
23212317
SpawnOffset: -1,1,0 #-1323,1280,0
23222318
ExitCell: 0,0
@@ -2562,6 +2558,7 @@ pscupscrefinery3:
25622558
SCSPAWNINGPOOL:
25632559
Inherits: ^BaseBuildingZerg
25642560
Inherits@shape: ^2x2Shape
2561+
Inherits@barr: ^IsBarrack
25652562
Valued:
25662563
Cost: 800
25672564
Tooltip:
@@ -7043,15 +7040,6 @@ SCZERGLING:
70437040
RequireForceMoveCondition: !undeployed
70447041
Health:
70457042
HP: 6500
7046-
RangeMultiplier@deployed:
7047-
Modifier: 0
7048-
RequiresCondition: deployed
7049-
Cloak:
7050-
InitialDelay: 15
7051-
CloakDelay: 60
7052-
RequiresCondition: deployed
7053-
IsPlayerPalette: true
7054-
PauseOnCondition: cloak-force-disabled || base-reveal
70557043
Armor:
70567044
Type: None
70577045
RevealsShroud:
@@ -7088,6 +7076,15 @@ SCZERGLING:
70887076
UndeployOnMove: true
70897077
PauseOnCondition: disabled
70907078
RequiresCondition: !parachute
7079+
RangeMultiplier@deployed:
7080+
Modifier: 0
7081+
RequiresCondition: deployed
7082+
Cloak:
7083+
InitialDelay: 15
7084+
CloakDelay: 60
7085+
RequiresCondition: deployed
7086+
IsPlayerPalette: true
7087+
PauseOnCondition: cloak-force-disabled || base-reveal
70917088
Power:
70927089
Amount: -6
70937090
# WithIdleOverlay@Shadow:
@@ -7201,6 +7198,7 @@ SCHYDRALISK:
72017198
Inherits@shadow: ^SCSmallShadow
72027199
Inherits@zerg: ^LargeZerg
72037200
Inherits@announce: ^AnnounceOnBuild
7201+
Inherits@bot: ^BotAutoDeploySwitchMode
72047202
Valued:
72057203
Cost: 250
72067204
Tooltip:
@@ -7212,6 +7210,10 @@ SCHYDRALISK:
72127210
Description: Zerg armored assault strain.\n Strong vs Infantry, Vehicles, Aircraft\n Weak vs Siege
72137211
Mobile:
72147212
Speed: 75
7213+
RequireForceMoveCondition: !undeployed
7214+
ImmovableCondition: !undeployed
7215+
Passenger:
7216+
RequireForceMoveCondition: !undeployed
72157217
Health:
72167218
HP: 16000
72177219
HitShape:
@@ -7233,7 +7235,39 @@ SCHYDRALISK:
72337235
AttackFrontal:
72347236
FacingTolerance: 0
72357237
WithMuzzleOverlay:
7238+
WithSpriteBody@deployed:
7239+
Sequence: deployed
7240+
Name: deployed
7241+
RequiresCondition: !undeployed
72367242
WithInfantryBody:
7243+
RequiresCondition: undeployed
7244+
WithMakeAnimation:
7245+
BodyNames: deployed
7246+
Sequence: deploy
7247+
RejectsOrders@deployment:
7248+
Reject: AttackMove, AssaultMove
7249+
RequiresCondition: !botmicro && deployed
7250+
RejectsMoveToAttack:
7251+
RequiresCondition: !botmicro && deployed
7252+
GrantConditionOnDeploy:
7253+
DeployedCondition: deployed
7254+
UndeployedCondition: undeployed
7255+
CanDeployOnRamps: True
7256+
SmartDeploy: True
7257+
DeploySounds: zluburrw.aud
7258+
UndeploySounds: zluburrw.aud
7259+
UndeployOnMove: true
7260+
PauseOnCondition: disabled
7261+
RequiresCondition: !parachute
7262+
RangeMultiplier@deployed:
7263+
Modifier: 0
7264+
RequiresCondition: deployed
7265+
Cloak:
7266+
InitialDelay: 15
7267+
CloakDelay: 60
7268+
RequiresCondition: deployed
7269+
IsPlayerPalette: true
7270+
PauseOnCondition: cloak-force-disabled || base-reveal
72377271
-Crushable:
72387272
Selectable:
72397273
Bounds: 2048, 2048
@@ -7553,6 +7587,8 @@ SCULTRALISK:
75537587
FirepowerMultiplier@upmelee:
75547588
Modifier: 150
75557589
RequiresCondition: upmelee
7590+
RenderSprites:
7591+
PlayerPalette: player_rgba
75567592

75577593
# SCLURKER:
75587594
# Inherits@AUTOTARGET: ^AutoTargetGround

mods/cameo/sequences/starcraft.yaml

Lines changed: 53 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ schatchery:
587587
Length: *
588588
Tick: 160
589589
dead:
590-
make:
590+
hatch:
591591
Filename: schatcherymake.png
592592
Length: *
593593
make2:
@@ -2182,29 +2182,48 @@ scoverlord:
21822182
schydralisk:
21832183
Inherits: ^SCSmallShadow
21842184
Defaults:
2185-
Filename: schydralisk.shp
2185+
Filename: schydraliskidle.png
2186+
Offset: 0,-6
21862187
idle:
2187-
Facings: 16
2188+
Filename: schydraliskidle.png
2189+
Facings: -8
21882190
stand:
2189-
Facings: 16
2191+
Filename: schydraliskidle.png
2192+
Facings: -8
21902193
run:
2191-
Start: 16
2192-
Length: 6
2193-
Facings: 16
2194+
Filename: schydraliskwalk.png
2195+
Length: 7
2196+
Facings: -8
21942197
shoot:
2195-
Start: 112
2196-
Length: 5
2197-
Facings: 16
2198-
Tick: 80
2198+
Filename: schydraliskshoot.png
2199+
Start: 0
2200+
Length: 4
2201+
Facings: -8
21992202
die:
2200-
Start: 192
2201-
Length: 8
2202-
burrow:
2203-
Start: 200
2204-
Length: 5
2205-
unburrow:
2206-
Start: 205
2207-
Length: 5
2203+
Filename: scdeath.png
2204+
Start: 0
2205+
Tick: 70
2206+
Length: 7
2207+
deployed:
2208+
Filename: schydraliskburrowed.png
2209+
Start: 4
2210+
Facings: 1
2211+
Tick: 100
2212+
deploy-idle:
2213+
Filename: schydraliskburrowed.png
2214+
Start: 4
2215+
Facings: 1
2216+
Tick: 100
2217+
deploy:
2218+
Filename: schydraliskburrowed.png
2219+
Start: 0
2220+
Facings: 1
2221+
Tick: 100
2222+
dot:
2223+
Filename: invisibleitem.shp
2224+
ZOffset: -9999
2225+
make:
2226+
Filename: schydraliskburrowed.png
22082227
muzzle:
22092228
Filename: sczhspit.shp
22102229
Length: 7
@@ -2268,23 +2287,26 @@ scqueen:
22682287

22692288
scultralisk:
22702289
Defaults:
2271-
Filename: scultralisk.shp
2290+
Filename: scultraliskidle.png
22722291
idle:
2273-
Facings: 16
2292+
Facings: -8
2293+
Filename: scultraliskidle.png
22742294
stand:
2275-
Facings: 16
2295+
Facings: -8
2296+
Filename: scultraliskidle.png
22762297
run:
2277-
Start: 16
2278-
Length: 9
2279-
Facings: 16
2298+
Facings: -8
2299+
Filename: scultraliskwalk.png
2300+
Tick: 64
2301+
Length: 8
22802302
shoot:
2281-
Start: 160
2282-
Length: 5
2283-
Facings: 16
2284-
Tick: 80
2303+
Facings: -8
2304+
Filename: scultraliskshoot.png
2305+
Tick: 48
2306+
Length: 6
22852307
die:
2286-
Start: 240
2287-
Length: 10
2308+
Facings: 1
2309+
Filename: scultraliskdeath.png
22882310
icon:
22892311
Filename: scultraliskicon.shp
22902312

0 commit comments

Comments
 (0)