Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PowerlineGeneratorEntity.c File Reference

Go to the source code of this file.

Classes

class  SCR_PowerlineGeneratorEntityClass

Functions

SCR_PowerlineGeneratorEntityClass SCR_LineTerrainShaperGeneratorEntityClass Attribute (defvalue:"30", desc:"How far should the poles be from each other", params:"1 "+MAX_CABLE_LENGTH, category:"Pole Setup")] protected float m_fDistance

Variables

ResourceName m_DefaultPole
ResourceName m_StartPole
ResourceName m_EndPole
ResourceName m_DefaultJunctionPole
bool m_bRotate180DegreeYawStartPole
bool m_bRotate180DegreeYawEndPole
float Clearance
 Used by Obstacle Detector.
float m_fRandomYawAngle
float m_fRandomPitchAngle
float m_fRandomRollAngle
bool m_bApplyPitchAndRollDefault
bool m_bApplyPitchAndRollStart
bool m_bApplyPitchAndRollEnd
ref array< ref SCR_PoleCablem_aCables
ResourceName m_sPowerLinePrefab
ResourceName m_PowerlineMaterial
bool m_bDrawDebugShapes

Function Documentation

◆ Attribute()

SCR_PowerlineGeneratorEntityClass SCR_LineTerrainShaperGeneratorEntityClass Attribute ( defvalue:"30" ,
desc:"How far should the poles be from each other" ,
params:"1 "+ MAX_CABLE_LENGTH,
category:"Pole Setup"  )

SLOT SYSTEM:

Poles have slot groups of a certain type (Low Voltage, High Voltage, Ultra High Voltage, Telephone, etc - see SCR_EPoleCableType)

  • only distance to slot group is considered - same line factor is not
  • only one connection per cable type is possible as of now (closest slots will connect) e.g closest LV to closest LV, closest Telephone to closest Telephone

Variable Documentation

◆ Clearance

float Clearance
protected

Used by Obstacle Detector.

Definition at line 43 of file SCR_PowerlineGeneratorEntity.c.

◆ m_aCables

ref array<ref SCR_PoleCable> m_aCables
protected

Definition at line 72 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bApplyPitchAndRollDefault

bool m_bApplyPitchAndRollDefault
protected

Definition at line 59 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bApplyPitchAndRollEnd

bool m_bApplyPitchAndRollEnd
protected

Definition at line 65 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bApplyPitchAndRollStart

bool m_bApplyPitchAndRollStart
protected

Definition at line 62 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bDrawDebugShapes

bool m_bDrawDebugShapes
protected

Definition at line 85 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bRotate180DegreeYawEndPole

bool m_bRotate180DegreeYawEndPole
protected

Definition at line 40 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bRotate180DegreeYawStartPole

bool m_bRotate180DegreeYawStartPole
protected

Definition at line 37 of file SCR_PowerlineGeneratorEntity.c.

◆ m_DefaultJunctionPole

ResourceName m_DefaultJunctionPole
protected

Definition at line 34 of file SCR_PowerlineGeneratorEntity.c.

◆ m_DefaultPole

ResourceName m_DefaultPole
protected

Definition at line 25 of file SCR_PowerlineGeneratorEntity.c.

◆ m_EndPole

ResourceName m_EndPole
protected

Definition at line 31 of file SCR_PowerlineGeneratorEntity.c.

◆ m_fRandomPitchAngle

float m_fRandomPitchAngle
protected

Definition at line 53 of file SCR_PowerlineGeneratorEntity.c.

◆ m_fRandomRollAngle

float m_fRandomRollAngle
protected

Definition at line 56 of file SCR_PowerlineGeneratorEntity.c.

◆ m_fRandomYawAngle

float m_fRandomYawAngle
protected

Definition at line 50 of file SCR_PowerlineGeneratorEntity.c.

◆ m_PowerlineMaterial

ResourceName m_PowerlineMaterial
protected

Definition at line 78 of file SCR_PowerlineGeneratorEntity.c.

◆ m_sPowerLinePrefab

ResourceName m_sPowerLinePrefab
protected

Definition at line 75 of file SCR_PowerlineGeneratorEntity.c.

◆ m_StartPole

ResourceName m_StartPole
protected

Definition at line 28 of file SCR_PowerlineGeneratorEntity.c.