Add MPB to vehicle list

This commit is contained in:
Brian Beck 2024-01-26 23:19:41 -08:00
parent 321c3ae5c4
commit fad563ef4f
7 changed files with 20 additions and 2 deletions

View file

@ -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: [

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 KiB

Binary file not shown.

View file

@ -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>

View file

@ -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>