Difference between revisions of "Persistence"

From ALiVE Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Partof_Data}}
+
{| class="wikitable"
 +
! style="text-align:left;" scope="row" colspan="2" |Part of:
 +
|-
 +
| scope="row" colspan="2"|{{Partof_Data}}
 +
|-
 +
! style="text-align:left;"|Requirements:
 +
! style="text-align:left;"|Synced
 +
|-
 +
|{{Module_Database}}
 +
|{{No}}
 +
|-
 +
|}
  
 
ALIVE Persistence stores mission and player data on the central ALiVE database, allowing players to retain the state of the mission across multiple sessions.  This works both for players disconnecting and rejoining in progress as well as between server restarts.
 
ALIVE Persistence stores mission and player data on the central ALiVE database, allowing players to retain the state of the mission across multiple sessions.  This works both for players disconnecting and rejoining in progress as well as between server restarts.
Line 7: Line 18:
 
Persistence requires an account on the ALiVEmod.com [[War Room]].
 
Persistence requires an account on the ALiVEmod.com [[War Room]].
  
[[File:Icon_sys_profile.png|50px|Profiles]] Stores the state of virtual AI profiles including current location and combat effectiveness.
+
[[File:Icon_sys_profile.png|50px|Profiles]] Profile System persistence stores the state of all virtual AI profiles including current location and combat effectiveness.
  
[[File:Icon_mil_opcom.png|50px|OPCOM]] Stores the current OPCOM orders relating to each Objective.  If OPCOM persistence is off when a server starts, the AI Comd will review the current state of assigned objectives based on the location of Profiles and issue fresh orders as normal.
+
[[File:Icon_mil_opcom.png|50px|OPCOM]] OPCOM persistence stores the current OPCOM orders relating to each Objective.  If OPCOM persistence is off when a server starts, the AI Comd will review the current state of assigned objectives based on the location of available unit Profiles and issue fresh orders as normal.
  
[[File:Icon_cqb.png|50px|CQB]] Ambient CQB Sectors are stored to DB, not individual CQB units.  Players should take care clear a sector fully before a server restart.  If not, the sector may still be considered occupied and fresh CQB units will spawn in that sector.
+
[[File:Icon_cqb.png|50px|CQB]] With CQB Persistence on, ambient CQB Sectors are stored to DB (not individual CQB units).  Players should take care clear a sector fully before a server restart.  If not, the sector may still be considered occupied and fresh CQB units will spawn in that sector.
  
[[File:Icon_sys_rwg.png|50px|Player]] A large amount of player data can be saved to the database via the Player Persistence module, including location, medical state and equipment.
+
[[File:Icon_sys_rwg.png|50px|Player]] Player Persistence stores a large amount of player data to the database, including location, medical state and equipment.  This module has a unique option to turn Database saving OFF.  In this case Player data will be saved for the current mission only - once the game is restarted, the player states will be reset.  This is useful for people who want player persistence for JIP or disconnected players but do not have access to the War Room.
  
 
'''Editor Notes'''
 
'''Editor Notes'''
Line 20: Line 31:
  
 
Persistence is predicated on the mission.pbo name.  You can can change the displayed mission name in mission.sqm no problems, but the pbo must remain the same.  To reset the Persistence state of a mission (start a fresh one) simply rename the pbo file.
 
Persistence is predicated on the mission.pbo name.  You can can change the displayed mission name in mission.sqm no problems, but the pbo must remain the same.  To reset the Persistence state of a mission (start a fresh one) simply rename the pbo file.
 
'''Developer Notes'''
 
 
Object persistence including empty vehicles is not yet developed.  This will form part of the Player Logistics module in release 0.7
 

Revision as of 10:54, 9 June 2014

Part of:
Icon sys data.png ALiVE Data
Requirements: Synced
Template:Module Database Onebit no.png

ALIVE Persistence stores mission and player data on the central ALiVE database, allowing players to retain the state of the mission across multiple sessions. This works both for players disconnecting and rejoining in progress as well as between server restarts.

Persistence is configurable on different modules, allowing mission makers and server admins to choose the level of mission data to be stored and recalled. To turn on persistence, choose the option in the relevant module. Persistence is OFF by default.

Persistence requires an account on the ALiVEmod.com War Room.

Profiles Profile System persistence stores the state of all virtual AI profiles including current location and combat effectiveness.

OPCOM OPCOM persistence stores the current OPCOM orders relating to each Objective. If OPCOM persistence is off when a server starts, the AI Comd will review the current state of assigned objectives based on the location of available unit Profiles and issue fresh orders as normal.

CQB With CQB Persistence on, ambient CQB Sectors are stored to DB (not individual CQB units). Players should take care clear a sector fully before a server restart. If not, the sector may still be considered occupied and fresh CQB units will spawn in that sector.

Player Player Persistence stores a large amount of player data to the database, including location, medical state and equipment. This module has a unique option to turn Database saving OFF. In this case Player data will be saved for the current mission only - once the game is restarted, the player states will be reset. This is useful for people who want player persistence for JIP or disconnected players but do not have access to the War Room.

Editor Notes

Note that when editing missions that are persistent, units placed on the map in the editor may be moved to their stored location when the server restarts!

Persistence is predicated on the mission.pbo name. You can can change the displayed mission name in mission.sqm no problems, but the pbo must remain the same. To reset the Persistence state of a mission (start a fresh one) simply rename the pbo file.