mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-01-19 19:24:44 +00:00
Add MPB to vehicle list
This commit is contained in:
parent
321c3ae5c4
commit
fad563ef4f
|
|
@ -28,7 +28,7 @@ const weaponModels = [
|
|||
"targeting",
|
||||
];
|
||||
|
||||
const vehicleModels = ["vehicle_air_scout"];
|
||||
const vehicleModels = ["vehicle_air_scout", "vehicle_land_mpbbase"];
|
||||
|
||||
export async function getSkinConfig() {
|
||||
const [defaultSkins, customSkins, customWeaponSkins] = await Promise.all([
|
||||
|
|
@ -105,6 +105,7 @@ export async function getSkinConfig() {
|
|||
targeting: "weapon_targeting",
|
||||
// Vehicles
|
||||
vehicle_air_scout: "vehicle_air_scout",
|
||||
vehicle_land_mpbbase: "vehicle_land_mpbbase",
|
||||
},
|
||||
animationLabels: {
|
||||
Forward: "Run Forward",
|
||||
|
|
@ -291,6 +292,22 @@ export async function getSkinConfig() {
|
|||
size: [256, 256],
|
||||
},
|
||||
],
|
||||
vehicle_land_mpbbase: [
|
||||
{
|
||||
label: "Vehicle Front",
|
||||
name: "vehicle_land_mpb1",
|
||||
},
|
||||
{
|
||||
label: "Vehicle Back",
|
||||
name: "vehicle_land_mpb2",
|
||||
},
|
||||
{
|
||||
label: "Wheels",
|
||||
name: "Vehicle_Land_Assault_wheel",
|
||||
file: "Vehicle_Land_Assault_Wheel",
|
||||
size: [512, 256],
|
||||
},
|
||||
],
|
||||
},
|
||||
animations: {
|
||||
global: [
|
||||
|
|
|
|||
BIN
public/textures/Vehicle_Land_Assault_Wheel.png
Normal file
BIN
public/textures/Vehicle_Land_Assault_Wheel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 248 KiB |
BIN
public/textures/vehicle_land_mpb1.png
Normal file
BIN
public/textures/vehicle_land_mpb1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 538 KiB |
BIN
public/textures/vehicle_land_mpb2.png
Normal file
BIN
public/textures/vehicle_land_mpb2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 543 KiB |
BIN
public/vehicle_land_mpbbase.glb
Normal file
BIN
public/vehicle_land_mpbbase.glb
Normal file
Binary file not shown.
|
|
@ -613,7 +613,7 @@ export default function CanvasTools() {
|
|||
>
|
||||
Export
|
||||
</button>
|
||||
<select ref={fileTypeRef}>
|
||||
<select ref={fileTypeRef} defaultValue="vl2">
|
||||
<option value="png">.png</option>
|
||||
<option value="vl2">.vl2</option>
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ export default function WarriorSelector() {
|
|||
</optgroup>
|
||||
<optgroup label="Vehicles" data-model-type="vehicle">
|
||||
<option value="vehicle_air_scout">Shrike</option>
|
||||
<option value="vehicle_land_mpbbase">MPB</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue