Skip to content

Commit bf064a2

Browse files
authored
Merge pull request #1046 from MaxAlpine/prismstation
Adds Prism Station
2 parents fa139b8 + 02793e0 commit bf064a2

8 files changed

Lines changed: 180112 additions & 0 deletions

File tree

Content.Client/Parallax/Data/GeneratedParallaxTextureSource.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ void IParallaxTextureSource.Unload(IDependencyCollection dependencies)
3737
var cache = dependencies.Resolve<GeneratedParallaxCache>();
3838
cache.Unload(Identifier);
3939
}
40+
/// <summary>
41+
/// Controls the speed of the parallax effect for this texture.
42+
/// </summary>
43+
[DataField("slowness")]
44+
public float Slowness { get; private set; }
4045
}
4146

Resources/Maps/_Starlight/Shuttles/cargo_prism.yml

Lines changed: 2026 additions & 0 deletions
Large diffs are not rendered by default.

Resources/Maps/_Starlight/Shuttles/emergency_prism.yml

Lines changed: 4719 additions & 0 deletions
Large diffs are not rendered by default.

Resources/Maps/_Starlight/Shuttles/security_prism.yml

Lines changed: 1256 additions & 0 deletions
Large diffs are not rendered by default.

Resources/Maps/_Starlight/Stations/Prism.yml

Lines changed: 171972 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
- type: gameMap
2+
id: Prism
3+
mapName: 'Prism Station'
4+
mapPath: /Maps/_Starlight/Stations/Prism.yml
5+
minPlayers: 25
6+
maxPlayers: 70
7+
stations:
8+
Prism:
9+
stationProto: StandardNanotrasenStation
10+
components:
11+
- type: StationNameSetup
12+
mapNameTemplate: '{0} Prism Station {1}'
13+
nameGenerator:
14+
!type:NanotrasenNameGenerator
15+
prefixCreator: 'SR'
16+
- type: StationEmergencyShuttle
17+
emergencyShuttlePath: /Maps/_Starlight/Shuttles/emergency_prism.yml
18+
- type: StationCargoShuttle
19+
path: /Maps/_Starlight/Shuttles/cargo_prism.yml
20+
- type: StationJobs
21+
availableJobs:
22+
#command
23+
Captain: [ 1, 1 ]
24+
HeadOfPersonnel: [ 1, 1 ]
25+
HeadOfSecurity: [ 1, 1 ]
26+
ChiefMedicalOfficer: [ 1, 1 ]
27+
ChiefEngineer: [ 1, 1 ]
28+
ResearchDirector: [ 1, 1 ]
29+
Quartermaster: [ 1, 1 ]
30+
#service
31+
Bartender: [ 1, 2]
32+
Botanist: [ 1, 2 ]
33+
Chef: [ 1, 2 ]
34+
Janitor: [ 1, 1]
35+
Chaplain: [ 1, 1 ]
36+
Librarian: [ 1, 1 ]
37+
Reporter: [ 1, 1 ]
38+
ServiceWorker: [ 5, 5 ]
39+
#engineering
40+
AtmosphericTechnician: [ 2, 2 ]
41+
StationEngineer: [ 4, 4 ]
42+
TechnicalAssistant: [ 2, 3 ]
43+
#medical
44+
Chemist: [ 2, 2 ]
45+
MedicalDoctor: [ 4, 4 ]
46+
MedicalIntern: [ 3, 4 ]
47+
Paramedic: [ 2, 2 ]
48+
Psychologist: [ 1, 1 ]
49+
Surgeon: [ 1, 1 ]
50+
#science
51+
Scientist: [ 3, 4 ]
52+
ResearchAssistant: [ 2, 3 ]
53+
Roboticist: [ 2, 2 ]
54+
#security
55+
Warden: [ 1, 1 ]
56+
SecurityOfficer: [ 4, 5 ]
57+
Detective: [ 1, 1 ]
58+
SecurityCadet: [ 4, 4 ]
59+
Brigmedic: [ 1, 1 ]
60+
#supply (4 - 5)
61+
SalvageSpecialist: [ 4, 4 ]
62+
MiningSpecialist: [ 3, 3 ]
63+
CargoTechnician: [ 4, 4 ]
64+
MailTech: [ 2, 2 ]
65+
#civilian
66+
Assistant: [ -1, -1 ]
67+
Clown: [ 1, 1 ]
68+
Mime: [ 1, 1 ]
69+
Musician: [ 1, 1 ]
70+
#silicon (3)
71+
StationAi: [ 1, 1 ]
72+
Borg: [ 4, 4 ]
73+
#law
74+
Magistrate: [ 1, 1 ]
75+
IAA: [ 2, 2 ]
76+
#Representives
77+
BlueShield: [ 1, 1 ]
78+
NanoTrasenRepresentative: [ 1, 1 ]
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
- type: parallax
2+
id: PrismStation
3+
layers:
4+
- texture:
5+
!type:ImageParallaxTextureSource
6+
path: "/Textures/Parallaxes/layer1.png"
7+
slowness: 0.9980404
8+
scale: "1, 1"
9+
- texture:
10+
!type:GeneratedParallaxTextureSource
11+
id: "hq_wizard_stars"
12+
configPath: "/Prototypes/Parallaxes/parallax_config_stars.toml"
13+
slowness: 0.996625
14+
- texture:
15+
!type:GeneratedParallaxTextureSource
16+
id: "hq_wizard_stars_dim"
17+
configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim.toml"
18+
slowness: 0.989375
19+
- texture:
20+
!type:GeneratedParallaxTextureSource
21+
id: "hq_wizard_stars_faster"
22+
configPath: "/Prototypes/Parallaxes/parallax_config_stars-2.toml"
23+
slowness: 0.987265625
24+
- texture:
25+
!type:GeneratedParallaxTextureSource
26+
id: "hq_wizard_stars_dim_faster"
27+
configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml"
28+
slowness: 0.984352
29+
- texture:
30+
!type:ImageParallaxTextureSource
31+
path: "/Textures/_Starlight/Parallaxes/blue_giant.png"
32+
slowness: 0.998046875
33+
scale: "1.6, 1.6"
34+
controlHomePosition: "100, 100"
35+
worldHomePosition: "0, 0"
36+
tiled: false
37+
- texture:
38+
!type:ImageParallaxTextureSource
39+
path: "/Textures/Parallaxes/Asteroids.png"
40+
slowness: 0.95046875
41+
scale: "0.8, 0.8"
42+
scrolling: "0.05, 0.02"
43+
- texture:
44+
!type:ImageParallaxTextureSource
45+
path: "/Textures/Parallaxes/Asteroids.png"
46+
slowness: 0.875046875
47+
scale: "1.5, 1.5"
48+
scrolling: "0.15, -0.01"
49+
worldHomePosition: "0.0, -25"
50+
layersLQ:
51+
- texture:
52+
!type:GeneratedParallaxTextureSource
53+
id: ""
54+
configPath: "/Prototypes/Parallaxes/parallax_config.toml"
55+
slowness: 0.875
56+
layersLQUseHQ: false
53.2 KB
Loading

0 commit comments

Comments
 (0)