Skip to content

Commit 1d2ab1d

Browse files
authored
Format the majority of the remaining blueprint files (FAForever#6272)
The only blueprint files that are not formatted are the emitter files. It would merge the key-based and value-based fields, creating a bit of a mess. Luckily we won't be doing much (if any) batch processing on those type of files. With this we can now finally start batch processing file empowered by the [Brewlan WikiGen](https://github.com/The-Balthazar/BrewWikiGen) made by @The-Balthazar. This would empower us to do various edits to units, props and projectiles an mass and bake them right into the blueprint files.
1 parent e829257 commit 1d2ab1d

File tree

1,336 files changed

+15173
-23077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,336 files changed

+15173
-23077
lines changed

effects/EMPFluxWarhead/EMPFluxWarheadEffect01_proj.bp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
22
Display = {
33
Mesh = {
44
LODs = {
55
{
6-
MeshName = '/effects/Entities/Sphere01/Sphere01_lod0.scm',
7-
ShaderName = 'TMeshOuterCloud',
8-
AlbedoName = '/effects/Nuke/Plume02_Glow.dds',
9-
NormalsName = '/effects/Nuke/Plume02_Alpha.dds',
106
LODCutoff = 1000.0,
7+
ShaderName = "TMeshOuterCloud",
8+
MeshName = "/effects/Entities/Sphere01/Sphere01_lod0.scm",
9+
AlbedoName = "/effects/Nuke/Plume02_Glow.dds",
10+
NormalsName = "/effects/Nuke/Plume02_Alpha.dds",
1111
},
1212
},
1313
},
@@ -36,4 +36,4 @@ ProjectileBlueprint {
3636
UseGravity = false,
3737
VelocityAlign = false,
3838
},
39-
}
39+
}

effects/EMPFluxWarhead/EMPFluxWarheadEffect02_proj.bp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
22
Display = {
33
Mesh = {
44
LODs = {
55
{
6-
MeshName = '/effects/Entities/Sphere01/Sphere01_lod0.scm',
7-
ShaderName = 'TMeshOuterCloud',
8-
AlbedoName = '/effects/Nuke/Plume02_Glow.dds',
9-
NormalsName = '/effects/Nuke/Plume02_Alpha.dds',
106
LODCutoff = 1000.0,
7+
ShaderName = "TMeshOuterCloud",
8+
MeshName = "/effects/Entities/Sphere01/Sphere01_lod0.scm",
9+
AlbedoName = "/effects/Nuke/Plume02_Glow.dds",
10+
NormalsName = "/effects/Nuke/Plume02_Alpha.dds",
1111
},
1212
},
1313
},
@@ -36,4 +36,4 @@ ProjectileBlueprint {
3636
UseGravity = false,
3737
VelocityAlign = false,
3838
},
39-
}
39+
}

