mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-20 07:42:33 +00:00
Update 2.7 dev
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z a -r -y -tzip "..\$file.miz" *
|
||||||
|
cd ..
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
Remove-Item .\_unpacked -Force -Recurse
|
||||||
|
md "_unpacked"
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z x -r -y "..\$file.miz" *
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z a -r -y -tzip "..\$file.miz" *
|
||||||
|
cd ..
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
Remove-Item .\_unpacked -Force -Recurse
|
||||||
|
md "_unpacked"
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z x -r -y "..\$file.miz" *
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
--- This makes a vehicle respawn itself when the mission starts.
|
||||||
|
-- Name: GRP-600 - Respawn
|
||||||
|
-- Author: FlightControl
|
||||||
|
-- Date Created: 01 Mar 2018
|
||||||
|
|
||||||
|
-- Find the Vehicle and create a GROUP object.
|
||||||
|
Vehicle = GROUP:FindByName( "Vehicle" )
|
||||||
|
|
||||||
|
-- Respawn the vehicle.
|
||||||
|
Vehicle:Respawn()
|
||||||
Binary file not shown.
@@ -0,0 +1,10 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
|
||||||
|
$dir
|
||||||
|
$file
|
||||||
|
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z a -r -y -tzip "..\$file.miz" *
|
||||||
|
cd ..
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||||
|
cd $dir
|
||||||
|
$file = Split-Path $dir -leaf
|
||||||
|
Remove-Item .\_unpacked -Force -Recurse
|
||||||
|
md "_unpacked"
|
||||||
|
cd "_unpacked"
|
||||||
|
. 7z x -r -y "..\$file.miz" *
|
||||||
Reference in New Issue
Block a user