Game logic - Player team – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}")
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
Defines player teams, their spawning points and amount of friendly damage.
Defines player teams, their spawning points and amount of friendly damage.


=Properties=
= Properties =
===Available Roles===
=== Available Roles ===
*List of available  player roles in the team
*List of available  player roles in the team
**'''Role''' - Player role
**'''Role''' - Player role
**'''Overriding Spawn Place''' - spawn point, which overrides the one set in the role.
**'''Overriding Spawn Place''' - spawn point, which overrides the one set in the role.
===Friendly Fire===  
=== Friendly Fire ===
*Set the friendly fire ratio for the team. 0 equals none, 1 equals 100%.
*Set the friendly fire ratio for the team. 0 equals none, 1 equals 100%.


Line 13: Line 13:
*Name is the same to the game logic as to the particular role. Same name you choose appears in the starting interface.
*Name is the same to the game logic as to the particular role. Same name you choose appears in the starting interface.


===Player Teams===
=== Player Teams ===
*One team can have multiple player roles.
*One team can have multiple player roles.
*One player role can be added to multiple player teams.
*One player role can be added to multiple player teams.
Line 19: Line 19:
*Each role in the team can have different spawn points
*Each role in the team can have different spawn points


=Events=
= Events =
*[[Ylands Tile - On Player Spawn|On Player Spawn]]
*[[Ylands:Tile - On Player Spawn|On Player Spawn]]
*[[Ylands Tile - On Player Respawn|On Player Respawn]]
*[[Ylands:Tile - On Player Respawn|On Player Respawn]]
*[[Ylands Tile - On Player Death|On Player Death]]
*[[Ylands:Tile - On Player Death|On Player Death]]
*[[Ylands Tile - On Player Connected|On Player Connected]]
*[[Ylands:Tile - On Player Connected|On Player Connected]]
*[[Ylands Tile - On Player Disconnected|On Player Disconnected]]
*[[Ylands:Tile - On Player Disconnected|On Player Disconnected]]




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}


[[Category: Game Logic]]
[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]
[[Category: Game Logic]]

Latest revision as of 14:21, 24 November 2023

Description

Defines player teams, their spawning points and amount of friendly damage.

Properties

Available Roles

  • List of available player roles in the team
    • Role - Player role
    • Overriding Spawn Place - spawn point, which overrides the one set in the role.

Friendly Fire

  • Set the friendly fire ratio for the team. 0 equals none, 1 equals 100%.

Notes

  • Name is the same to the game logic as to the particular role. Same name you choose appears in the starting interface.

Player Teams

  • One team can have multiple player roles.
  • One player role can be added to multiple player teams.
  • Player team can override the spawn point of role.
  • Each role in the team can have different spawn points

Events