- UID
- 992783
- 主题
- 303
- 阅读权限
- 70
- 帖子
- 8742
- 精华
- 5
- 积分
- 6963
- 金钱
- 34339
- 荣誉
- 155
- 人气
- 373
- 在线时间
- 6211 小时
- 评议
- 0

- 帖子
- 8742
- 精华
- 5
- 积分
- 6963
- 金钱
- 34339
- 荣誉
- 155
- 人气
- 373
- 评议
- 0
|
Station Manager
Version: 1.16b (15.07.2006)
Scripter: Burianek & AalaarDB
這script為遊戲增加Station Manager(太空站代理員),方便玩家管理太空站...
Download:
我找不到獨立的下載地址,有興趣的玩家請自行下載Bonus Package v3.107
Station Manager是自動運行的太空站管理程式,能夠有效地決定原材料及商品的購入、賣出公作,並會自動偵察最大利潤的太空站進行交易。玩家能透過Station Manager組織專門的運輸艦隊,進行個別物資的出貨入貨工序,也能限制艦隊的最遠經商距離、種族、價格。
在自建的太空站/工廠的Station Command頁面點擊新指令Station Manager:Automate(太空站代理員,自動運行)。點擊後,系統會在玩家的戶口收取25,000Cr作為程式的安裝費。這是一次性的收費,將來你關閉並重啟Station Manager將不另收費。運行Station Manager後,會在Station Command頁面追加兩個新指令:
- Station Manager: Add Ship (為太空站增加專屬運輸艦)
- Station Manager: Remove Ship (將運輸艦排除出太空站管理)
玩家可透過Station Manager: Add Ship指令,將M3, M4, M5, M6, TS, TP設定為太空站的專屬運輸艦。選定了的飛船會發記在station's list of traders(太空站商船列表)內,並交由太空站代理員管理。另外,點擊Station Manager: Remove Ship指令,可將將運輸艦排除出太空站管理。如點擊太空站,即可將所有運輸艦排除出太空站管理。
當太空站有了專屬的運輸艦,就會在飛船的Additional Ship Commands及Trade頁面再追加四個新指令:
- Station Manager: Display Status (顯示飛船資訊)
顯示該飛船的名稱、ID、所屬太空站、當時狀態、已運送的物資、最大超空間跳躍距離等資料。
- Station Manager: Prohibit Ware (限制的商品)
透過這指令,可限制飛船對太空站內某商品(如重火力武器)的輸出工作。
- Station Manager: Set Jumprange (設定跳躍距離)
點擊後,系統會要求輸入跳躍距離系數,用以決定飛船的最遠經商星系。
- Station Manager: Continue (再運行太空站的運輸工作)
玩家可以對專屬太空站的飛船下達其他的指令,當該指令完成後,要點擊Station Manager: Continue,將AI飛船的控制權交還給Station Manager。
AI運輸艦的特性:
- AI運輸艦會在原材料存量低于90%時開始購入工作,也會在商品/產品存量高于10%時開始輸出工作。
- AI運輸艦隊會自行決定運送那種物資。如太空站同時需求energy cell 及 Crystal,但已有—艘AI運輸艦在進行energy cell的運輸工作,那別的AI運輸艦會自動轉為運輸crystal給太空站。
- 當AI運輸艦決定了購入/輸出的物資後,會自行掃描所有Jumprange (跳躍距離)可達的太空站,從而制定出最低入貨/最高出貨的目的地。
- 在航行往目的地太空站期間,AI運輸艦也會對途經的星系進行有限度掃描,以便找出比原目地更佳的出貨/入貨地。
- 在無任務期間,AI運輸艦會自動停靠在太空站內待機。
- 當AI運輸艦的船殼受損,總强度低於80%時,會自動停止當前任務,並前往友好種族的船塢進行維修工程。
- 兩個太空站的Station Manager並沒有聯系,玩家要個別地為太空站設置Station Manager。
Pathfinding Algorithm: (航程演算法)
對我來說太複雜了,只將原文列出。
The Station Manager uses AStar to find paths to the destination, rather than the normal paths. These paths are, in general, safer. You can change the way AStar makes paths relatively easily, to customize it to your playing style.
AStar assigns a cost to each path it could take to get to the destination. It then chooses the path with the lowest cost as the optimum route. The easiest way to think of cost is: safety_weighting * distance, with higher safety weighting meaning more dangerous.
As an extremely simplified example, assume there are two paths to get to a destination:
Path 1: 300km travelled through enemy sectors
Path 2: 400km travelled through neutral sectors
Foe weighting: 1.55 (this is the default weight used for Foe sectors in Station Manager)
Path 1 cost: 300km * 1.55 = 465
Path 2 cost: 400km * 1 = 400
In this example, AStar would pick the safer route because it costs less, even though it is a bit longer. Notice that if Path 2 were much longer (greater than 465km) AStar would actually prefer to go through the enemy sectors.
To change the saftey weightings to get AStar to prefer different routes on your computer, open up your script editor, and open the file lib.ad.astar.getplayercustomcosts. Please do not edit any other files. You may edit the 4 numbers at the top, but it is recommended you only edit the FOE number. You may also edit the center of the script in between where it says to edit. This spot is for those who want to have different costs for different races of the same type. For example, Xenons might be more dangerous than Pirates although they are both FOE.
For instance, if you want the trader to stay safer by visiting enemy sectors less often, increase the FOE number. If you want your traders to prefer faster routes with increased risk, decrease the FOE number slightly. You can even make traders prefer visiting 'Allied' sectors more often by decreasing the Friend number.
If you are interested, please see http://forum2.egosoft.com/viewtopic.php?t=104166 for a further explanation of AStar. Please note: the AStar here and there are different, the Station Manager version will not overwrite the commands - it is only for your station traders.
[ 本帖最后由 ygat 于 2008-3-9 11:18 编辑 ] |
|