Multiplayer (network game) - KageDesu/Alpha-ABS-Z GitHub Wiki

⚠️ Information actual for version 0.9 and above

Since version 0.4 Alpha ABS Z can works with Alpha NET Z plugin.

⚠️ Multiplayer support in ABSZ in [PREVIEW] mode, can be bugs and issues. Please report if you find any to Discord server

Requirements

Alpha NET Z version 0.6 and above

Work note's

  1. All Script Actions synchronized automatically

  2. Some enemies ABS behaviour synchronized automatically:

<deadSwitch:S
<eraseOnDead:Z>
<shatterEffect:Z>

  1. Enemies spawning (every plugin methods and via uAPI) synchronized automatically since update 0.8.

⚠️ All automatic synchronization works only for players on same map

Game Modes

You can Turn ON PvP mode (when player can damage antoher players)

  1. Go to the Plugin Parameters -> Multiplaye group -> Game Mode -> select PvP from list

PvPSettings

  1. You can change game mode in game, using next script calls:
  • uAPI.setPvPMode()
  • uAPI.setPvEMode()
  1. In PvE mode you can deal damage to other players by creating ABS skills with <friendlyEffect:1> ABS parameter

  2. In PvP mode, you can assign different teams for players, using script call: uAPI.setTeamIdFor(INFO_TYPE, VALUE, TEAM_ID)

Where INFO_TYPE can ge: actor, actorId, netId, actorName, playerName, playerIndex

Example: uAPI.setTeamIdFor("actorId", 1, 33); - set team ID 33 for player who play as Reid (actor with ID 1)

⚠️ This three script calls are automatic synchronized


Extra script calls

uAPI.getWhoKillMeInPvP(INFO_TYPE) - return information about player that killed current client

Where INFO_TYPE can ge: actor, actorId, netId, actorName, playerName, playerIndex

Example: uAPI.getWhoKillMeInPvP("actorName"); - returns Reid (for example) if player killed this client played for Reid character