effects/EMPFluxWarhead/EMPFluxWarheadEffect03_proj.bp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
22
Display = {
33
Mesh = {
44
LODs = {
55
{
6-
MeshName = '/effects/Entities/Sphere01/Sphere01_lod0.scm',
7-
ShaderName = 'NukeEMP',
8-
AlbedoName = 'EMPFluxWarheadEffect03_Albedo.dds',
9-
NormalsName = 'EMPFluxWarheadEffect03_Alpha.dds',
106
LODCutoff = 1000.0,
7+
ShaderName = "NukeEMP",
8+
MeshName = "/effects/Entities/Sphere01/Sphere01_lod0.scm",
9+
AlbedoName = "EMPFluxWarheadEffect03_Albedo.dds",
10+
NormalsName = "EMPFluxWarheadEffect03_Alpha.dds",
1111
},
1212
},
1313
},
@@ -36,4 +36,4 @@ ProjectileBlueprint {
3636
UseGravity = false,
3737
VelocityAlign = false,
3838
},
39-
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
2+
Categories = { "PROJECTILE" },
23
Display = {
34
CameraFollowsProjectile = false,
45
Mesh = {
56
IconFadeInZoom = 1000,
67
LODs = {
78
{
89
LODCutoff = 0,
9-
LookupName = '/textures/environment/Falloff_seraphim_lookup.dds',
10-
ShaderName = 'Seraphim',
10+
LookupName = "/textures/environment/Falloff_seraphim_lookup.dds",
11+
ShaderName = "Seraphim",
1112
},
1213
},
1314
},
1415
UniformScale = 0.01,
1516
},
16-
Categories = {
17-
'PROJECTILE',
18-
},
1917
Physics = {
2018
CollideEntity = false,
2119
DestroyOnWater = true,
2220
InitialSpeed = 0,
2321
LeadTarget = false,
2422
Lifetime = 10,
23+
RotationalVelocity = 0,
2524
UseGravity = true,
2625
VelocityAlign = false,
27-
RotationalVelocity = 0,
2826
},
29-
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
MeshBlueprint {
1+
MeshBlueprint{
22
LODs = {
3-
{
4-
ShaderName = 'TMeshNoNormals',
5-
LODCutoff = 300
3+
[1] = {
4+
LODCutoff = 300,
5+
ShaderName = "TMeshNoNormals",
66
},
77
UniformScale = 1,
88
},
9-
}
9+
}

effects/Entities/AeonBuildEffect/AeonBuildEffect01_proj.bp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
22
Display = {
33
Mesh = {
44
LODs = {
55
{
6-
ShaderName = 'AeonBuildPuddle',
76
LODCutoff = 350,
7+
ShaderName = "AeonBuildPuddle",
88
},
99
},
1010
},
@@ -33,4 +33,4 @@ ProjectileBlueprint {
3333
UseGravity = false,
3434
VelocityAlign = false,
3535
},
36-
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
MeshBlueprint {
1+
MeshBlueprint{
2+
IconFadeInZoom = 4,
23
LODs = {
34
{
4-
MeshName = '/effects/Entities/Sphere01/Sphere01_lod0.scm',
5-
AlbedoName = 'AeonShield01_Albedo.dds',
6-
NormalsName = 'AeonShield01_Normals.dds',
7-
SpecularName = 'AeonShield01_Specular.dds',
8-
ShaderName = 'ShieldAeon',
95
LODCutoff = 1000,
6+
ShaderName = "ShieldAeon",
7+
MeshName = "/effects/Entities/Sphere01/Sphere01_lod0.scm",
8+
AlbedoName = "AeonShield01_Albedo.dds",
9+
NormalsName = "AeonShield01_Normals.dds",
10+
SpecularName = "AeonShield01_Specular.dds",
1011
},
1112
},
12-
IconFadeInZoom = 4,
1313
SortOrder = 1000,
1414
StraddleWater = true,
15-
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
ProjectileBlueprint {
1+
ProjectileBlueprint{
22
Display = {
33
ImpactEffects = {
4-
Type = 'Small01',
54
Scale = 1.0,
5+
Type = "Small01",
66
},
7-
MeshBlueprint = '/meshes/projectiles/debris_misc_04_mesh.bp',
7+
MeshBlueprint = "/meshes/projectiles/debris_misc_04_mesh.bp",
88
UniformScale = 0.15,
99
},
1010
Physics = {
@@ -14,10 +14,10 @@ ProjectileBlueprint {
1414
DirectionYRange = 0.5,
1515
InitialSpeed = 8.0,
1616
InitialSpeedRange = 2,
17+
Lifetime = 20,
1718
MaxSpeed = 24,
1819
RotationalVelocity = 360,
1920
RotationalVelocityRange = 180,
20-
Lifetime = 20,
2121
VelocityAlign = false,
2222
},
23-
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,31 @@
1-
-- unused by faf
2-
3-
ProjectileBlueprint {
1+
ProjectileBlueprint{
42
Audio = {
5-
Impact = Sound {
6-
Bank = 'Impacts',
7-
Cue = 'UEF_Expl_Med_Impact',
8-
LodCutoff = 'Weapon_LodCutoff',
9-
},
10-
ImpactTerrain = Sound {
11-
Bank = 'Impacts',
12-
Cue = 'Impact_Land_Gen_UEF',
13-
LodCutoff = 'Weapon_LodCutoff',
14-
},
15-
ImpactWater = Sound {
16-
Bank = 'Impacts',
17-
Cue = 'Impact_Water_Splash_UEF',
18-
LodCutoff = 'Weapon_LodCutoff',
19-
},
3+
Impact = Sound { Bank = 'Impacts', Cue = 'UEF_Expl_Med_Impact', LodCutoff = 'Weapon_LodCutoff' },
4+
ImpactTerrain = Sound { Bank = 'Impacts', Cue = 'Impact_Land_Gen_UEF', LodCutoff = 'Weapon_LodCutoff' },
5+
ImpactWater = Sound { Bank = 'Impacts', Cue = 'Impact_Water_Splash_UEF', LodCutoff = 'Weapon_LodCutoff' },
206
},
217
Categories = {
22-
'SERAPHIM',
23-
'PROJECTILE',
24-
'INDIRECTFIRE',
8+
"INDIRECTFIRE",
9+
"PROJECTILE",
10+
"SERAPHIM",
2511
},
2612
General = {
27-
Category = 'Bomb',
28-
Faction = 'Seraphim',
13+
Category = "Bomb",
14+
Faction = "Seraphim",
2915
TechLevel = 1,
30-
Weapon = 'Zhanasee Strategic Bomb 2',
31-
},
32-
Interface = {
33-
HelpText = 0,
16+
Weapon = "Zhanasee Strategic Bomb 2",
3417
},
18+
Interface = { HelpText = 0 },
3519
Physics = {
20+
Acceleration = 0,
3621
DestroyOnWater = true,
22+
Lifetime = 0.5,
23+
RotationalAcceleration = 0,
24+
RotationalVelocity = 0,
25+
StayUpright = false,
3726
TrackTarget = false,
3827
TurnRate = 360,
39-
VelocityAlign = true,
40-
StayUpright = false,
41-
Lifetime = 0.5,
4228
UseGravity = false,
43-
RotationalVelocity= 0,
44-
RotationalAcceleration = 0,
45-
Acceleration = 0,
29+
VelocityAlign = true,
4630
},
47-
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,31 @@
1-
-- unused by faf
2-
3-
ProjectileBlueprint {
1+
ProjectileBlueprint{
42
Audio = {
5-
Impact = Sound {
6-
Bank = 'Impacts',
7-
Cue = 'UEF_Expl_Med_Impact',
8-
LodCutoff = 'Weapon_LodCutoff',
9-
},
10-
ImpactTerrain = Sound {
11-
Bank = 'Impacts',
12-
Cue = 'Impact_Land_Gen_UEF',
13-
LodCutoff = 'Weapon_LodCutoff',
14-
},
15-
ImpactWater = Sound {
16-
Bank = 'Impacts',
17-
Cue = 'Impact_Water_Splash_UEF',
18-
LodCutoff = 'Weapon_LodCutoff',
19-
},
3+
Impact = Sound { Bank = 'Impacts', Cue = 'UEF_Expl_Med_Impact', LodCutoff = 'Weapon_LodCutoff' },
4+
ImpactTerrain = Sound { Bank = 'Impacts', Cue = 'Impact_Land_Gen_UEF', LodCutoff = 'Weapon_LodCutoff' },
5+
ImpactWater = Sound { Bank = 'Impacts', Cue = 'Impact_Water_Splash_UEF', LodCutoff = 'Weapon_LodCutoff' },
206
},
217
Categories = {
22-
'SERAPHIM',
23-
'PROJECTILE',
24-
'INDIRECTFIRE',
8+
"INDIRECTFIRE",
9+
"PROJECTILE",
10+
"SERAPHIM",
2511
},
2612
General = {
27-
Category = 'Bomb',
28-
Faction = 'Seraphim',
13+
Category = "Bomb",
14+
Faction = "Seraphim",
2915
TechLevel = 1,
30-
Weapon = 'Zhanasee Strategic Bomb 2',
31-
},
32-
Interface = {
33-
HelpText = 0,
16+
Weapon = "Zhanasee Strategic Bomb 2",
3417
},
18+
Interface = { HelpText = 0 },
3519
Physics = {
20+
Acceleration = 0,
3621
DestroyOnWater = true,
22+
Lifetime = 0.5,
23+
RotationalAcceleration = 0,
24+
RotationalVelocity = 0,
25+
StayUpright = false,
3726
TrackTarget = false,
3827
TurnRate = 0,
39-
VelocityAlign = true,
40-
StayUpright = false,
41-
Lifetime = 0.5,
4228
UseGravity = false,
43-
RotationalVelocity= 0,
44-
RotationalAcceleration = 0,
45-
Acceleration = 0,
29+
VelocityAlign = true,
4630
},
47-
}
31+
}

0 commit comments

Comments
 (0)