---
# System prepended metadata

title: Unreal Pipeline
tags: [Perforce]

---

---
tags: Unreal Pipeline
title: Unreal
description: 
---
[TOC]

---

# 🥁.Unreal Git  
Local Develope A (D:\somewhere) <=> Company Gitea <=> Nas(U:\Unreal\UnrealScripts)  
Local Develope B (C:\somewhere) <=>
Local Develope C (E:\somewhere) <=>

# 🥁.Execute Environment Bat  
- Artists一般使用者會使用的切換 (Release Environment Via Deadline Execute Command)  
    - Use Nas Script (使用U:\Unreal\UnrealScripts) [99%]  
    ![image](https://hackmd.io/_uploads/BkgCRgJYbC.png)  
    - Original (突發狀況需退回原本unreal原始版本)[1%]  
    ![image](https://hackmd.io/_uploads/SJb0eyK-A.png)  
- Developer開發者會使用的切換 (Switch Delelop Or Release Environment Via Manual)  
    - Use Nas Script (使用U:\Unreal\UnrealScripts)  [29%]  
        - 跟上述講述的一樣  
        ![image](https://hackmd.io/_uploads/HkKTdyKW0.png)  
        - 講細一點就是:執行BAT的環境是NAS，執行python的環境也是在NAS  
        ![image](https://hackmd.io/_uploads/SJXl2kKZC.png)  
    - Original [1%]  
        - 跟上述講述的一樣  
        ![image](https://hackmd.io/_uploads/H1NkY1t-C.png)  
        - 講細一點就是:執行BAT的環境是NAS，沒有執行python的環境特別設定  
        ![image](https://hackmd.io/_uploads/HJSOyeF-0.png)  
    - Use Local Develop Script(C:\Git\UnrealScripts) [70%]  
        - 講細一點就是:執行BAT的環境是Local develop，執行python的環境是在Local develop，在修改user模式的BAT環境程式時會用到(10%)  
        ![image](https://hackmd.io/_uploads/BkqyblFZC.png)  
        ![image](https://hackmd.io/_uploads/HkGcuJtb0.png)  
        ![image](https://hackmd.io/_uploads/HJzN-lY-0.png)  
        - 講細一點就是:執行BAT的環境是Local develop，執行python的環境是在Local develop，在修改original模式的BAT環境程式時會用到(5%)    
        ![image](https://hackmd.io/_uploads/BJpuzgF-C.png)  
        ![image](https://hackmd.io/_uploads/BJVodJFW0.png)  
        ![image](https://hackmd.io/_uploads/B1ktbet-R.png)  
        - 講細一點就是:執行BAT的環境是Local develop，執行python的環境是在Local develop，在修改develope模式的BAT環境程式時會用到(85%)    
        ![image](https://hackmd.io/_uploads/SJM-7eYbA.png)  
        ![image](https://hackmd.io/_uploads/S1UGq9wb0.png)  
        ![image](https://hackmd.io/_uploads/Sy8mXeY-R.png)

# 🥁.Environment Bat And Interface Notice  
- Original Environment  
    - Interface  
    ![image](https://hackmd.io/_uploads/S1uNWBAgA.png)  
    ![image](https://hackmd.io/_uploads/H15S-rRl0.png)  
- Use Nas(U:\Unreal\UnrealScripts) Environment  
    - Interface  
    ![image](https://hackmd.io/_uploads/HkInbH0eA.png)  
    ![image](https://hackmd.io/_uploads/BJpTWBRe0.png)  
- Use Local Develop (C:\Git\UnrealScripts) Environment  
    - Interface  
    ![image](https://hackmd.io/_uploads/Bk8DMHAlA.png)  
    ![image](https://hackmd.io/_uploads/SJr5zrRg0.png)  

# 🥁.Unreal Editor Menu  
- 位置  
    - {root}/unrealEditorMenu  
- menu大種類  
    - 新增一個.json檔案就會多一個menu大種類
    ![image](https://hackmd.io/_uploads/SyduEgKb0.png)  
- menu下的section區塊種類  
![image](https://hackmd.io/_uploads/BybABgFZ0.png)  
- section下的item設定  
    - scriptType分關鍵字"python"和"command"兩種，看develop習慣用哪種方式都可  
    - 下方兩紅框都是呼叫同一個工具的外部呼叫方法  
    - 上方是利用環境變數的功能呼叫程式，缺點就是字打比較多，但優點會跟著環境變數變動而決定讀取哪區的script  
    - 下方是使用指令讀取絕對路徑的程式並呼叫，優點就是字打比較少，缺點就是無法跟著環境變數切換或新增而去變動讀取哪區script  
![image](https://hackmd.io/_uploads/rJIgDxtbC.png)  

![image](https://hackmd.io/_uploads/Hk_rcxY-C.png)  



