recover a bunch of stats from legacy, fix enhanced armor in sandbox, add game's module layout from the upgrade screen, a bunch of toys from legacy

This commit is contained in:
tresabhi committed 2026-11-11 22:43:47 -06:00
1 parent cc0284e2ec
commit 6bef735aea
36 files changed
+2416 -582

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
syntax = "proto3";
package blitzkit;
message ProtoVector2 {
float x = 1;
float y = 2;
}
message ProtoVector3 {
float x = 1;
float y = 2;
float z = 3;
}
@@ -2,13 +2,15 @@ syntax = "proto3";
package blitzkit;
import "math.proto";
message ModelDefinitions {
map<uint32, ModelDefinition> models = 1;
}
message ModelDefinition {
Armor armor = 1;
Vector3 turret_origin = 2;
ProtoVector3 turret_origin = 2;
optional InitialTurretRotation initial_turret_rotation = 3;
map<uint32, TurretModelDefinition> turrets = 4;
map<uint32, TrackModelDefinition> tracks = 5;
@@ -20,12 +22,6 @@ message Armor {
repeated uint32 spaced = 2;
}
message Vector3 {
float x = 1;
float y = 2;
float z = 3;
}
message InitialTurretRotation {
float yaw = 1;
float pitch = 2;
@@ -36,7 +32,7 @@ message TurretModelDefinition {
BoundingBox bounding_box = 1;
Armor armor = 2;
uint32 model_id = 3;
Vector3 gun_origin = 4;
ProtoVector3 gun_origin = 4;
map<uint32, GunModelDefinition> guns = 5;
optional YawLimits yaw = 6;
}
@@ -47,13 +43,13 @@ message YawLimits {
}
message BoundingBox {
Vector3 min = 1;
Vector3 max = 2;
ProtoVector3 min = 1;
ProtoVector3 max = 2;
}
message TrackModelDefinition {
float thickness = 1;
Vector3 origin = 2;
float thickness = 1;
ProtoVector3 origin = 2;
}
message GunModelDefinition {
@@ -3,6 +3,7 @@ syntax = "proto3";
package blitzkit;
import "i18n.proto";
import "math.proto";
message TankDefinitions {
map<uint32, TankDefinition> tanks = 1;
@@ -42,6 +43,15 @@ message TankDefinition {
string dev_name = 32;
optional Equalizer equalizer = 33;
optional I18nString name_full = 34;
repeated ModulePosition module_positions = 35;
}
// Hand-authored cell in the modules screen grid. Tanks without any use the
// automatic layout.
message ModulePosition {
int32 id = 1;
ModuleType type = 2;
ProtoVector2 position = 3;
}
message Equalizer {
@@ -87,6 +97,7 @@ message TrackDefinition {
float resistance_medium = 10;
float resistance_soft = 11;
repeated Unlock unlocks = 12;
float repair_time = 13;
}
message EngineDefinition {