Ben bir kodlama yapay zekası kullanıyorum, bu promptdaki yapay zekanın anlaması için…
- User
Ben bir kodlama yapay zekası kullanıyorum, bu promptdaki yapay zekanın anlaması için gereksiz bilgileri at.
"Creating an Advanced Unreal Engine AI System for sale in Marketplace
“Create a complete, modular, and advanced AI system in Unreal Engine. The system should integrate dynamic behaviors, perception systems, navigation, state machines, combat logic, and multiplayer compatibility. Follow these detailed instructions:”
Phase 1: Planning & Design
AI System Scope & Architecture: Design AI for multiple use cases: patrolling NPCs, combat enemies, and interactive companions.
Implement a hybrid behavior system combining Behavior Trees and State Machines.
Include a Blackboard for shared memory between behaviors and controllers.
Phase 2: Core Systems Implementation
AI Controller & Blackboard Setup: Create a custom AI Controller class using Blueprints and C++.
Attach a Blackboard Asset to store variables like player location, health, or objectives.
Link the AI Controller with the corresponding AI Behavior Tree.
Behavior Tree Development: Build the primary Behavior Tree Asset for the AI’s logic flow.
Add tasks for Patrolling, Chasing, Attacking, and Idle States.
Include Decorators to check conditions (e.g., “Is Player in Range?”).
Use Services to update key variables (e.g., target distance or health) dynamically.
Phase 3: Navigation System Configuration
NavMesh Setup for Pathfinding: Place a NavMesh Bounds Volume covering the level.
Add NavLink Proxies for custom actions like jumping over gaps or climbing.
Configure the AI to recognize dynamic obstacles and replan its path as needed.
AI Movement Logic: Use Simple Move To Actor and Move To Location functions for navigation tasks.
Set up fallback logic for when paths become blocked (e.g., use alternative routes).
Phase 4: Perception and Sensory Systems
AI Perception System Setup: Add the AI Perception Component to handle multiple sensory inputs.
Configure AISense_Sight for vision-based detection with adjustable range and angle.
Add AISense_Hearing to detect player sounds (e.g., footsteps or gunfire).
Use Perception Events to trigger behavior transitions (e.g., start chasing when player is detected).
Environment Query System (EQS): Create EQS queries for finding cover spots or detecting enemies dynamically.
Integrate EQS into the Behavior Tree for decision-making.
Example: Query the nearest safe cover when health is low.
Phase 5: State Machines and Combat Logic
State Machine Integration: Build a custom state machine for combat (e.g., Idle, Attack, Retreat, Reload).
- Assistant