RECORDS ECONOMY + UX: hauler is a Harvester (Records, cap 20), Record Depot refinery building at spawn, cash counter HUD (IngameCashCounterLogic in PLAYER_WIDGETS), fog of war (RevealsShroud on player units, HiddenUnderFog monsters), unit tooltips via fluent, win/lose (MissionObjectives + ConquestVictoryConditions)
Trait chain learned: MapOptions + ResourceClaimLayer on world, StoresResources.Resources on harvester, QuantizedFacings 1 for buildings, FrozenActorLayer player-only Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
c19bf48e5e
commit
71416b3843
@ -1,6 +1,15 @@
|
|||||||
Container@PLAYER_WIDGETS:
|
Container@PLAYER_WIDGETS:
|
||||||
Logic: MenuButtonsChromeLogic
|
Logic: MenuButtonsChromeLogic
|
||||||
Children:
|
Children:
|
||||||
|
LabelWithTooltip@CASH:
|
||||||
|
Logic: IngameCashCounterLogic
|
||||||
|
X: WINDOW_WIDTH - 220
|
||||||
|
Y: 8
|
||||||
|
Width: 200
|
||||||
|
Height: 26
|
||||||
|
Font: MediumBold
|
||||||
|
Align: Right
|
||||||
|
Contrast: true
|
||||||
LogicTicker@SIDEBAR_TICKER:
|
LogicTicker@SIDEBAR_TICKER:
|
||||||
MenuButton@OPTIONS_BUTTON:
|
MenuButton@OPTIONS_BUTTON:
|
||||||
Key: escape
|
Key: escape
|
||||||
|
|||||||
@ -10,3 +10,9 @@ Cursors:
|
|||||||
Start: 0
|
Start: 0
|
||||||
attackoutsiderange:
|
attackoutsiderange:
|
||||||
Start: 0
|
Start: 0
|
||||||
|
harvest:
|
||||||
|
Start: 0
|
||||||
|
enter:
|
||||||
|
Start: 0
|
||||||
|
enter-blocked:
|
||||||
|
Start: 0
|
||||||
|
|||||||
@ -8,3 +8,14 @@ faction-example =
|
|||||||
.name = Example
|
.name = Example
|
||||||
.description = Example Faction
|
.description = Example Faction
|
||||||
Provide your own faction description here.
|
Provide your own faction description here.
|
||||||
|
|
||||||
|
## doomsday units
|
||||||
|
actor-swat-name = SWAT Trooper
|
||||||
|
actor-mutantgunner-name = Mutant Gunner
|
||||||
|
actor-mutantbrawler-name = Mutant Brawler
|
||||||
|
actor-hound-name = Waste Hound
|
||||||
|
actor-android-name = Android
|
||||||
|
actor-biotitan-name = Bio-Titan
|
||||||
|
actor-warcar-name = War Car
|
||||||
|
actor-hauler-name = Record Hauler
|
||||||
|
actor-depot-name = Record Depot
|
||||||
|
|||||||
@ -42,6 +42,9 @@ Actors:
|
|||||||
Actor4: swat
|
Actor4: swat
|
||||||
Location: 9,26
|
Location: 9,26
|
||||||
Owner: Multi0
|
Owner: Multi0
|
||||||
|
ActorD: depot
|
||||||
|
Location: 10,28
|
||||||
|
Owner: Multi0
|
||||||
Actor5: warcar
|
Actor5: warcar
|
||||||
Location: 6,23
|
Location: 6,23
|
||||||
Owner: Multi0
|
Owner: Multi0
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
mutantgunner:
|
mutantgunner:
|
||||||
AlwaysVisible:
|
Tooltip:
|
||||||
|
Name: actor-mutantgunner-name
|
||||||
|
HiddenUnderFog:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -30,7 +32,9 @@ mutantgunner:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
mutantbrawler:
|
mutantbrawler:
|
||||||
AlwaysVisible:
|
Tooltip:
|
||||||
|
Name: actor-mutantbrawler-name
|
||||||
|
HiddenUnderFog:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -61,7 +65,9 @@ mutantbrawler:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
hound:
|
hound:
|
||||||
AlwaysVisible:
|
Tooltip:
|
||||||
|
Name: actor-hound-name
|
||||||
|
HiddenUnderFog:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -92,7 +98,9 @@ hound:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
android:
|
android:
|
||||||
AlwaysVisible:
|
Tooltip:
|
||||||
|
Name: actor-android-name
|
||||||
|
HiddenUnderFog:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -123,7 +131,9 @@ android:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
biotitan:
|
biotitan:
|
||||||
AlwaysVisible:
|
Tooltip:
|
||||||
|
Name: actor-biotitan-name
|
||||||
|
HiddenUnderFog:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -154,7 +164,11 @@ biotitan:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
warcar:
|
warcar:
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-warcar-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 7c0
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -184,7 +198,18 @@ warcar:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
hauler:
|
hauler:
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-hauler-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 7c0
|
||||||
|
Harvester:
|
||||||
|
Resources: Records
|
||||||
|
BaleUnloadAmount: 4
|
||||||
|
StoresResources:
|
||||||
|
Capacity: 20
|
||||||
|
Resources: Records
|
||||||
|
DockClientManager:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 1024, 1536, 0, -384
|
Bounds: 1024, 1536, 0, -384
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@ -252,3 +277,30 @@ junk1:
|
|||||||
RenderSprites:
|
RenderSprites:
|
||||||
MapEditorData:
|
MapEditorData:
|
||||||
Categories: Decorations
|
Categories: Decorations
|
||||||
|
|
||||||
|
depot:
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-depot-name
|
||||||
|
AlwaysVisible:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 6c0
|
||||||
|
Selectable:
|
||||||
|
Bounds: 3072, 3072
|
||||||
|
SelectionDecorations:
|
||||||
|
Targetable:
|
||||||
|
TargetTypes: Ground
|
||||||
|
Health:
|
||||||
|
HP: 60000
|
||||||
|
HitShape:
|
||||||
|
BodyOrientation:
|
||||||
|
QuantizedFacings: 1
|
||||||
|
Building:
|
||||||
|
Dimensions: 3,3
|
||||||
|
Footprint: xxx xxx xxx
|
||||||
|
Refinery:
|
||||||
|
UseStorage: false
|
||||||
|
DockHost:
|
||||||
|
WithSpriteBody:
|
||||||
|
RenderSprites:
|
||||||
|
MapEditorData:
|
||||||
|
Categories: Buildings
|
||||||
|
|||||||
@ -17,7 +17,11 @@ example.colorpicker:
|
|||||||
-MapEditorData:
|
-MapEditorData:
|
||||||
|
|
||||||
swat:
|
swat:
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-swat-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 6c0
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 768, 1280, 0, -256
|
Bounds: 768, 1280, 0, -256
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
^baseplayer:
|
^baseplayer:
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
Shroud:
|
Shroud:
|
||||||
FrozenActorLayer:
|
|
||||||
|
|
||||||
player:
|
player:
|
||||||
Inherits: ^baseplayer
|
Inherits: ^baseplayer
|
||||||
|
FrozenActorLayer:
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
|
PlayerResources:
|
||||||
|
MissionObjectives:
|
||||||
|
ConquestVictoryConditions:
|
||||||
|
|
||||||
editorplayer:
|
editorplayer:
|
||||||
Inherits: ^baseplayer
|
Inherits: ^baseplayer
|
||||||
|
|||||||
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
world:
|
world:
|
||||||
Inherits: ^baseworld
|
Inherits: ^baseworld
|
||||||
|
MapOptions:
|
||||||
|
ResourceClaimLayer:
|
||||||
PathFinder:
|
PathFinder:
|
||||||
BuildingInfluence:
|
BuildingInfluence:
|
||||||
ResourceLayer:
|
ResourceLayer:
|
||||||
|
|||||||
BIN
mods/example/sequences/assets/d_depot.png
Normal file
BIN
mods/example/sequences/assets/d_depot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
@ -137,3 +137,6 @@ records:
|
|||||||
idle:
|
idle:
|
||||||
Filename: sequences/assets/records.png
|
Filename: sequences/assets/records.png
|
||||||
Length: 4
|
Length: 4
|
||||||
|
depot:
|
||||||
|
idle:
|
||||||
|
Filename: sequences/assets/d_depot.png
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user