6enum SCR_ENametagRelationFilter
15enum SCR_ENametagControllerFilter
25 [
Attribute(
"1",
desc:
"If true team kill punishment is enabled, otherwise it is disabled",
category:
"Teamkilling"),
RplProp(onRplName:
"OnAdditionalSettingsChanged")]
28 [
Attribute(
"1",
desc:
"If true allows for vehicles (and potential other entities) to be refunded at depods.",
category:
"Entity Refund"),
RplProp(onRplName:
"OnAdditionalSettingsChanged")]
31 [
Attribute(
"#AR-Editor_Action_Disabled_By_GM",
desc:
"Shown on the entity action why refunding is disabled. The action is simply hidden if this is empty.",
category:
"Entity Refund")]
34 [
Attribute(
"1",
desc:
"If true it will show additional information in form of ui element that shows ballistic data (f.e. in mortars).",
category:
"Entity Refund"),
RplProp(onRplName:
"OnAdditionalSettingsChanged")]
40 [
Attribute((SCR_ENametagRelationFilter.SHOW_SAME_FACTION + SCR_ENametagRelationFilter.SHOW_GROUP_MEMBERS + SCR_ENametagRelationFilter.SHOW_MILITARY_ALLIES + SCR_ENametagRelationFilter.SHOW_CIVILIAN_ALLIES).ToString(),
desc:
"",
category:
"Nametag Filters", uiwidget:
UIWidgets.Flags, enumType: SCR_ENametagRelationFilter),
RplProp(onRplName:
"OnNametagRelationFilterUpdated")]
43 [
Attribute((SCR_ENametagControllerFilter.SHOW_AI + SCR_ENametagControllerFilter.SHOW_PLAYERS).ToString(),
desc:
"",
category:
"Nametag Filters", uiwidget:
UIWidgets.Flags, enumType: SCR_ENametagControllerFilter),
RplProp(onRplName:
"OnNametagControllerFilterUpdated")]
46 [
Attribute(
desc:
"If true artillery ai command will get position offset based on the distance from the player to the position at which player ordered the artillery")]
49 [
RplProp(onRplName:
"OnNightNoiseSettingChanged"),
Attribute(defvalue:
"1",
desc:
"Disable noise effect which will be visible in dark places")]
161 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_NAMETAG_RELATION_FILTER_CHANGED, playerId);
198 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_NAMETAG_CONTROLLER_FILTER_CHANGED, playerId);
223 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_TEAMKILL_PUNISHMENT_ENABLED, playerID);
225 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_TEAMKILL_PUNISHMENT_DISABLED, playerID);
253 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_REFUND_ENTITY_AT_DEPOTS_ENABLED, playerID);
255 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_REFUND_ENTITY_AT_DEPOTS_DISABLED, playerID);
294 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_MORTAR_BALLISTIC_DATA_VISIBILITY_ENABLED, playerID);
296 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_MORTAR_BALLISTIC_DATA_VISIBILITY_DISABLED, playerID);
321 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_VEHICLE_SALVAGE_ENABLED, playerID);
323 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_VEHICLE_SALVAGE_DISABLED, playerID);
360 Print(
"'SCR_AdditionalGameModeSettingsComponent' exists twice in the world!",
LogLevel.WARNING);
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
void OnAdditionalSettingsChanged()
bool m_bProjectileBallisticInfoVisibility
SCR_ENametagRelationFilter GetNametagRelationFilters()
SCR_ENametagControllerFilter GetNametagControllerFilters()
bool IsAdditionalArtileryOrderDistancePenaltyEnabled()
SCR_AdditionalGameModeSettingsComponentClass SHOW_CIVILIAN_ALLIES
show nametags of non-military allies of a different faction
void OnNametagRelationFilterUpdated()
On Updated function for relation filters.
bool m_bDisableNightNoiseEffect
SCR_AdditionalGameModeSettingsComponentClass SHOW_GROUP_MEMBERS
Show nametags of members of own group.
bool HasNametagRelationFilters(SCR_ENametagRelationFilter filter)
bool IsEntityRefundingActionAllowed()
string GetEntityRefundingDisabledReason()
SCR_AdditionalGameModeSettingsComponentClass SHOW_HOSTILE
Show nametags of hostile entities.
void SetProjectileBallisticInfoVisibility_S(bool shouldShow, int playerID=-1)
SCR_AdditionalGameModeSettingsComponentClass SHOW_SAME_FACTION
Show nametags of members of own faction.
bool HasNametagControllerFilter(SCR_ENametagControllerFilter filter)
ScriptInvokerInt GetOnNametagControllerFilterUpdated()
SCR_AdditionalGameModeSettingsComponentClass SHOW_AI
Show nametags of AI.
SCR_AdditionalGameModeSettingsComponentClass SHOW_PLAYERS
Show nametags of players.
ScriptInvokerVoid GetOnChangeAdditionalSettingsInvoker()
void OnNametagControllerFilterUpdated()
On Updated function for controller filters.
ref ScriptInvokerInt m_OnNametagControllerFilterUpdated
ScriptInvokerInt GetOnNametagRelationFilterUpdated()
SCR_ENametagRelationFilter m_eNametagRelationFilters
bool m_bAllowEntityRefundingAction
bool m_bEnableVehicleSalvage
void SetNametagControllerFilters(SCR_ENametagControllerFilter filters, int playerId=-1)
bool m_bEnableTeamKillPunishment
bool GetProjectileBallisticInfoVisibility()
ref ScriptInvokerInt m_OnNametagRelationFilterUpdated
SCR_AdditionalGameModeSettingsComponentClass SHOW_MILITARY_ALLIES
show nametags of military allies of a different faction
bool IsTeamKillingPunished()
void SetNametagRelationFilters(SCR_ENametagRelationFilter filters, int playerId=-1)
void SetAllowEntityRefundingAction_S(bool allowRefunding, int playerID=-1)
void OnNightNoiseSettingChanged()
bool m_bAdditionalArtilleryOrderDistancePenalty
void SetEnableTeamKillPunishment_S(bool enablePunishment, int playerID=-1)
ref ScriptInvokerVoid m_OnChangeAdditionalSettingsInvoker
void SCR_AdditionalGameModeSettingsComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
void SetNightNoiseEffectState_S(bool disabled)
LocalizedString m_sEntityRefundingDisabledReason
bool IsVehicleSalvageEnabled()
SCR_ENametagControllerFilter m_eNametagControllerFilters
void SetEnableVehicleSalvage_S(bool enableSetting, int playerID=-1)
SCR_BaseGameMode GetGameMode()
void SCR_BaseGameModeComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
SCR_CacheNoteComponentClass ScriptComponentClass RplProp()] protected ref array< string > m_aLines
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
ScriptInvokerBase< ScriptInvokerVoidMethod > ScriptInvokerVoid
ScriptInvokerBase< ScriptInvokerIntMethod > ScriptInvokerInt
static void SetNightNoiseEffectState(bool newState)
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
SCR_FieldOfViewSettings Attribute
EntityEvent
Various entity events.