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/27 07:32] 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 142: Line 142:
 |Quick Aggression| このドロップダウンメニューでは、AI企業が特定のアクションを取るときの積極性を素早く設定することができます。このため、これらの設定をすべて行う手間が省けます。| |Quick Aggression| このドロップダウンメニューでは、AI企業が特定のアクションを取るときの積極性を素早く設定することができます。このため、これらの設定をすべて行う手間が省けます。|
 |Aggression--Sales| これは、AIがどの程度積極的に支店を建設するかということです。これが高ければ高いほど、AIはより良い支店を作ろうとします。| |Aggression--Sales| これは、AIがどの程度積極的に支店を建設するかということです。これが高ければ高いほど、AIはより良い支店を作ろうとします。|
-|Aggression--Build| This aggression controls how aggressive the AI will be when building factories. The higher the aggression, the greater the tendencies to build larger factories.+|Aggression--Build| この積極性はAIが工場を建設する際にどの程度積極的になるかをコントロールします。これが高いほど、より大きな工場を建設する傾向が強くなります
-|Aggression--Marketing| This aggression controls how much and how often the AI will spend on marketing.+|Aggression--Marketing| この積極性は、AIがマーケティングに費やす金額と頻度をコントロールします。
-|Aggression--Costs| This is how aggressive the AI is at keeping the costs low. The higher the agression, the more likely the AI will be to make cheap things.+|Aggression--Costs| これはAIがコストを低く抑えることにどれだけ積極的であるかを示します。これが高ければ高いほど、AIは安いものを作る可能性が高くなります。
-|Aggression--Quality| This is how aggressive the AI will be at building quality, dependable vehicles. This rating does not effect the type of vehicle the AI selects to build, but how well it designs vehicles and how much "quantity" slider the AI uses at factories.+|Aggression--Quality| これは、AIが高品質で信頼できる車両を建設する際に、どの程度積極的になるかを示しています。この評価はAIが選択する車両のタイプには影響しませんが、AIが車両をどれだけうまく設計するか、AIが工場でどれだけ「品質」スライダーを使用するかには影響します。
-|Aggression--Price| This is how aggressive the AI is at pricing. A higher aggression will mean the AI will reduce margins to be more competitive. A lower price aggression will result in higher margins for the AI company (at the cost of less competitive pricing.) +|Aggression--Price| AIがどの程度積極的に価格設定を行うかを表します。積極性が高いほど、AIは競争力を高めるためにマージンを減らすことになります。価格攻勢が低ければ、AI企業のマージンは高くなります(その代償として競争力は低下します)。 
-|Aggression--Expansion| This is how aggressive the AI company will be at opening new branches and factories. The higher the aggression value, the more branches the AI company will build.+|Aggression--Expansion|  AI企業が新しい支店や工場を開設する際に、どれだけ積極的になるかを示します。これが高いほど、AI企業はより多くの支店を建設します。
-|Aggression--Design| This is how often the AI company designs new vehicles. A higher design aggression value will cause the AI company to create more brand new designs. A lower aggression level will have the AI company use the same designs longer.+|Aggression--Design| AI企業が新車をデザインする頻度です。この値が高いほど、AI企業はより多くの新しいデザインを生み出します。この値が低いほど、AI企業は同じデザインを長く使用するようになります。
-|Clustering| This is how close the AI builds new branches and factories from one another. The higher the value, the closer the branches will be. The lower the value, and the more likely the AI will seek out far away cities to create their branches.+|Clustering| AIが新しい支店や工場を建設する際の、お互いの距離の近さです。値が高ければ高いほど、支社は近くなります。値が低いほど、AIは支店を作るために遠くの都市を探す可能性が高くなります。
-|Design Export| This adjust how often an AI company is willing to license out their designs to other companies. Higher values means that they are more likely.+|Design Export| AI企業が他社にデザインをライセンス供与する頻度を調整します。値が高いほど、その可能性が高くなります。
-|Design Import| This adjust how often an AI company is willing to purchase other company's design license for their own use. A higher value means the AI will use other company's designs more often.|+|Design Import| AIが他社のデザインライセンスを購入する頻度を調整します。値が高いほど、AIはより頻繁に他社のデザインを使用します。|
 \\ \\
 \\ \\
-===== Examples =====+===== 使用例 =====
  
-The following contains examples on how to properly set up the AI editor, add and remove AI, and save the AI for use. +以下は、AIエディターの適切な設定方法、AIの追加と削除、AIの保存方法の例です。 
-==== Set Up ====+==== セットアップ ====
  
-=== Filling HQ Cities List === +=== 本社都市リストを作成する === 
-The AI files are specific to to game maps. As such you should load a City.xml file from the map you wish to have the AI run on. To do this, you must click the City Script file selector button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#10 in this picture}}). Next navigate to the folder that contains the city.xml script. (If editing an existing map AI file, or creating a mod of an existing map, check [[modtools:file_locations|File Locations]] for help finding those folders.)+AIファイルはゲームマップに固有のものです。そのため、AIを登場させたいマップのCity.xmlファイルをロードする必要があります。これを行うには、City Scriptファイル選択ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#10}})をクリックする必要があります。次に、city.xmlスクリプトを含むフォルダに移動します。(既存のマップのAIファイルを編集する場合、または既存のマップのMODを作成する場合は、[[modtools:file_locations|File Locations]]をチェックして、これらのフォルダを見つける手助けをしてください)
  
