
Designed and developed to make believable scenes without the need to touch a single line of code.This package will work with all render pipelines however the demo scenes are only setup with URP (Can apply packages within the root to change pipeline setup). If you have any questions on verision of Unity feel free to reach out and we will do our best to answer or you can checkout the wiki page about backward compatibility CIVIL-AI-SYSTEM is created to empower anyone to create scenes which feel lived in and alive. With the powerful suite of tooling provided you can bring your imagination to reality without diving into any code let alone complex code or graphs.Features- Easy Setup (In tool Getting Started checklist helper, population system)- Fast iteration and design- Quiet Failing Designed (Errors logged but the system keeps running)- Performance Optimised (100s of agents)- Detailed Animation Controller- Work Behaviour System- Need Behaviour System- Deep Item System (interaction can cause designed side effect)- Layered Customisation (Create different feeling regions, Animations, Characters)- Ownership System & Visual Item System (Agents have a concept of what is theirs, agents can carry, store, and interact with items in many ways)Documentation | DiscordBuild Your Behaviours iterativelyThe many tools provided in CIVIL-AI-SYSTEM breakdown the many aspects of making belivable scenes into manageable, understandable, and controllable sections.- Create work behaviours with ease by using real life comparisons not some abstract system.- Define need behaviours which add extra depth and flavour to your agents.- Add animations with the built in animation controller, giving visual cues and details- Provide more than one way to complete tasks, giving more robustness- And so much more!Easy Scene SetupBuilding a city takes a long time, populating it with life even longer. Not with CIVIL-AI-SYSTEM, denote your houses, workplaces, and items. Add your population region in with your pool of characters and the system takes care of the rest! No need to place every single citizen by hand. However, if you do want to (place all or a few) you can (look into bespoke agents if interested).Evolving Product and WikiTools can always be improved and streamlined. Experience updates which provide meaningful additions at no extra cost and are driven by user feedback and experience. Substantial updates have included; reworking of item systems, the need feature and many, many more. Checkout our roadmap. Every addition has also been backward compatible meaning no fuss in upgrading, giving you peace of mind.World Class SupportNever alone when using CIVIL-AI-SYSTEM, any problems feel free to reach out on discord and it will get sorted and advice will be given if wanted. The wiki also provides guides, interfaces and a host of other useful features to help you get the most out of this tool.Endless Integrations & ExtensionsAs it been developed with best practices it is easy to extend and expand at ease! Most systems have interfaces and separated concerns meaning easy switching out of parts. Gives you the user the freedom to extend and change as you see fit with minimum merge conflicts between versions. There are also supported integrations out of the box.Supported Integrations (No Code changes)- A* Pathfinding Project Pro/Free- Agents NavigationEasy to Use With (Small amount of coding needed)- RPG Builder- Emerald AI- Behavior Designer - Behavior Trees for EveryoneFAQ1.What AI implantation is this?CIVIL-AI-SYSTEM is a unique spin a few different pre-existing AI solutions used in AAA games. The main focus is empowering anyone to make day-to-day AI behaviours which believably bring your worlds and scenes to life quickly.2. Is this just GOAP?No, it is not! This is asked a lot, this system does share some similarities with it and does borrow some ideas but this is not true GOAP. This has its own ideas and processes along with other tooling to help you develop your scenes quickly (think auto population for example)3. Does this cover combat?CIVIL-AI-SYSTEM does not cover any form of combat and is not planned to, the idea of this product is to allow you to give your characters depth easily and effortlessly in the scene. There are a ton of methods and products that do exist to cover combat on the Asset Store which this can be implemented with and should be no hassle due to the system being designed in a modular way. With a built in pause feature and a single point of entry for the logic of CIVIL-AI-SYSTEM to be called you can easily enable and disable it at runtime with ease.4. Can I have custom animations?Yes, it fully supports actions having their own animations and more! How it works is each lowest level condition can be provided a reference to an Animation Clip and this will be played for as long as the action is being performed. This is done by the Animation Controller having a ‘Dynamic’ field which is overwritten. There are also a set of core animations which can be changed on the fly based on requirements.5. What Support can I expect while using the product?There is an active discord and email support for this product, I’m UK based (GMT) so there might be some delays in getting back to you depending on time. Most problems and questions are responded to within a few hours.6. Is this package finished or can I except updates?This product is in active development and is planned to offer more than what is currently for no extra fee. No code breaking changes are planned and if are needed will be documented on how to upgrade and retain as much information as possible and will only be done as a last resort. With updates there is a Release Candidate Process which involves manual testing as well as automated testing to provide the best quality possible. There is also a roadmap of the upcoming features.7. Can I have Agents pick up items?Yes, you can! There is already an item system included, items can be set to be in use, can be picked up (placed on the Agent on a chosen transform), spawned in, replaced and interacting with one item can enable another with more to come.8.Can I easily add/change other systems to this?This is a definite yes! Tons of people have already used this tool with many different systems, from navigation to other AI solutions! Everything should be easy to connect up as CIVIL-AI-SYSTEM is designed with modern principles such as single responsibility meaning systems are owned by one system making the change simple!**PLEASE NOTE - MUST READ BEFORE BUYING**This package does not include any animations, models or textures/materials except for some basic Unity Starter Projects ones, these are used under the Unity Companion License. It does include an animation controller and is setup ready for animations to be plugged in. Assets which are not included but used in marketing are for demonstrational purposes and used to give a sense of how the tool works.PerformanceThis is a vitailly important aspect of this tool and has plans to be improved in the future. Using the Unity profile tools running the 'Demo_Main' scene from 'POLYGON Pirates - Low Poly 3D Art by Synty' in 4K and spawning in 40 agents all starting work at the same time the CPU main thread usage peaked at 12% usage with a low of 9%. With the Use of the 'Region' System there is a easy way to manage groups of agents allowing the ability to enable and disable sections of the scene to improve performance so more agents could be displayed with limited impact on performance if they are spread out throughout your scene.In frame rate terms it was an average 75fps.Testing within Performance test scenes (these are included in the project). On my PC with test conditions kept as close as possible through multiple runs came out with the followingPerformance Test Scene (This is 300 agents spread out with items being spawned and deleted) - Avergage 139.7 FPSPerformance Test Scene II (This is 52 agents densely populated with items being spawned and deleted) - Avergage 160.9 FPS.Please keep in mind these could be different on different devices.If you do come across performance issue, please don't hesitant to reach out and we will endeavour to help you out.AnimationsThese can't be added to the package due to licensing rules but Mixamo provides a range of free use animations (for commercial and personal use) which works great with this tool.Mixamo (recommanded steps can be found on the wiki)SetupSetting up the system is easily done as shown in this video or shown in the steps below.Import CIVIL-AI-SYSTEMOpen the menu CIVIL-AI-SYSTEM (Along the top) -> Help -> Getting StartedFrom here in a new scene you will be provided with a check list which you can follow with ease and updates as you go
NPCS の複雑な動作を可能な限りスムーズにし、迅速な反復を可能にするために作成されました。 簡単で奥深いシステムにより、コーディングを必要とせずに誰でも複雑な動作を開発できます
説明
概要
CIVIL-AI-SYSTEM は、AI エンティティの複雑な動作の追加を可能な限りスムーズに行い、迅速な反復を可能にして開発速度を向上させるように設計されたツールです。 このシステムは RPG や都市建設の設定用に設計されましたが、他の多くの設定でも使用できます。 学びやすく奥深いジョブ システムにより、どのユーザーでも複雑な動作を迅速に開発し、シーンに命を吹き込むことができます。
実生活における役割を細分化するように AI フローを設計する
現実世界と同様の用語を使用して NPC フローを作成します。 アクションを技術的な設定に変換する従来の有限ステート マシンとは異なり、CIVIL-AI-SYSTEM セクションは、複雑な動作の構築に使用される理解しやすい論理グループにすでに分割されているため、頭の痛い問題や混乱が軽減されます。 開発者は、これを実現するためのシステムのセットアップではなく、動作の構築に重点を置くことができます。
コーディング方法を知る必要はありません
製品をプロジェクトに追加するだけで、組み込みのメニューとフローチャート エディターを使用して動作を設計および作成できます。 複雑な動作を作成するために必要なすべてをドラッグ アンド ドロップで実現できます。 問題がある場合は、Discord に連絡するか、Wiki でヘルプを確認してください。
ゲームの世界に命を吹き込む
奥行きのあるレイヤーを備えたセットアップが簡単なシステムを使用して、動きとダイナミズムをすばやく簡単に世界にもたらします。 複雑でにぎやかな港や山中の隠者を作成する場合でも、このシステムはあらゆるマナーをカバーできます。 実際の人数を計算する必要はありません。CIVIL-AI-SYSTEM は、住む場所と存在する仕事に基づいて世界に人口を配置します。つまり、世界空間に一致する人の数を意味します。
速度と反復
NPC の固有の動作を手書きする煩わしさから解放されます。 組み込みのノード エディターを使用すると、動作をすばやく計画して設計し、エディターで簡単にリアルタイムで動作を確認できます。
アクションの深さ
このシステムは、商店主、取引洞窟、建設者など、民間の環境での行動を作成する際に、できるだけ多くのケースをカバーするように設計されています。 すべてはこの単純なシステムで行うことができます。
追加機能を念頭に置いて設計
公式と個人の両方の立場から製品を成長させるという考えで開発されました。 このシステムでは、システムのエッジを簡単に定義できるため、各コンポーネントが何を担当し、よりオーダーメイドの動作をどのように追加するかを簡単に理解できます。 Wiki には、システムのセクションを切り替えるためのステップバイステップのガイドも追加されています。
堅牢性とサポート
プロジェクトの開発に使いやすさと信頼性を提供することを主な目的として、最新の手法で実装されています。 自動テストにより、機能が動作し、各リリースで常に意図したとおりに動作することを確認します。 プロフェッショナル サポートと機能リクエスト チャネルにより、今後の変更や取り組んでいるサポートの問題へのアクセスと可視化が可能になります。 ログを使用した正常な失敗も実装されており、何か問題が発生した場合、どの NPC が問題を抱えているか、どのセクションが失敗したかを参照できるようになります。
考えられる使用例:
RPG ゲームの世界
シミュレーション
都市建設者
特徴
簡単セットアップ(自動セットアップボタン)
奥深いデザイナーをすぐに理解できる
日々のタスクの迅速な反復と設計
ジョブと地域に基づいて NPC をスタイル設定
リージョンを使用して NPC をグループ化することでパフォーマンスを向上させる
Unity 自体内の開発者ツール全体にリンクされたドキュメント
基本的なアニメーション システムのセットアップと準備完了
交通機関の利用を可能にする架台システム付属(待ち対応)
静かに失敗する設計 (エラーはコンソールに記録されますが、実行は継続されます)
一時停止機能により対話システムを簡単に追加可能
さまざまなモードを備えた強力なイテレータ システムによるフロー システムの詳細な制御
重要性とその実現方法を定義できるニーズシステム
より複雑な動作を容易にする強力な所有権システム
動作をより細かく制御できる重み付けシステム
より信頼できる、再利用可能な空間を可能にするルームシステム
条件付き状況を可能にするアイテム反復システム
ボタンをクリックするだけで、エディターにワールドが自動的に事前設定されます。
サポート
更新されサポートされた Wiki
監視対象のサポートおよび機能リクエスト チャネル
ニュース、情報、ヘルプの Discord チャンネル
今後さらに追加されるシーンの例
多数のトレーニングビデオ
シーンのセットアップの自動化
独自のシステム (ナビゲーション、インタラクションなど) を変更するための文書化された方法
自動化されたテスト範囲により、アップデートによる安心感が得られます
フィードバックは社内で収集され、機能の形成に役立てられます
よくある質問
1.これはどのようなAI移植ですか?
CIVIL-AI-SYSTEM は、AAA ゲームで使用されるいくつかの異なる既存の AI ソリューションを独自に組み合わせたものです。 主な焦点は、誰もが日常の AI 動作を実行できるようにすることで、確実に世界やシーンを迅速に実現できるようにすることです。
2. これは単なる GOAP ですか?
いいえそうではありません! このような意見はよく聞きますが、このシステムにはいくつかの類似点があり、いくつかのアイデアを借用していますが、これは真の GOAP ではありません。 これには、世界を迅速に開発するのに役立つ他のツールとともに、独自のアイデアとプロセスがあります (たとえば、自動人口を考えてください)。
3. これは戦闘をカバーしますか?
CIVIL-AI-SYSTEM はいかなる形式の戦闘もカバーしていませんし、その予定もありませんが、この製品のアイデアは、キャラクターに世界の中で簡単かつ楽に深みを与えられるようにすることです。 アセット ストアには、戦闘をカバーするための方法や製品が数多く存在しており、これらを組み込むことができ、システムはモジュール式に設計されているため、面倒なことはありません。 組み込みの一時停止機能と、CIVIL-AI-SYSTEM のロジックを呼び出すための単一のエントリ ポイントを使用すると、実行時に簡単に有効または無効にすることができます。
4. カスタムアニメーションを使用できますか?
はい、独自のアニメーションを持つアクションを完全にサポートしています。 どのように機能するかというと、各最低レベルの条件にアニメーション クリップへの参照を提供でき、これはアクションが実行されている間再生されます。 これは、上書きされる「Dynamic」フィールドを持つアニメーション コントローラーによって行われます。
5. 製品の使用中にどのようなサポートが受けられますか?
この製品については、Discord と電子メールによるサポートがアクティブに行われています。私は英国に拠点を置いている (GMT) ため、時間によってはご連絡が遅れる場合があります。 ほとんどの問題や質問には数時間以内に回答されます。
6. このパッケージは完成していますか? それともアップデートをしなくても大丈夫ですか?
この製品は現在開発中であり、追加料金なしで現在以上のものを提供する予定です。 コードを破壊する変更は計画されておらず、必要な場合はアップグレード方法と可能な限り多くの情報を保持する方法が文書化され、最後の手段としてのみ行われます。 アップデートには、可能な限り最高の品質を提供するための手動テストと自動テストを含むリリース候補プロセスがあります。
7. NPCにアイテムを拾わせることはできますか?
はい、できます! すでにアイテム システムが組み込まれており、アイテムを使用するように設定したり、拾ったり (選択したトランスフォーム上の NPC に配置したり)、スポーンしたり、交換したりできます。また、1 つのアイテムと対話することで、別のアイテムをさらに有効にすることができます。
8.これに他のシステムを簡単に追加/変更できますか?
これは間違いなく「はい」です! すでに多くの人が、ナビゲーションから他の AI ソリューションに至るまで、さまざまなシステムでこのツールを使用しています。 CIVIL-AI-SYSTEM は、システムが 1 つのシステムによって所有されることを意味する単一責任などの最新の原則に基づいて設計されているため、すべての接続が簡単であるため、変更が簡単になります。
**ご注意ください - ご購入前にお読みください**
このパッケージには、いくつかの基本的な Unity スターター プロジェクトのものを除き、アニメーション、モデル、テクスチャ/マテリアルは含まれていません。これらは Unity Companion License (https://unity3d.com/legal/licenses/Unity_Companion_License) に基づいて使用されます。 これにはアニメーション コントローラーが含まれており、アニメーションをプラグインできるようにセットアップされています。含まれていませんがマーケティングで使用される 3D モデルはデモンストレーションの目的であり、ツールがどのように機能するかを理解するために使用されます。 これらのパッケージは、「POLYGON Pirates - Low Poly 3D Art by Synty」と「Victorian Interior by Synty」です。
MetalMan3D' ですが、これらはこのパッケージには含まれていませんが、The Bard's Tree が所有するアセットはアセット ストアを通じて提供されます。
パイプラインに関しては、このパッケージはすべてのパイプラインで動作しますが、デモ シーンは URP 用にのみセットアップされます。
技術的な詳細
パフォーマンス
これはこのツールの非常に重要な側面であり、将来的には改善される予定です。 Unity プロファイル ツールを使用して、「POLYGON パイレーツ - Synty によるローポリ 3D アート」の「Demo_Main」シーンを 4K で実行し、40 人の NPC キャラクターをスポーンすると、すべての作業が開始され、同時に CPU メイン スレッドの使用率が 12% でピークに達しました。 9%という低さです。 「リージョン」システムを使用すると、NPC のグループを管理する簡単な方法があり、シーンのセクションを有効または無効にしてパフォーマンスを向上させることができるため、NPC が全体に分散している場合でも、パフォーマンスへの影響を限定しながら、より多くの NPC を表示できます。 あなたのシーン。
フレームレートに関しては、平均 75fps でした。
パフォーマンスの問題が発生した場合は、ためらわずにご連絡ください。全力でサポートさせていただきます。
アニメーション
これらはライセンス規則のためパッケージに追加できませんが、Mixamo はこのツールとうまく連携するさまざまな無料使用アニメーション (商用および個人使用) を提供しています。
Mixamo (必ずアニメーションをループし、リグ アニメーション タイプを「ヒューマノイド」に設定し、ダウンロードするときにアニメーションを含めてください)
設定
システムのセットアップは、このビデオまたは以下の手順に示されているように簡単に行うことができます。
CIVIL-AI-SYSTEMのインポート
AI マネージャーを開きます (ウィンドウ -> AI -> Civil AI System -> 概要マネージャー)
「実行可能なアクション」内に「アセットを作成してシーンに追加」があるので、シーンを開いた状態でこれをクリックします
次へ 「Local Civil Manager」の作成はページのさらに下で行います
プレハブをシーンに導入し、ハイライト表示してから、マネージャー内で「NPC テンプレートに追加」をクリックして、NPC を作成します。
新しい NPC プレハブを保存し、シーンから削除します。
ローカルの Civil Manager を選択し、それをキャラクター プールに追加します。
すべてのセットアップが完了したら、フローチャートを使用して AI を作成し、シーンを作成するだけです。