making Technical Center Buildable
Posted: Thu Feb 22, 2018 11:28 am
Hi
I am a beginner..
I tried to make the Technical Center (MISS) buildable.
If I just put it into rules/structures.yaml, naming it MISS - it does not appear in the buildings options
If I copy the same MISS and name it XTEC(for example), I am able to build this new building, but as soon as I want to place it the game crashes telling me it could not find "xtec.shp"
How do I make MISS structure buildable for players?
Or how do I copy MISS.SHP to a new xtec.shp file? (I could not find any miss.shp)
MISS:
Inherits: ^BaseBuilding
Inherits@shape: ^3x2Shape
Valued:
Cost: 5000
Tooltip:
Name: Technik Center 2
Buildable:
BuildPaletteOrder: 80
Queue: Building.Nod, Building.GDI
Description: Gives extra crates
Building:
Footprint: xxx xxx
Dimensions: 3,2
LocalCenterOffset: 0,-512,0
Health:
HP: 600000
RevealsShroud:
Range: 5c0
WithBuildingBib:
Power:
Amount: -200
ProvidesPrerequisite@buildingname:
I am a beginner..
I tried to make the Technical Center (MISS) buildable.
If I just put it into rules/structures.yaml, naming it MISS - it does not appear in the buildings options
If I copy the same MISS and name it XTEC(for example), I am able to build this new building, but as soon as I want to place it the game crashes telling me it could not find "xtec.shp"
How do I make MISS structure buildable for players?
Or how do I copy MISS.SHP to a new xtec.shp file? (I could not find any miss.shp)
MISS:
Inherits: ^BaseBuilding
Inherits@shape: ^3x2Shape
Valued:
Cost: 5000
Tooltip:
Name: Technik Center 2
Buildable:
BuildPaletteOrder: 80
Queue: Building.Nod, Building.GDI
Description: Gives extra crates
Building:
Footprint: xxx xxx
Dimensions: 3,2
LocalCenterOffset: 0,-512,0
Health:
HP: 600000
RevealsShroud:
Range: 5c0
WithBuildingBib:
Power:
Amount: -200
ProvidesPrerequisite@buildingname: