mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-07-16 08:55:20 +00:00
Add MPB to vehicle list
This commit is contained in:
parent
321c3ae5c4
commit
fad563ef4f
7 changed files with 20 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ const weaponModels = [
|
||||||
"targeting",
|
"targeting",
|
||||||
];
|
];
|
||||||
|
|
||||||
const vehicleModels = ["vehicle_air_scout"];
|
const vehicleModels = ["vehicle_air_scout", "vehicle_land_mpbbase"];
|
||||||
|
|
||||||
export async function getSkinConfig() {
|
export async function getSkinConfig() {
|
||||||
const [defaultSkins, customSkins, customWeaponSkins] = await Promise.all([
|
const [defaultSkins, customSkins, customWeaponSkins] = await Promise.all([
|
||||||
|
|
@ -105,6 +105,7 @@ export async function getSkinConfig() {
|
||||||
targeting: "weapon_targeting",
|
targeting: "weapon_targeting",
|
||||||
// Vehicles
|
// Vehicles
|
||||||
vehicle_air_scout: "vehicle_air_scout",
|
vehicle_air_scout: "vehicle_air_scout",
|
||||||
|
vehicle_land_mpbbase: "vehicle_land_mpbbase",
|
||||||
},
|
},
|
||||||
animationLabels: {
|
animationLabels: {
|
||||||
Forward: "Run Forward",
|
Forward: "Run Forward",
|
||||||
|
|
@ -291,6 +292,22 @@ export async function getSkinConfig() {
|
||||||
size: [256, 256],
|
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: {
|
animations: {
|
||||||
global: [
|
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
|
Export
|
||||||
</button>
|
</button>
|
||||||
<select ref={fileTypeRef}>
|
<select ref={fileTypeRef} defaultValue="vl2">
|
||||||
<option value="png">.png</option>
|
<option value="png">.png</option>
|
||||||
<option value="vl2">.vl2</option>
|
<option value="vl2">.vl2</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@ export default function WarriorSelector() {
|
||||||
</optgroup>
|
</optgroup>
|
||||||
<optgroup label="Vehicles" data-model-type="vehicle">
|
<optgroup label="Vehicles" data-model-type="vehicle">
|
||||||
<option value="vehicle_air_scout">Shrike</option>
|
<option value="vehicle_air_scout">Shrike</option>
|
||||||
|
<option value="vehicle_land_mpbbase">MPB</option>
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue