hkitalk.net 香港交通資訊網

 找回密碼
 會員申請加入
搜索


(B0)香港巴士車務及車廂設備 (B1)香港巴士廣告消息/廣告車行踪 (B2)香港巴士討論 [熱門] [精華] (B3)巴士攝影作品貼圖區 [熱門] [精華] (B3i)即拍即貼 -手機相&翻拍Mon相 (B4)兩岸三地巴士討論 [精華] (B5)外地巴士討論 [精華]

Advertisement


(B6)旅遊巴士及過境巴士 [精華] (B7)巴士特別所見 (B11)巴士精華區 (B22)巴士迷吹水區   (V)私家車,商用車,政府及特種車輛 [精華]
(A6)相片及短片分享/攝影技術 (A10)香港地方討論 [精華] (A11)消費著數及飲食資訊 (A16)建築物機電裝置及設備 (A19)問路專區 (N)其他討論題目  
(F1)交通路線建議 (C2)航空 [精華] (C3)海上交通及船隻 [精華] (D1)公共交通有關商品 [精華]   (Y)hkitalk.net會員福利部 (Z)站務資源中心
(R1)香港鐵路 [精華] (R2)香港電車 [精華] (R3)港外鐵路 [精華]   (O1)omsi討論區 (O2)omsi下載區 (O3)omsi教學及求助區
(M1)小型巴士綜合討論 (M2)小型巴士多媒體分享區 (M3)香港小型巴士字軌表        
 

Advertisement

 

hkitalk.net 香港交通資訊網»論壇 舊文庫 生活資訊舊文庫 電腦及電子遊戲 【MM2 教學】將AI對手換成addon車輛
開啟左側

【MM2 教學】將AI對手換成addon車輛

[複製鏈接]
Luca 發表於 2009-4-4 14:35 | 顯示全部樓層 |閱讀模式

                                    Advertisement



由於懶惰,所以不費時翻譯我貼於mm2c討論區之文章了,希望各位用得着



For those who are tired of racing with the MM2 default cars, here's a nice and easy way to change the default AIs into any cars you want.

Extracting Files
First, extract the following files from mm2core.ar/race/london & /sf using DeAR2 or anything similar.

circuit*.aimap_p
race*.aimap_p
mmcircuitdata.csv
mmracedata.csv

Note:
>>There are 10 circuit races in London and SF, so extract circuit0.aimap_p to circuit9.aimap_p
>>Likewise, there are 12 checkpoint races for both cities, so extract from race0.aimap_p to race11.aimap_p
>>For amateur player profiles, extract circuit*.aimap and race*.aimap instead

Opening the aimap
As a start, let's use London's first circuit race (name: Mini Race) as an example. Open up circuit0.aimap_p. Under the heading [Opponent] is a list of AI opponent cars that will appear in the race. The default car used here is the New Mini Cooper (basename: vpcoop2k).

Changing Default AIs into Other Cars
Turning the Mini into something else is simple. Just check the basename for the cars you'd like to see in the race with WinRAR, and then replace vpcoop2k with their basenames.

Here's an example:
[Opponent]
7
dbr9 circuit0-p-0.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
dbr9 circuit0-p-1.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
sk circuit0-p-2.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
sk circuit0-p-3.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
mcc circuit0-p-4.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
rich_mclarenlm circuit0-p-5.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
mns_c6r circuit0-p-6.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000

Now, the default Minis' are changed to lzr's DBR9, Hummfred's Skyline BNR34, MM Team Germany's C-Klasse DTM, Rich's McLaren F1 LM, and MNS's Corvette C6R.






Race Conditions
The default race conditions such as weather, traffic density, time of day, no. of laps etc, are controlled by the files mmcircuitdata.csv and mmracedata.csv where the former is for circuit races and the latter is for checkpoint races. These files can be opened and editted with MS Excel or notepad.

If you use Excel, Column B to K are conditions for amateur profiles and L to U are for professional profiles. Here is an illustration of codes for Time of Day and Weather in the csv files:

Time of Day
0 = morning
1 = noon
2 = evening
3 = night

Weather
0 = clear
1 = cloudy
2 = foggy
3 = raining

Final Step - Putting the Mod to MM2
Finally, when you're done with editing, compress the race folder and name it !race_mod.ar or anything u like and put it back to where mm2 is installed. Just make sure it is located in front of mm2core.ar for the mod to work.


Enjoy~

Prepared by Luca
2009-04-04

[ 本帖最後由 Luca 於 2009-4-6 00:53 編輯 ]

