5 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door1o",
"Door1c", OPENING_0), 0 );
6 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door2o",
"Door2c", OPENING_1), 0 );
7 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door3o",
"Door3c", OPENING_2), 0 );
8 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door4o",
"Door4c", OPENING_3), 0 );
9 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door5o",
"Door5c", OPENING_4), 0 );
10 m_ToggleAnimations.Insert(
new ToggleAnimations(
"Door6o",
"Door6c", OPENING_5), 0 );
12 m_ShowAnimationsWhenPitched.Insert(
"Body" );
13 m_ShowAnimationsWhenPitched.Insert(
"Pack" );
21 m_ShowAnimationsWhenPacked.Insert(
"Inventory" );
28 return "LargeTent_Door_Open_SoundSet";
33 return "LargeTent_Door_Close_SoundSet";
38 return "LargeTent_Window_Open_SoundSet";
43 return "LargeTent_Window_Close_SoundSet";
53 return "LargeTentClutterCutter";
62 super.OnPlacementComplete( player, position, orientation );
78 return "placeLargeTent_SoundSet";
83 return "largetent_deploy_SoundSet";
96 for (
int i = 0; i < m_ToggleAnimations.Count(); i++)
98 toggle = m_ToggleAnimations.GetKey(i);
104 SetAnimationPhase( camo_off, hide );
105 SetAnimationPhase( camo_on, hide );
111 DamageSystem.GetDamageZoneFromComponentName(
this,
component,zone);
117 SetAnimationPhase( camo_on, is_ruined );
121 SetAnimationPhase( camo_off, is_ruined );
126 SetAnimationPhase(
"Camo_Roof", hide );
138 SetAnimationPhase( camo_off, is_closed );
139 SetAnimationPhase( camo_on, !is_closed );
145 string camo =
"Camo" + opening_selection.
Substring(4,2);
146 SetAnimationPhase(camo,1);
151class PartyTent_Brown
extends PartyTent {};
152class PartyTent_Lunapark
extends PartyTent {};
const int ECE_PLACE_ON_SURFACE
Container_Base m_HalfExtents
protected Object m_ClutterCutter
class BoxCollidingParams component
ComponentInfo for BoxCollidingResult.
proto native Object CreateObjectEx(string type, vector pos, int iFlags, int iRotation=RF_DEFAULT)
Creates object of certain type.
override string GetDeploySoundset()
override void AnimateCamonetByOpeningSelection(string opening_selection)
override bool HasClutterCutter()
override string GetLoopDeploySoundset()
override string GetSoundClose()
override string GetClutterCutter()
override void HandleCamoNetAttachment(bool hide)
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
override string GetSoundOpen()
override string GetSoundCloseWindow()
override void AnimateCamonetToggle(ToggleAnimations toggle)
override string GetSoundOpenWindow()
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
proto string Substring(int start, int len)
Substring of 'str' from 'start' position 'len' number of characters.