4de86f4e58
- Update pylone path references from /models/pylone/model.gltf to .glb (galleryModels, mapInstancingConfig, repairMissions). The new glb exports a single cable node 'cable2' (no cable1). - Pylon brokenParts: drop lampe and panneau2; the pylon design no longer has detached broken pieces (the cable is just missing from the model). - Pylon replacement cables target the pylon's 'cable2' node world position via targetNodeName (used by the upcoming broken-anchor wiring). - Ebike refroidisseur replacement and brokenPart both target the bike's 'refroidisseur' node so the broken piece spawns from its original location and the replacement can install in the same slot.
160 lines
4.6 KiB
TypeScript
160 lines
4.6 KiB
TypeScript
export interface GalleryModel {
|
|
id: string;
|
|
name: string;
|
|
path: string;
|
|
}
|
|
|
|
export const galleryModels: GalleryModel[] = [
|
|
{ id: "arbre", name: "Arbre", path: "/models/arbre/model.gltf" },
|
|
{ id: "blocking", name: "Blocking", path: "/models/blocking/terrain.gltf" },
|
|
{
|
|
id: "boiteimmeuble",
|
|
name: "Boîte immeuble",
|
|
path: "/models/boiteimmeuble/model.gltf",
|
|
},
|
|
{
|
|
id: "boitesimple",
|
|
name: "Boîte simple",
|
|
path: "/models/boitesimple/model.gltf",
|
|
},
|
|
{ id: "buisson", name: "Buisson", path: "/models/buisson/model.gltf" },
|
|
{
|
|
id: "buisson-animated",
|
|
name: "Buisson animé",
|
|
path: "/models/buisson-animated/model.gltf",
|
|
},
|
|
{ id: "cable1", name: "Câble 1", path: "/models/cable1/model.gltf" },
|
|
{ id: "cable2", name: "Câble 2", path: "/models/cable2/model.gltf" },
|
|
{ id: "chemins", name: "Chemins", path: "/models/chemins/model.gltf" },
|
|
{
|
|
id: "createurdepluie",
|
|
name: "Créateur de pluie",
|
|
path: "/models/createurdepluie/model.gltf",
|
|
},
|
|
{ id: "ebike", name: "E-bike", path: "/models/ebike/model.gltf" },
|
|
{ id: "ecole", name: "École", path: "/models/ecole/model.gltf" },
|
|
{ id: "elec", name: "Électricité", path: "/models/elec/model.gltf" },
|
|
{
|
|
id: "electricienne",
|
|
name: "Électricienne",
|
|
path: "/models/electricienne/model.gltf",
|
|
},
|
|
{
|
|
id: "entreetuyaux",
|
|
name: "Entrée tuyaux",
|
|
path: "/models/entreetuyaux/model.gltf",
|
|
},
|
|
{ id: "eolienne", name: "Éolienne", path: "/models/eolienne/model.gltf" },
|
|
{
|
|
id: "fermeverticale",
|
|
name: "Ferme verticale",
|
|
path: "/models/fermeverticale/model.gltf",
|
|
},
|
|
{ id: "fermier", name: "Fermier", path: "/models/fermier/model.gltf" },
|
|
{
|
|
id: "fermier-animated",
|
|
name: "Fermier animé",
|
|
path: "/models/fermier-animated/model.gltf",
|
|
},
|
|
{ id: "galet", name: "Galet", path: "/models/galet/model.gltf" },
|
|
{ id: "gant_l", name: "Gant gauche", path: "/models/gant_l/model.gltf" },
|
|
{
|
|
id: "gant_l_pad",
|
|
name: "Pad gant gauche",
|
|
path: "/models/gant_l_pad/model.gltf",
|
|
},
|
|
{ id: "gant_r", name: "Gant droit", path: "/models/gant_r/model.gltf" },
|
|
{
|
|
id: "gant_r_pad",
|
|
name: "Pad gant droit",
|
|
path: "/models/gant_r_pad/model.gltf",
|
|
},
|
|
{
|
|
id: "generateur",
|
|
name: "Générateur",
|
|
path: "/models/generateur/model.gltf",
|
|
},
|
|
{ id: "gerant", name: "Gérant", path: "/models/gerant/model.gltf" },
|
|
{
|
|
id: "gerant_anim",
|
|
name: "Gérant animé",
|
|
path: "/models/gerant_anim/model.gltf",
|
|
},
|
|
{
|
|
id: "habitant1",
|
|
name: "Habitant 1",
|
|
path: "/models/habitant1/model.gltf",
|
|
},
|
|
{
|
|
id: "habitant1-animated",
|
|
name: "Habitant 1 animé",
|
|
path: "/models/habitant1-animated/model.gltf",
|
|
},
|
|
{
|
|
id: "habitant2",
|
|
name: "Habitant 2",
|
|
path: "/models/habitant2/model.gltf",
|
|
},
|
|
{
|
|
id: "habitant2-animated",
|
|
name: "Habitant 2 animé",
|
|
path: "/models/habitant2-animated/model.gltf",
|
|
},
|
|
{ id: "immeuble1", name: "Immeuble", path: "/models/immeuble1/model.gltf" },
|
|
{ id: "lafabrik", name: "La Fabrik", path: "/models/lafabrik/model.glb" },
|
|
{ id: "maison1", name: "Maison", path: "/models/maison1/model.gltf" },
|
|
{
|
|
id: "packderelance",
|
|
name: "Pack de relance",
|
|
path: "/models/packderelance/model.gltf",
|
|
},
|
|
{
|
|
id: "panneauaffichage",
|
|
name: "Panneau d'affichage",
|
|
path: "/models/panneauaffichage/model.gltf",
|
|
},
|
|
{
|
|
id: "panneauclassique",
|
|
name: "Panneau classique",
|
|
path: "/models/panneauclassique/model.gltf",
|
|
},
|
|
{
|
|
id: "panneaufleche",
|
|
name: "Panneau flèche",
|
|
path: "/models/panneaufleche/model.gltf",
|
|
},
|
|
{
|
|
id: "persoprincipal",
|
|
name: "Personnage principal",
|
|
path: "/models/persoprincipal/model.gltf",
|
|
},
|
|
{
|
|
id: "persoprincipal-animated",
|
|
name: "Personnage principal animé",
|
|
path: "/models/persoprincipal-animated/model.gltf",
|
|
},
|
|
{ id: "potager", name: "Potager", path: "/models/potager/potager.gltf" },
|
|
{ id: "puce", name: "Puce", path: "/models/puce/model.gltf" },
|
|
{ id: "pylone", name: "Pylône", path: "/models/pylone/model.glb" },
|
|
{
|
|
id: "refroidisseur",
|
|
name: "Refroidisseur",
|
|
path: "/models/refroidisseur/model.gltf",
|
|
},
|
|
{ id: "sapin", name: "Sapin", path: "/models/sapin/model.gltf" },
|
|
{ id: "skybox", name: "Skybox", path: "/models/skybox/skybox.gltf" },
|
|
{ id: "talkie", name: "Talkie", path: "/models/talkie/model.glb" },
|
|
{ id: "terrain", name: "Terrain", path: "/models/terrain/model.gltf" },
|
|
{
|
|
id: "tuyauxlac",
|
|
name: "Tuyaux lac",
|
|
path: "/models/tuyauxlac/model.gltf",
|
|
},
|
|
{
|
|
id: "tuyauxpuzzle",
|
|
name: "Tuyaux puzzle",
|
|
path: "/models/tuyauxpuzzle/model.gltf",
|
|
},
|
|
{ id: "vase", name: "Vase", path: "/models/vase/model.gltf" },
|
|
];
|