4 protected bool m_DeployedRegularly;
8 RegisterNetSyncVariableBool(
"m_IsSoundSynchRemote");
9 RegisterNetSyncVariableBool(
"m_IsDeploySound");
17 override bool IsBasebuildingKit()
22 override bool HasProxyParts()
27 override bool CanProxyObstruct()
34 super.OnVariablesSynchronized();
78 super.EEItemDetached( item, slot_name );
81 if ( player && player.IsPlayerDisconnected() )
84 if (item && slot_name ==
"Rope")
86 if (
GetGame().IsServer() && !m_DeployedRegularly)
96 super.OnItemLocationChanged( old_owner, new_owner );
104 m_DeployedRegularly =
true;
110 super.OnPlacementCancelled(player);
111 m_DeployedRegularly =
false;
119 override bool CanAssignAttachmentsToQuickbar()
124 override string GetDeploySoundset()
126 return "putDown_FenceKit_SoundSet";
129 override string GetLoopDeploySoundset()
132 return "Shelter_Site_Build_Loop_SoundSet";
135 override string GetDeployFinishSoundset()
142 super.RefreshPhysics();
150 SetAnimationPhase(
"Inventory", 0 );
151 SetAnimationPhase(
"Placing", 1 );
156 AddProxyPhysics(
"Inventory" );
157 RemoveProxyPhysics(
"Placing" );
162 if ( !
GetGame().IsDedicatedServer() )
173 if ( !
GetGame().IsDedicatedServer() )
184 Rope rope = Rope.Cast(GetInventory().CreateAttachment(
"Rope"));
188 void DisassembleKit(
ItemBase item) {}
190 void CreateRope(Rope rope)
198 MiscGameplayFunctions.TransferItemProperties(
this, rope);
205 MiscGameplayFunctions.TransferItemProperties(
this, newRope);