-Selecting a city script should now populate the drop down boxes for HQ ID with cities from the file. This will help up when selecting the HQ of the AI company. 
  
 +シティスクリプトを選択すると、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.+=== 入力ロゴリストとエラーチェッカー ===
  
-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.+AI企業はロゴを持っている必要があります。これらのロゴは256×128の解像度でDDSフォーマットでなければなりません。詳細は[[artwork:ddstextures|DDS Textures]]を参照してください。
  
-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).+ゲームは.zipファイルから画像を読み込みますが、QT4.8の制限のため(そしてzzipを実装したくないため)、Modツールはzipファイルから画像を読み込むことができません。そのため、既存のAIファイルで作業している場合、そのAIロゴをフォルダに展開する必要があります。これらのファイルの場所については、[[[[modtools:file_locations|ファイルの場所]]を参照してください。ゼロからAIファイルを作成する場合は、すべてのロゴを1つのフォルダに保存してください。
  
 +ロゴファイルをドロップダウンにロードし、ゲームがロゴエントリーをエラーチェックするようにするには、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. 
  
-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ファイルを開く ====
  
-==== Adding New AI ====+AI.xmlファイルを開く前に、city script fileを開き、logo folderを選択する必要があります。これは必須ではありませんが、予期せぬエラーの発生を防ぐことができます。
  
-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ファイルを開くには、Open AI Listボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#2}})をクリックします。既存のAI.XMLファイルがある場所に移動します。既存のマップやMODでAIファイルを開きたい場合は、[[[[modtools:file_locations|ファイルの場所]]を参照してください。
  
-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の追加 ====
  
-==== Editing Existing AI ====+AI企業をリストに追加するには、左側のすべてのデータを入力し、「Add AI」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックするだけです。
  
-Select the AI from the list you wish to editEdit the data on the left. Then click the "Add AI" button ({{ :modtools:aieditor_2_editorv2.png?linkonly |#14 in this picture}}).+AI企業はユニークなID(これは自動的に処理されるはずです)、26文字以下のユニークな名前、マップのCity.xmlファイル内の既存の都市にあるHQ ID、および.ddsロゴファイルを持っていなければなりません。これらの条件を満たさない場合、インゲームエラーが発生し、クラッシュする可能性があります。
  
-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の編集 ====
  
-==== Removing AI ====+リストから編集したいAIを選択します。左側のデータを編集します。次に、「Add AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#14}})をクリックします。
  
-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企業に新しいロゴを追加する場合は、必ずddsファイルをzipファイルに含めてください。詳しくは[[modtools:aieditor#Saving AI File| 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. 
  
-==== Saving AI File ====+==== 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企業を選択し、「Remove AI 」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#15}})をクリックするだけです。
  
-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を削除すると、削除された企業より上のすべてのAI IDが自動的に再ID化されます。削除された企業が所有する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ファイルの保存 ====
  
-After you have saved your AI.xml fileBefore 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.+AI.xmlファイルを保存するには、「Save AI List」ボタンをクリックします。AI.xmlファイルを保存するには、「Save AI List」ボタン({{ :modtools:aieditor_2_editorv2.png?linkonly |この画像の#3}})をクリックします。ファイルを保存したい場所に移動し、saveをクリックします。
  
-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で使用するために保存する場合(またはマップやMODに新しいファイルを追加する場合)、保存する場所は重要ではありません。[[modtools:make_a_map_editor|マップデータツール]]や[[modtools:make_a_mod_editor|MODデータツール]]が自動的にスクリプトファイルを必要な場所に配置してくれるからです。
  
 +ただし、既存のマップやMODのAI.xmlファイルを編集する場合は、古いAIファイルの上に新しいAIファイルを保存する必要があります。
  
-==== Testing New Logos In Game ====+AI.xmlファイルを保存した後。ゲーム内でAIを使用する前に、すべてのロゴを1つの.zipファイルに圧縮する必要があります。既存のマップやMODを編集する場合は、すでに作成されているzipファイルを使用する必要があります。これらのzipファイルの場所については[[modtools:file_locations|ファイルの場所]]を参照してください。新しいマップを作成する場合は、すべてのAIロゴに1つの.zipファイルを使用してください。MODを作成する場合、他の追加MODコンテンツと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. +zipファイルの中にフォルダがあってはいけません。サブフォルダを作らず、zipファイルに直接ファイルを入れてください。ゲームはzipファイル内のフォルダ内を読みません。
  
-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.1698406347.txt.gz · Last modified: 2023/10/27 07:32 by nichirinmotor