home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CSovietTentMesh
- {
- string MeshFile = "Models/B_Tent_Soviet.mesh";
- string SkinFile = "Models/B_Tent_Soviet.skin";
- }
-
- class CSovietTentStateControl extends CUnitLifeControl
- {
- void CSovietTentStateControl()
- {
- CUnitLifeControl(500.0);
- m_DestroyPause = 7.5;
- m_ExplosionId = "EXPLID_ItemExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseSovietTent extends CBuilding, CUnitWithStateControl
- {
- void CBaseSovietTent()
- {
- InitializeModelAsStatic("CSovietTentMesh");
- CUnitWithStateControl("CSovietTentStateControl");
- }
- }
-
- // Single game object
- class CMountedSovietTent extends CBaseSovietTent
- {
- void CMountedSovietTent()
- {
- InitializeGroundControl();
- }
- }
-
-