Difference between revisions of "Virtual AI System"

From ALiVE Wiki
Jump to: navigation, search
(How It Works)
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:Icon_sys_profile.png|50px]]
+
{{Partof_Systems}}
[[ALiVE Systems|ALiVE Systems]]
+
 
+
  
 
==How It Works==
 
==How It Works==
 
+
[[File:ALiVE Virtual AI Module.png|frame|alt=ALiVE Virtual AI System|ALiVE Virtual AI System Module]]
 +
{{note}}This module is required for ALiVE to function properly and must be placed!
 
The revolutionary Virtual AI System processes a complete set of data about every AI unit allowing them to be despawned from the game world yet still interact with other ALiVE modules.  This allows the ‘virtual battle’ to continue in the background without taking up valuable server resources.  Units will reappear in the game world as soon as a player comes within visual range.
 
The revolutionary Virtual AI System processes a complete set of data about every AI unit allowing them to be despawned from the game world yet still interact with other ALiVE modules.  This allows the ‘virtual battle’ to continue in the background without taking up valuable server resources.  Units will reappear in the game world as soon as a player comes within visual range.
  
  
''Usage'':  Place the Virtual AI System in the editor and set the desired visual spawn radius.  Note that high spawn ranges in excess of 3KM may have an impact on performance.  Separate spawn radius options are available for players on the ground or piloting helicopters and planes.
+
===Usage===
 +
Press F5 in Eden and look for the module titled '''ALiVE Virtual AI System'''. Place it onto the map and double click for options.
  
  
You can limit the number of profiles that get spawned into the game world by setting the Limiter value on the module. The default value is 50Setting the limiter higher than this may have an impact on performance. Groups that are prevented from spawning are on a first-come, first-served basis - so whichever happens to be closest to a player at the time.  Note that making a mission will a lot of AI then spawn-limiting them is inefficient and may get weird results.
+
===Parameters===
 
+
# '''''Enable [[ALiVE Debug Settings|Debug]]''' (yes || default no)'': Enabling [[ALiVE Debug Settings|debug]] on this module will show you all profiled groups on the map in game. Groups that are spawned in will be completely colored in, while groups that are currently profiled will retain some transparency.
Units and Groups can be explicitly Excluded or Included from Profiles by Synchronising (F5) to the Virtual AI moduleThe behaviour of the module can be configured in the drop down menusIt is not recommended to profile units that you need to be in an exact location or facing such as static guns in a bunker.
+
# '''''Persistent''' (yes || default no):''  enables Virtual AI [[Persistence]] for multi session operations with [[ALiVE Data]].
 +
# '''''Synchronisation Options''' (dropdown):''
 +
## ''Only Virtualise Synced Units'' (default): This option will instruct ALiVE to profile any unit synced to this module. To learn more about how to sync things in Eden, [https://community.bistudio.com/wiki/Eden_Editor:_Connecting go here]
 +
## ''Virtualise All Editor Placed Units ''except'' synced units:'' This option will instruct ALiVE to profile all editor placed units apart from those synced to the module.
 +
# '''''Spawn Radius''' (number, default 1500):'' Sets the distance at which units will spawn around a player and UAVs
 +
# '''''Spawn Heli Radius''' (number, default 1500):'' Sets the distance at which units will spawn around a helicopter.
 +
# '''''Spawn Planes Radius''' (number, default 0):'' Sets the distance at which units will spawn around a plane.
 +
# '''''Active Limiter''' (number, default 144):'' Caps the number of Virtual Profiles that can be spawned into the game world at any one time. Note that a Virtual Profile can be a Group of AI or a vehicle or a single PlayerThe Active Limit is NOT the max number of individual units that will ever spawn. Groups are spawned on a first-come, first-served basis, so whichever happens to be closest to a player at the time will spawn firstAny remaining virtual groups above the limit will be moved outside of spawn range.  
 +
# '''''Profile Speed Modifier''' (dropdown, default none):''  Alters the movement speed at which virtual units move across the mapNone equates to 100% normal unit speed.
 +
# '''''Virtual Combat Speed Modifier''' (number, default 1):''  Sets the rate at which virtual battles are resolved1 equates to 100% normal combat speed.
 +
# '''''Infantry sea transport''' (dropdown, default No):''  Enables infantry groups to deploy boats when crossing water features.
 +
