User Tools

Site Tools


japanesemanual:ja_aieditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
japanesemanual:ja_aieditor [2023/11/03 23:22] nichirinmotorjapanesemanual:ja_aieditor [2023/11/14 05:41] (current) nichirinmotor
Line 29: Line 29:
   - [[modtools:make_a_map_editor|マップデータエディター]]を開きます。   - [[modtools:make_a_map_editor|マップデータエディター]]を開きます。
   - [[modtools:turneventseditor|ターンイベントエディター]]を開きます。   - [[modtools:turneventseditor|ターンイベントエディター]]を開きます。
-  - [[modtools:cityeditor|都市エディター]]を開きます。+  - [[modtools:cityeditor|シティエディター]]を開きます。
   - [[modtools:aieditor#AI Variables|AI企業変数。]]AI企業変数。スクロールの下にある 「Add」ボタンは、リストに新しいAI企業を追加します。   - [[modtools:aieditor#AI Variables|AI企業変数。]]AI企業変数。スクロールの下にある 「Add」ボタンは、リストに新しいAI企業を追加します。
   - 現在のAIファイルを開きます。(保存されている場合は最後の保存名)。   - 現在のAIファイルを開きます。(保存されている場合は最後の保存名)。
Line 52: Line 52:
 最後に、AI企業の変数の1つに本社ID(hqID)があります。hqIDの値は//City.xml//ファイルのcityIDの値に対応します。そのため、AIファイルは同じCityIDを共有するマップでのみ動作します。例えば、//Classic Map//のcityID 5はロンドンだが、//Base City Map//ではサンディエゴです。つまり、//Classic Map//のAIファイルを//Base City Map//で使用した場合、ロンドンを拠点とする企業はすべてサンディエゴを拠点とすることになる...。このルールの例外は、既存の//City.xml//ファイルの最後に新しい都市を追加する場合だけだ。たとえば、206の都市がある場合、新しい都市のIDが207である限り、207番目の都市を追加して同じAIファイルを使用することができます。 最後に、AI企業の変数の1つに本社ID(hqID)があります。hqIDの値は//City.xml//ファイルのcityIDの値に対応します。そのため、AIファイルは同じCityIDを共有するマップでのみ動作します。例えば、//Classic Map//のcityID 5はロンドンだが、//Base City Map//ではサンディエゴです。つまり、//Classic Map//のAIファイルを//Base City Map//で使用した場合、ロンドンを拠点とする企業はすべてサンディエゴを拠点とすることになる...。このルールの例外は、既存の//City.xml//ファイルの最後に新しい都市を追加する場合だけだ。たとえば、206の都市がある場合、新しい都市のIDが207である限り、207番目の都市を追加して同じAIファイルを使用することができます。
  
-また、[[modtools:cityeditor| 都市エディター]]には、AI hqIDの編集を代行する高度なオプションもあります。他の都市IDの間に新しい都市をCity.xmlファイルに追加すると、自動的にhqIDが調整されます。ただし、この場合、新しいAI.xmlファイルが作成されます。+また、[[modtools:cityeditor| シティエディター]]には、AI hqIDの編集を代行する高度なオプションもあります。他のシティIDの間に新しい都市をCity.xmlファイルに追加すると、自動的にhqIDが調整されます。ただし、この場合、新しいAI.xmlファイルが作成されます。
  
  
Line 163: Line 163:
  
  
-都市スクリプトを選択すると、HQ IDのドロップダウンボックスにそのファイルの都市が入力されます。これはAI企業の本社を選択する際に役立ちます。+シティスクリプトを選択すると、HQ IDのドロップダウンボックスにそのファイルの都市が入力されます。これはAI企業の本社を選択する際に役立ちます。
  
  
Line 183: Line 183:
 AIファイルを開くには、Open AI Listボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#2}})をクリックします。既存のAI.XMLファイルがある場所に移動します。既存のマップやMODでAIファイルを開きたい場合は、[[[[modtools:file_locations|ファイルの場所]]を参照してください。 AIファイルを開くには、Open AI Listボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#2}})をクリックします。既存のAI.XMLファイルがある場所に移動します。既存のマップやMODでAIファイルを開きたい場合は、[[[[modtools:file_locations|ファイルの場所]]を参照してください。
  
-==== Adding New AI ====+==== 新しいAIの追加 ====
  
-To add an AI company to the list, simply fill out all the data on the left hand side and click the "Add AI" button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#14 in this picture}}).+AI企業をリストに追加するには、左側のすべてのデータを入力し、「Add AI」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックするだけです。
  
-AI Companies must have unique IDs (which should automatically be taken care of), unique names under 26 characters long, a HQ ID in an existing city within the City.xml files for a map, and a .dds logo file. Any failure to meet those conditions will result in ingame errors and possibly crashing, +AI企業はユニークなID(これは自動的に処理されるはずです)、26文字以下のユニークな名前、マップのCity.xmlファイル内の既存の都市にあるHQ ID、および.ddsロゴファイルを持っていなければなりません。これらの条件を満たさない場合、インゲームエラーが発生し、クラッシュする可能性があります。
  
-==== Editing Existing AI ====+==== 既存のAIの編集 ====
  
-Select the AI from the list you wish to edit. Edit the data on the left. Then click the "Add AI" button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#14 in this picture}}).+リストから編集したいAIを選択します。左側のデータを編集します。次に、「Add AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックします。
  
-If you're adding new logos to an AI company, please be sure you include the dds files in a zip file. See [[modtools:aieditor#Saving AI File| Saving AI File ]] for more details.+AI企業に新しいロゴを追加する場合は、必ずddsファイルをzipファイルに含めてください。詳しくは[[modtools:aieditor#Saving AI File| AIファイルの保存 ]]をご覧ください。
  
-==== Removing AI ==== 
  
-Simply select the AI company you wish to remove from the list, then click the "Remove AI" button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#15 in this picture}}).+==== AIの削除 ====
  
-Removing an AI in the middle of the list will automatically re-ID all AI ID's above the removed company. Any AI companies owned by the removed company will now be owned by themselves.+リストから削除したいAI企業を選択し、「Remove AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#15}})をクリックするだけです。
  
-==== Saving AI File ====+リストの途中のAIを削除すると、削除された企業より上のすべてのAI IDが自動的に再ID化されます。削除された企業が所有するAI企業は、その企業自身が所有することになります。
  
-Weither you're saving your work for future use, or you're ready to use it in the game, you will save the AI.xml using the same button. To save an AI.xml file, simply click the "Save AI List" button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#3 in this picture}}). Navigate to where you wish to save the the file and hit save.+==== AIファイルの保存 ====
  
-If you're saving for use in a new map or mod (or adding a new file to the map/mod), then the location where you save it will not matter. As the [[modtools:make_a_map_editor|Map Data Tool]] and [[modtools:make_a_mod_editor|Mod Data Tool]], will automatically place the script files where they need to go.+AI.xmlファイルを保存するには、「Save AI List」ボタンをクリックします。AI.xmlファイルを保存するには、「Save AI List」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#3}})をクリックします。ファイルを保存したい場所に移動し、saveをクリックします。
  
-However, if you're editing an existing map or mod AI.xml file, you must save the new AI file over the old one.+新しいマップやMODで使用するために保存する場合(またはマップやMODに新しいファイルを追加する場合)、保存する場所は重要ではありません。[[modtools:make_a_map_editor|マップデータツール]]や[[modtools:make_a_mod_editor|MODデータツール]]が自動的にスクリプトファイルを必要な場所に配置してくれるからです。
  
-After you have saved your AI.xml file. Before using using the AI in the game, you will need to compress all of the logos into a single .zip file. If you're editing an existing map or mod, you must use the zip files already created. See [[modtools:file_locations|File Locations]] for details where these zip files are. If creating a new map, use one .zip file for all AI logos. If creating a mod, you will have to share zip files with other additional mod content.+ただし、既存のマップやMODのAI.xmlファイルを編集する場合は、古いAIファイルの上に新しいAIファイルを保存する必要があります。
  
-There must not be any folders inside of the zip fileJust place the files directly into the zip without any sub-foldersThe game will not read anything inside of a folder in a zip file.+AI.xmlファイルを保存した後。ゲーム内でAIを使用する前に、すべてのロゴを1つの.zipファイルに圧縮する必要があります。既存のマップやMODを編集する場合は、すでに作成されているzipファイルを使用する必要があります。これらのzipファイルの場所については[[modtools:file_locations|ファイルの場所]]を参照してください。新しいマップを作成する場合は、すべてのAIロゴに1つの.zipファイルを使用してください。MODを作成する場合、他の追加MODコンテンツとzipファイルを共有する必要があります。
  
 +zipファイルの中にフォルダがあってはいけません。サブフォルダを作らず、zipファイルに直接ファイルを入れてください。ゲームはzipファイル内のフォルダ内を読みません。
  
-==== Testing New Logos In Game ==== 
  
-The game has a built in logo tester system. Start a new game with the mod, map, and AI.xml file you wish to test. Click safe in the Office to go to the Financial Room. Hold down ctrl and hit the "L" button. This will pull up a list of all the Logos used in the game.  
  
-If the game crashes, then you are most likely missing a logo or one is miss named. [[modtools:Reading_Log_File|Check your Log Files]] to see which file name is giving you problems.+==== ゲーム内で新しいロゴをテストする ====
  
 +このゲームにはロゴテスターシステムが組み込まれています。テストしたいMOD、マップ、AI.xmlファイルを使って新しいゲームを始めてください。オフィスでセーフをクリックし、ファイナンシャル・ルームに移動する。ctrlを押しながら 「L 」ボタンを押す。ゲーム内で使用されているすべてのロゴのリストが表示されます。
 +
 +ゲームがクラッシュする場合は、ロゴがないか、名前が間違っている可能性が高い。どのファイル名に問題があるか、[[modtools:Reading_Log_File|ログファイルを確認して]]ください。
  
  
 \\ \\
 \\ \\
-===== Troubleshooting ===== +===== トラブルシューティング ===== 
-Common things that can go wrong when editing AI files:+AIファイルを編集する際によくあるトラブルです:
  
-== Game Crashes When Checking Stocks == +== 株価チェック時にゲームがクラッシュする == 
-Most likely you're missing a logo file in your Logos.zip or you miss named the logo filename in the AI editor. (Thus the filename is wrong in your AI.xml file) [[modtools:Reading_Log_File|Check your Log Files]] to see which file is missing and add it to the .zip.+ほとんどの場合、Logos.zipにロゴファイルがないか、AIエディターでロゴファイル名を間違えています。(したがって、AI.xmlファイルのファイル名が間違っています。) [[modtools:Reading_Log_File| ログファイルをチェックして]]、どのファイルが欠けているかを確認し、.zipに追加してください。
  
-Also be sure to test all the logos in the AI.xml file using "Ctrl-L" while you are in the Financial room. This will save you a lot of trouble in the future.+また、AI.xmlファイル内のすべてのロゴを、金融画面にいる間に必ず 「Ctrl-L 」を使ってテストしてください。そうすることで、将来多くのトラブルを避けることができます。
  
-== None of the Changes I Made are in the Game! == +== 私が行った変更がどれもゲームに反映されていない! == 
-Any changes to the AI require you to start a new save game before they take effect. Be sure to start a new game. If you are creating or editing a mod. Make sure you've selected the mod from the external Settings Editor.+AIに変更を加えた場合、それが反映される前に新しいセーブゲームを開始する必要があります。必ず新しいゲームを始めてください。MODを作成または編集している場合。外部設定エディターからMODを選択していることを確認してください。
japanesemanual/ja_aieditor.1699068164.txt.gz · Last modified: 2023/11/03 23:22 by nichirinmotor