評分

參與人數 1aPower +2 收起 理由
3asv6 + 2 有用資料.

查看全部評分

你滷味唔食要食叉燒
Swedenscania 發表於 2009-4-5 20:21 | 顯示全部樓層
愚問是否解壓左 以下檔案再 改名,然後將成個 race folder 壓縮成 !race_mod.ar就得??因為我LOAD一半就彈GAME
circuit*.aimap_p
circuit*.aimap
race*.aimap_p
race*.aimap
mmcircuitdata.csv
mmracedata.csv
 樓主| Luca 發表於 2009-4-6 00:52 | 顯示全部樓層
原帖由 Swedenscania 於 2009-4-5 20:21 發表
愚問是否解壓左 以下檔案再 改名,然後將成個 race folder 壓縮成 !race_mod.ar就得??因為我LOAD一半就彈GAME
circuit*.aimap_p
circuit*.aimap
race*.aimap_p
race*.aimap
mmcircuitdata.csv
mmracedata.csv ...


毋須將檔案改名,只須用原本檔案名字。但有時當中包含之車輛POLY太多,會導致 Heap Overrun 而彈Game。建議先用單一車輛嘗試(例如 AEC Routemaster - basename: vpddbus),確定能入Game後再換其他車試試。
你滷味唔食要食叉燒
Swedenscania 發表於 2009-4-6 01:14 | 顯示全部樓層

                                    Advertisement



原帖由 Luca 於 2009-4-6 00:52 發表


毋須將檔案改名,只須用原本檔案名字。但有時當中包含之車輛POLY太多,會導致 Heap Overrun 而彈Game。建議先用單一車輛嘗試(例如 AEC Routemaster - basename: vpddbus),確定能入Game後再換其他車試試。 ...


DELETE...

[ 本帖最後由 Swedenscania 於 2009-4-7 17:32 編輯 ]
 樓主| Luca 發表於 2009-4-6 13:19 | 顯示全部樓層
用deAR2解壓並取出所需檔案後,必須將整個 Race folder 移到C:\ (或其他HD)。當完成修改aimap後再壓縮為一個 ar 檔。
你滷味唔食要食叉燒
JU2541 發表於 2009-4-7 14:06 | 顯示全部樓層
其實除左 Export 部巴士做 traffic 既 pkg 之外....用呢個類似方法可唔可以轉做 traffic ?
人一九,腦便殘
 樓主| Luca 發表於 2009-4-7 17:21 | 顯示全部樓層

                                    Advertisement



Player car 之 pkg 與 traffic 之 pkg 並不相同。
Player car 之 pkg 應該不能改作 traffic 之 pkg 。

[ 本帖最後由 Luca 於 2009-4-7 21:47 編輯 ]
你滷味唔食要食叉燒
Swedenscania 發表於 2009-4-7 17:37 | 顯示全部樓層
終於解決問題...原來要改埋依2個檔,及要用車真名檔改(即係打開個AR檔內,去Geometry睇架車既真名)
circuit*.aimap
race*.aimap

終於實現夢中那80年的2軸代九巴比賽....
 樓主| Luca 發表於 2009-4-7 21:40 | 顯示全部樓層
原帖由 Swedenscania 於 2009-4-7 17:37 發表
終於解決問題...原來要改埋依2個檔,及要用車真名檔改(即係打開個AR檔內,去Geometry睇架車既真名)
circuit*.aimap
race*.aimap

終於實現夢中那80年的2軸代九巴比賽....
http://i73.photobucket.com/albums/i203/Sweden ...


Congrats !! You've done it ~

In fact that is the basename I was talking about. Now you can try out different combinations and haf fun!

你滷味唔食要食叉燒
HX7067 發表於 2009-4-8 18:19 | 顯示全部樓層

                                    Advertisement



原帖由 Swedenscania 於 2009-4-7 17:37 發表
終於解決問題...原來要改埋依2個檔,及要用車真名檔改(即係打開個AR檔內,去Geometry睇架車既真名)
circuit*.aimap
race*.aimap

終於實現夢中那80年的2軸代九巴比賽....
http://i73.photobucket.com/albums/i203/Sweden ...

你有沒有較3D嗎??
您需要登錄後才可以回帖 登錄 | 會員申請加入

本版積分規則

Advertisement

Advertisement

Advertisement

Advertisement

Advertisement

站規|清理本站Cookies|hkitalk.net 香港交通資訊網

GMT+8, 2025-6-15 21:50

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回復 返回頂部 返回列表