# '''''Smooth Spawn''' (number, default 0.3):''  Sets the rate at which virtual units spawn when a player is nearby.  Faster rates can cause stuttering.
  
  
 
==Editor Notes==
 
==Editor Notes==
 +
* Making a mission with a lot of Virtual AI then artificially spawn-limiting them is inefficient and may get weird results, such as units spawning in behind players and moving into areas already cleared.  Best practice is to reduce the density or number of Virtual Profiles in the [[ALiVE Military|Placement Modules]] to improve performance.
 +
* The profile system currently only supports Move and Cycle waypoints.
 +
* Triggers and other complex editor tools do not function in the virtual battle space, though it is possible to detect the presence of Profiles via scripts.  See [[Script Snippets]] for details.
 +
* Do not sync players to the Virtual AI Module - they are handled separately by ALiVE.
  
The profile system currently only supports the following waypoint types for virtualisation:
 
 
*Move
 
*Cycle
 
 
Triggers and other complex editor tools do not function in the virtual battle space.
 
  
Do not sync players to the Profiler - they are handled separately by ALiVE.
+
[[Category:ALiVE Modules]] [[Category:War Room]]

Latest revision as of 04:03, 20 May 2017

Icon sys profile.png ALiVE Systems

How It Works

ALiVE Virtual AI System
ALiVE Virtual AI System Module
Onebit note.png Note: This module is required for ALiVE to function properly and must be placed!

The revolutionary Virtual AI System processes a complete set of data about every AI unit allowing them to be despawned from the game world yet still interact with other ALiVE modules. This allows the ‘virtual battle’ to continue in the background without taking up valuable server resources. Units will reappear in the game world as soon as a player comes within visual range.


Usage

Press F5 in Eden and look for the module titled ALiVE Virtual AI System. Place it onto the map and double click for options.


Parameters

  1. Enable Debug (yes || default no): Enabling debug on this module will show you all profiled groups on the map in game. Groups that are spawned in will be completely colored in, while groups that are currently profiled will retain some transparency.
  2. Persistent (yes || default no): enables Virtual AI Persistence for multi session operations with ALiVE Data.
  3. Synchronisation Options (dropdown):
    1. Only Virtualise Synced Units (default): This option will instruct ALiVE to profile any unit synced to this module. To learn more about how to sync things in Eden, go here
    2. Virtualise All Editor Placed Units except synced units: This option will instruct ALiVE to profile all editor placed units apart from those synced to the module.
  4. Spawn Radius (number, default 1500): Sets the distance at which units will spawn around a player and UAVs
  5. Spawn Heli Radius (number, default 1500): Sets the distance at which units will spawn around a helicopter.
  6. Spawn Planes Radius (number, default 0): Sets the distance at which units will spawn around a plane.
  7. Active Limiter (number, default 144): Caps the number of Virtual Profiles that can be spawned into the game world at any one time. Note that a Virtual Profile can be a Group of AI or a vehicle or a single Player. The Active Limit is NOT the max number of individual units that will ever spawn. Groups are spawned on a first-come, first-served basis, so whichever happens to be closest to a player at the time will spawn first. Any remaining virtual groups above the limit will be moved outside of spawn range.
  8. Profile Speed Modifier (dropdown, default none): Alters the movement speed at which virtual units move across the map. None equates to 100% normal unit speed.
  9. Virtual Combat Speed Modifier (number, default 1): Sets the rate at which virtual battles are resolved. 1 equates to 100% normal combat speed.
  10. Infantry sea transport (dropdown, default No): Enables infantry groups to deploy boats when crossing water features.
  11. Smooth Spawn (number, default 0.3): Sets the rate at which virtual units spawn when a player is nearby. Faster rates can cause stuttering.


Editor Notes

  • Making a mission with a lot of Virtual AI then artificially spawn-limiting them is inefficient and may get weird results, such as units spawning in behind players and moving into areas already cleared. Best practice is to reduce the density or number of Virtual Profiles in the Placement Modules to improve performance.
  • The profile system currently only supports Move and Cycle waypoints.
  • Triggers and other complex editor tools do not function in the virtual battle space, though it is possible to detect the presence of Profiles via scripts. See Script Snippets for details.
  • Do not sync players to the Virtual AI Module - they are handled separately by ALiVE.