FriendlyToLocal System: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:ArmA 2: Editing" to "[[Category:Arma 2: Editing")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
FTL system means Friendly To Local system. <br>
FTL system means '''F'''riendly '''T'''o '''L'''ocal system.
 
== Purpose ==
 
FTL tracks relationship between player and civilian side. Depending on players actions the FTL value increases or decreases.<br>
The interval of this value can be between -1 and 1 units. From -0.3 to 0.3, the relationship is NEUTRAL. In interval 0.4 to 1 is relationship HIGH.<BR> If value is between -0.4 and -1 then relationship is LOW.
These discrete values can imagine the "friendship" between two sides. In the campaign, it can affect the story telling and can smoothly or rapidly change the flow of the missions.
If player will not help to civilian and will be bad then the campaign could become harder than in another case where player will be helping to local civilian, or neutral if he will be doing nothing.


==What FTL does==
FTL tracks relationship between player and civilian side. Depending on players actions the FTL value increases or decreases. <BR>The interval of this value can be between -1 and 1 units. From -0.3 to 0.3, the relationship is NEUTRAL. In interval 0.4 to 1 is relationship HIGH.<BR> If value is between -0.4 and -1 then relationship is LOW. These discrete values can imagine the "friendship" between two sides. In the campaign, it can affect the story telling and can smoothly or rapidly change the flow of the missions. If player will not help to civilian and will be bad then the campaign could become harder then in another case where player will be helping to local civilian, or neutral if he will be doing nothing.
In every mission we can divide this system to two categories.  
In every mission we can divide this system to two categories.  
*What affects FTL
* What affects FTL - means the acts which will be increasing or decreasing the FTL value
Means the acts which will be increasing or decreasing the FTL value
* What depends on FTL - means the actions which will happen depending on the FTL value
*What depends on FTL
 
Means the actions which will happen depending on the FTL value


[[File:FTL_system.jpg|384px|FTL system]]


[[Image:FTL_system.jpg|left|384px|FTL system]] <br style="clear: both" />


==How it works==
== How it Works ==
 
FTL is a value, but FTL manager is an object. It manages and computes the new value and returns discrete value as a string. It is a container which encapsulate functions and values.  
FTL is a value, but FTL manager is an object. It manages and computes the new value and returns discrete value as a string. It is a container which encapsulate functions and values.  




[[Image:ftlclass.jpeg|left|FTL Class]] <br style="clear: both" />
* The FTL manager holds these variables:
** ''FTLValue: Integer'' - value with range between -1 to 1.
** ''FTLState: String'' - discrete value (can be {{hl|LOW}}, {{hl|NEUTRAL}} or {{hl|HIGH}}) which is computed from FTLValue.
* FTL manager has these functions:
** ''GetFTLState(): String'' - returns the current FTL state
** ''SetFTLState(type: string)'' - computes and sets the new FTLValue and FTLState afterward.
*** The '''Type''' parameter determines how much will be increased/decreased current FTLValue. There should be a table which shows what value is assigned to the operation.


*FTL manager has these variables:
Example:
**''FTLValue: Integer'' - integer value with range between -1 to 1.
{| class="wikitable"
**''FTLState: String'' - discrete value LOW|NEUTRAL|HIGH which is computed from FTLValue.
! Type
*FTL manager has these functions:
! Value
**''GetFTLState(): String'' - returns current FTL state
**''SetFTLState(type: string)'' - computes and sets the new FTLValue and FTLState afterward. <br>
***'''Type''' parameter determines how much will be increased/decreased current FTLValue. There should be a table which shows what value is assigned to the operation.<br>
''Table example:''
{|width=50% border=0 cellspacing=0px cellpadding=0px text-size=16px|
|bgcolor=#7694BF|'''Type'''
|bgcolor=#7694BF|'''Value'''
|-
|-
|bgcolor=#3366FF|Civkilled
| CivKilled
|bgcolor=#3366FF|-0.3  
| -0.3  
|-
|-
|bgcolor=#3399FF|TaskRefused
| TaskRefused
|bgcolor=#3399FF|-0.1  
| -0.1  
|-
|-
|bgcolor=#3366FF|TaskDone
| TaskDone
|bgcolor=#3366FF|0.4
| 0.4
|}
|}


===Cooperating with ALICE and RESPECT system===
=== Cooperating with ALICE and RESPECT Systems ===
FTL manager will cooperate with ALICE system, because ALICE tracks respect value. <BR> Each village has own ''respect'' value. FTL manager will compute average ''respect'' value from all villages and Rebels groups in Takistan and will use the result for additional computes.
 
FTL manager will cooperate with the ALICE system, because ALICE tracks respect value.<br>Each village has own ''respect'' value.
FTL manager will compute the average ''respect'' value from all villages and Rebels groups in Takistan and will use the result for additional computes.
 
=== Addon: Oblivion index ===
 
If FTL is low and it is at least one hour from the last negative operation (which has decreased the FTL), then the FTL manager will compute the oblivion index (which simulates the forgetting during the time) and will add it to the current value.


===Addon: Oblivion index===
If FTL is low and it is at least one hour from the last negative operation(which has decreased the FTL), then FTL manager will compute the oblivion index(which simulates the forgetting during the time)and will add it to the current value.<br>


[[Category:Arma 2: Editing]]
{{GameCategory|arma2|Editing}}

Latest revision as of 01:25, 23 March 2024

FTL system means Friendly To Local system.

Purpose

FTL tracks relationship between player and civilian side. Depending on players actions the FTL value increases or decreases.
The interval of this value can be between -1 and 1 units. From -0.3 to 0.3, the relationship is NEUTRAL. In interval 0.4 to 1 is relationship HIGH.
If value is between -0.4 and -1 then relationship is LOW. These discrete values can imagine the "friendship" between two sides. In the campaign, it can affect the story telling and can smoothly or rapidly change the flow of the missions. If player will not help to civilian and will be bad then the campaign could become harder than in another case where player will be helping to local civilian, or neutral if he will be doing nothing.

In every mission we can divide this system to two categories.

  • What affects FTL - means the acts which will be increasing or decreasing the FTL value
  • What depends on FTL - means the actions which will happen depending on the FTL value


FTL system


How it Works

FTL is a value, but FTL manager is an object. It manages and computes the new value and returns discrete value as a string. It is a container which encapsulate functions and values.


  • The FTL manager holds these variables:
    • FTLValue: Integer - value with range between -1 to 1.
    • FTLState: String - discrete value (can be LOW, NEUTRAL or HIGH) which is computed from FTLValue.
  • FTL manager has these functions:
    • GetFTLState(): String - returns the current FTL state
    • SetFTLState(type: string) - computes and sets the new FTLValue and FTLState afterward.
      • The Type parameter determines how much will be increased/decreased current FTLValue. There should be a table which shows what value is assigned to the operation.

Example:

Type Value
CivKilled -0.3
TaskRefused -0.1
TaskDone 0.4

Cooperating with ALICE and RESPECT Systems

FTL manager will cooperate with the ALICE system, because ALICE tracks respect value.
Each village has own respect value. FTL manager will compute the average respect value from all villages and Rebels groups in Takistan and will use the result for additional computes.

Addon: Oblivion index

If FTL is low and it is at least one hour from the last negative operation (which has decreased the FTL), then the FTL manager will compute the oblivion index (which simulates the forgetting during the time) and will add it to the current value.