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/10/31 06:34] 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 160: Line 160:
  
 === 本社都市リストを作成する === === 本社都市リストを作成する ===
-AIファイルはゲームマップに固有のものです。そのため、AIを登場させたいマップのCity.xmlファイルをロードする必要があります。これを行うには、City Scriptファイル選択ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像では#10}})をクリックする必要があります。次に、city.xmlスクリプトを含むフォルダに移動します。(既存のマップのAIファイルを編集する場合、または既存のマップのMODを作成する場合は、[[modtools:file_locations|File Locations]]をチェックして、これらのフォルダを見つける手助けをしてください)。+AIファイルはゲームマップに固有のものです。そのため、AIを登場させたいマップのCity.xmlファイルをロードする必要があります。これを行うには、City Scriptファイル選択ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像#10}})をクリックする必要があります。次に、city.xmlスクリプトを含むフォルダに移動します。(既存のマップのAIファイルを編集する場合、または既存のマップのMODを作成する場合は、[[modtools:file_locations|File Locations]]をチェックして、これらのフォルダを見つける手助けをしてください)。
  
  
-都市スクリプトを選択すると、HQ IDのドロップダウンボックスにそのファイルの都市が入力されます。これはAI企業の本社を選択する際に役立ちます。+シティスクリプトを選択すると、HQ IDのドロップダウンボックスにそのファイルの都市が入力されます。これはAI企業の本社を選択する際に役立ちます。
  
  
-=== Filling Logos List and Error Checker ===+=== 入力ロゴリストとエラーチェッカー ===
  
-Each AI company should have a logo. These logos must be 256x128 resolution and in DDS format. See [[artwork:ddstextures|DDS Textures]] for more details.+AI企業はロゴを持っている必要があります。これらのロゴは256×128の解像度でDDSフォーマットでなければなりません。詳細は[[artwork:ddstextures|DDS Textures]]を参照してください。
  
-The game reads artwork from .zip files, however due to limitations in QT4.8 (and not wanting to implement zzip) the mod tools can not read artwork from zip files. As such, if you're working on an existing AI file, you should extract its AI logos into a folder. See [[[[modtools:file_locations|File Locations]] for the location of these files. If you're working on an AI file from scratch, you should save all your logos into a single folder.+ゲームは.zipファイルから画像を読み込みますが、QT4.8の制限のため(そしてzzipを実装したくないため)、Modツールはzipファイルから画像を読み込むことができません。そのため、既存のAIファイルで作業している場合、そのAIロゴをフォルダに展開する必要があります。これらのファイルの場所については、[[[[modtools:file_locations|ファイルの場所]]を参照してください。ゼロからAIファイルを作成する場合は、すべてのロゴを1つのフォルダに保存してください。
  
-To load the logo files into the drop down, and to allow the game to error check your logo entries, click the Logo Folder Selector button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#11 in this picture}}). Then navigate to the folder with your logo files and select it. Now the logo drop down will contain the file names of your logos and any manually entered logos will be checked to see if they exist (after you hit Add AI).+ロゴファイルをドロップダウンにロードし、ゲームがロゴエントリーをエラーチェックするようにするには、Logo Folder Selectorボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#11}})をクリックします。次に、ロゴファイルのあるフォルダに移動し、それを選択します。これで、ロゴのドロップダウンにあなたのロゴのファイル名が含まれるようになり、手動で入力したロゴが存在するかどうかがチェックされます(Add AIを押した後)。
  
  
  
-==== Opening AI File ==== 
  
-You should open your city script file and select a logo folder before you open an AI.xml file. While it is not necessary, it will prevent any unexpected errors from occurring.+==== AIファイルを開く ====
  
-To Open an AI file, click on the Open AI List button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#2 in this picture}}). Navigate to where the existing AI.XML file is. If you wish to open an AI file in an existing map or mod please see [[[[modtools:file_locations|File Locations]] for more details on the location of these files.+AI.xmlファイルを開く前に、city script fileを開き、logo folderを選択する必要があります。これは必須ではありませんが、予期せぬエラーの発生を防ぐことができます。
  
-==== Adding New AI ====+AIファイルを開くには、Open AI Listボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#2}})をクリックします。既存のAI.XMLファイルがある場所に移動します。既存のマップやMODでAIファイルを開きたい場合は、[[[[modtools:file_locations|ファイルの場所]]を参照してください。
  
-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の追加 ====
  
-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企業をリストに追加するには、左側のすべてのデータを入力し、「Add AI」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックするだけです。
  
-==== Editing Existing AI ====+AI企業はユニークなID(これは自動的に処理されるはずです)、26文字以下のユニークな名前、マップのCity.xmlファイル内の既存の都市にあるHQ ID、および.ddsロゴファイルを持っていなければなりません。これらの条件を満たさない場合、インゲームエラーが発生し、クラッシュする可能性があります。
  
-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の編集 ====
  
-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を選択します。左側のデータを編集します。次に、「Add AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックします。
  
-==== Removing AI ====+AI企業に新しいロゴを追加する場合は、必ずddsファイルをzipファイルに含めてください。詳しくは[[modtools:aieditor#Saving AI File| 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}}). 
  
-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の削除 ====
  
-==== Saving AI File ====+リストから削除したいAI企業を選択し、「Remove AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#15}})をクリックするだけです。
  
-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を削除すると、削除された企業より上のすべてのAI IDが自動的に再ID化されます。削除された企業が所有する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ファイルの保存 ====
  
-However, if you're editing an existing map or mod AI.xml file, you must save the new AI file over the old one.+AI.xmlファイルを保存するには、「Save AI List」ボタンをクリックします。AI.xmlファイルを保存するには、「Save AI List」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#3}})をクリックします。ファイルを保存したい場所に移動し、saveをクリックします。
  
-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で使用するために保存する場合(またはマップやMODに新しいファイルを追加する場合)、保存する場所は重要ではありません。[[modtools:make_a_map_editor|マップデータツール]]や[[modtools:make_a_mod_editor|MODデータツール]]が自動的にスクリプトファイルを必要な場所に配置してくれるからです。
  
-There must not be any folders inside of the zip file. Just place the files directly into the zip without any sub-folders. The game will not read anything inside of a folder in a zip file.+ただし、既存のマップやMODのAI.xmlファイルを編集する場合は、古いAIファイルの上に新しいAIファイルを保存する必要があります。
  
 +AI.xmlファイルを保存した後。ゲーム内でAIを使用する前に、すべてのロゴを1つの.zipファイルに圧縮する必要があります。既存のマップやMODを編集する場合は、すでに作成されているzipファイルを使用する必要があります。これらのzipファイルの場所については[[modtools:file_locations|ファイルの場所]]を参照してください。新しいマップを作成する場合は、すべてのAIロゴに1つの.zipファイルを使用してください。MODを作成する場合、他の追加MODコンテンツとzipファイルを共有する必要があります。
  
-==== Testing New Logos In Game ====+zipファイルの中にフォルダがあってはいけません。サブフォルダを作らず、zipファイルに直接ファイルを入れてください。ゲームはzipファイル内のフォルダ内を読みません。
  
-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.1698748451.txt.gz · Last modified: 2023/10/31 06:34 by nichirinmotor