AGX750

C&C: China Web-Center

Aug 4th, 2018 (edited)
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 26.81 KB | None | 0 0
  1. ;------------------------------------------------------------------------------
  2. Object Boss_SupplyCenter
  3.  
  4.   ; *** ART Parameters ***
  5.   SelectPortrait         = SSNetHack
  6.   ButtonImage            = SSNetHack
  7.  
  8.  ReplaceModule ModuleTag_01
  9.   Draw = W3DModelDraw ModuleTag_01_Override
  10.     OkToChangeModelColor = Yes
  11.    
  12.     ; DAY ************************************
  13.     DefaultConditionState
  14.       Model              = CBNSpypost
  15.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  16.     End
  17.  
  18.     ConditionState       = DAMAGED
  19.       Model              = CBNSpypost_D
  20.     End
  21.  
  22.     ConditionState       = REALLYDAMAGED
  23.       Model              = CBNSpypost_E
  24.     End
  25.     AliasConditionState = RUBBLE
  26.  
  27.     ;NIGHT ***********************************
  28.     ConditionState       = NIGHT
  29.       Model              = CBNSpypost
  30.     End
  31.  
  32.     ConditionState       = DAMAGED NIGHT
  33.       Model              = CBNSpypost_D
  34.     End
  35.  
  36.     ConditionState    = REALLYDAMAGED NIGHT
  37.       Model           = CBNSpypost_E
  38.     End
  39.     AliasConditionState = RUBBLE NIGHT
  40.    
  41.     ;SNOW *************************************
  42.     ConditionState       = SNOW
  43.       Model              = CBNSpypost
  44.     End
  45.  
  46.     ConditionState       = DAMAGED SNOW
  47.       Model              = CBNSpypost_D
  48.     End
  49.  
  50.     ConditionState       = REALLYDAMAGED SNOW
  51.       Model              = CBNSpypost_E
  52.     End
  53.     AliasConditionState = RUBBLE SNOW
  54.  
  55.     ;NIGHT SNOW *****************************
  56.     ConditionState       = NIGHT SNOW
  57.       Model              = CBNSpypost
  58.     End
  59.  
  60.     ConditionState       = DAMAGED NIGHT SNOW
  61.       Model              = CBNSpypost_D
  62.     End
  63.  
  64.     ConditionState    = REALLYDAMAGED NIGHT SNOW
  65.       Model           = CBNSpypost_E
  66.     End  
  67.     AliasConditionState = RUBBLE NIGHT SNOW
  68.    
  69.         ;**************************************************************************************************************************
  70.     ;This block handles every possible case with construction process, selling process, awaiting construction, and sold states
  71.     ;for this draw module
  72.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
  73.       Model              = CBNSpypost
  74.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  75.     End
  76.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
  77.       Model              = CBNSpypost_D
  78.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  79.     End
  80.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
  81.       Model              = CBNSpypost_E
  82.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  83.     End
  84.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
  85.       Model              = CBNSpypost
  86.       Animation          = CBNSpypost.CBNSpypost
  87.       AnimationMode      = LOOP
  88.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  89.     End
  90.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT DAMAGED
  91.       Model              = CBNSpypost_D
  92.       Animation          = CBNSpypost_D.CBNSpypost_D
  93.       AnimationMode      = LOOP
  94.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  95.     End
  96.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT REALLYDAMAGED
  97.       Model              = CBNSpypost_E
  98.       Animation          = CBNSpypost_E.CBNSpypost_E
  99.       AnimationMode      = LOOP
  100.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  101.     End
  102.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW
  103.       Model              = CBNSpypost
  104.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  105.     End
  106.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW DAMAGED
  107.       Model              = CBNSpypost_D
  108.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  109.     End
  110.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW REALLYDAMAGED
  111.       Model              = CBNSpypost_E
  112.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  113.     End
  114.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
  115.       Model              = CBNSpypost
  116.       Animation          = CBNSpypost.CBNSpypost
  117.       AnimationMode      = LOOP
  118.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  119.     End
  120.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW DAMAGED
  121.       Model              = CBNSpypost_D
  122.       Animation          = CBNSpypost_D.CBNSpypost_D
  123.       AnimationMode      = LOOP
  124.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  125.     End
  126.     ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW REALLYDAMAGED
  127.       Model              = CBNSpypost_E
  128.       Animation          = CBNSpypost_E.CBNSpypost_E
  129.       AnimationMode      = LOOP
  130.       Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
  131.     End
  132.  
  133.     ConditionState       = AWAITING_CONSTRUCTION
  134.       Model              = NONE
  135.     End
  136.  
  137.     AliasConditionState  = AWAITING_CONSTRUCTION DAMAGED
  138.     AliasConditionState  = AWAITING_CONSTRUCTION REALLYDAMAGED
  139.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT
  140.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT DAMAGED
  141.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT REALLYDAMAGED
  142.     AliasConditionState  = AWAITING_CONSTRUCTION SNOW
  143.     AliasConditionState  = AWAITING_CONSTRUCTION SNOW DAMAGED
  144.     AliasConditionState  = AWAITING_CONSTRUCTION SNOW REALLYDAMAGED
  145.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT SNOW
  146.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT SNOW DAMAGED
  147.     AliasConditionState  = AWAITING_CONSTRUCTION NIGHT SNOW REALLYDAMAGED
  148.     AliasConditionState  = SOLD
  149.     AliasConditionState  = SOLD DAMAGED
  150.     AliasConditionState  = SOLD REALLYDAMAGED
  151.     AliasConditionState  = SOLD NIGHT
  152.     AliasConditionState  = SOLD NIGHT DAMAGED
  153.     AliasConditionState  = SOLD NIGHT REALLYDAMAGED
  154.     AliasConditionState  = SOLD SNOW
  155.     AliasConditionState  = SOLD SNOW DAMAGED
  156.     AliasConditionState  = SOLD SNOW REALLYDAMAGED
  157.     AliasConditionState  = SOLD NIGHT SNOW
  158.     AliasConditionState  = SOLD NIGHT SNOW DAMAGED
  159.     AliasConditionState  = SOLD NIGHT SNOW REALLYDAMAGED
  160.     ;**************************************************************************************************************************
  161.   End
  162.  End
  163.    
  164.   ; ------------ construction-zone fence -----------------
  165.  ReplaceModule ModuleTag_02
  166.   Draw = W3DModelDraw ModuleTag_02_Override
  167.   AnimationsRequirePower = No
  168.     DefaultConditionState
  169.       Model           = None
  170.       TransitionKey   = DOWN_DEFAULT
  171.     End
  172.     ConditionState    = NIGHT
  173.       Model           = None
  174.       TransitionKey   = DOWN_DEFAULT
  175.     End
  176.     ConditionState    = SNOW
  177.       Model           = None
  178.       TransitionKey   = DOWN_DEFAULT
  179.     End
  180.     ConditionState    = SNOW NIGHT
  181.       Model           = None
  182.       TransitionKey   = DOWN_DEFAULT
  183.     End
  184.     ConditionState    = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
  185.       Model           = NBPwrPlant_A4
  186.       Animation       = NBPwrPlant_A4.NBPwrPlant_A4
  187.       AnimationMode   = MANUAL
  188.       Flags           = START_FRAME_LAST
  189.       TransitionKey   = UP_DAY
  190.     End
  191.     ConditionState    = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
  192.       Model           = NBPwrPlant_A4N
  193.       Animation       = NBPwrPlant_A4N.NBPwrPlant_A4N
  194.       AnimationMode   = MANUAL
  195.       Flags           = START_FRAME_LAST
  196.       TransitionKey   = UP_NIGHT
  197.     End
  198.     ConditionState    = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
  199.       Model           = NBPwrPlant_A4S
  200.       Animation       = NBPwrPlant_A4S.NBPwrPlant_A4S
  201.       AnimationMode   = MANUAL
  202.       Flags           = START_FRAME_LAST
  203.       TransitionKey   = UP_SNOW
  204.     End
  205.     ConditionState    = SNOW NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
  206.       Model           = NBPwrPlant_A4SN
  207.       Animation       = NBPwrPlant_A4SN.NBPwrPlant_A4SN
  208.       AnimationMode   = MANUAL
  209.       Flags           = START_FRAME_LAST
  210.       TransitionKey   = UP_SNOWNIGHT
  211.     End
  212.     TransitionState   = DOWN_DEFAULT UP_DAY
  213.       Model           = NBPwrPlant_A4
  214.       Animation       = NBPwrPlant_A4.NBPwrPlant_A4
  215.       AnimationMode   = ONCE
  216.       AnimationSpeedFactorRange = 1.0 1.0
  217.       Flags           = START_FRAME_FIRST
  218.     End
  219.     TransitionState   = DOWN_DEFAULT UP_NIGHT
  220.       Model           = NBPwrPlant_A4N
  221.       Animation       = NBPwrPlant_A4N.NBPwrPlant_A4N
  222.       AnimationMode   = ONCE
  223.       AnimationSpeedFactorRange = 1.0 1.0
  224.       Flags           = START_FRAME_FIRST
  225.     End
  226.     TransitionState   = DOWN_DEFAULT UP_SNOW
  227.       Model           = NBPwrPlant_A4S
  228.       Animation       = NBPwrPlant_A4S.NBPwrPlant_A4S
  229.       AnimationMode   = ONCE
  230.       AnimationSpeedFactorRange = 1.0 1.0
  231.       Flags           = START_FRAME_FIRST
  232.     End
  233.     TransitionState   = DOWN_DEFAULT UP_SNOWNIGHT
  234.       Model           = NBPwrPlant_A4SN
  235.       Animation       = NBPwrPlant_A4SN.NBPwrPlant_A4SN
  236.       AnimationMode   = ONCE
  237.       AnimationSpeedFactorRange = 1.0 1.0
  238.       Flags           = START_FRAME_FIRST
  239.     End
  240.     TransitionState   = UP_DAY DOWN_DEFAULT
  241.       Model           = NBPwrPlant_A4
  242.       Animation       = NBPwrPlant_A4.NBPwrPlant_A4
  243.       AnimationMode   = ONCE_BACKWARDS
  244.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  245.       Flags           = START_FRAME_LAST
  246.     End
  247.     TransitionState   = UP_NIGHT DOWN_DEFAULT
  248.       Model           = NBPwrPlant_A4N
  249.  
  250.       Animation       = NBPwrPlant_A4N.NBPwrPlant_A4N
  251.       AnimationMode   = ONCE_BACKWARDS
  252.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  253.       Flags           = START_FRAME_LAST
  254.     End
  255.     TransitionState   = UP_SNOW DOWN_DEFAULT
  256.       Model           = NBPwrPlant_A4S
  257.       Animation       = NBPwrPlant_A4S.NBPwrPlant_A4S
  258.       AnimationMode   = ONCE_BACKWARDS
  259.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  260.       Flags           = START_FRAME_LAST
  261.     End
  262.     TransitionState   = UP_SNOWNIGHT DOWN_DEFAULT
  263.       Model           = NBPwrPlant_A4SN
  264.       Animation       = NBPwrPlant_A4SN.NBPwrPlant_A4SN
  265.       AnimationMode   = ONCE_BACKWARDS
  266.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  267.       Flags           = START_FRAME_LAST
  268.     End
  269.   End
  270.  End
  271.  
  272.   ; ------------ under-construction scaffolding -----------------
  273.  ReplaceModule ModuleTag_03
  274.   Draw = W3DModelDraw ModuleTag_03_Override
  275.   AnimationsRequirePower = No
  276.     MinLODRequired = MEDIUM
  277.     DefaultConditionState
  278.       Model           = None
  279.       TransitionKey   = DOWN_DEFAULT
  280.     End
  281.     ConditionState    = NIGHT
  282.       Model           = None
  283.       TransitionKey   = DOWN_DEFAULT
  284.     End
  285.     ConditionState    = SNOW
  286.       Model           = None
  287.       TransitionKey   = DOWN_DEFAULT
  288.     End
  289.     ConditionState    = SNOW NIGHT
  290.       Model           = None
  291.       TransitionKey   = DOWN_DEFAULT
  292.     End
  293.     ConditionState    = PARTIALLY_CONSTRUCTED
  294.       Model           = NBPwrPlant_A6
  295.       Animation       = NBPwrPlant_A6.NBPwrPlant_A6
  296.       AnimationMode   = MANUAL
  297.       Flags           = START_FRAME_LAST
  298.       TransitionKey   = UP_DAY
  299.       ParticleSysBone = Dust01 BuildingDustChina
  300.       ParticleSysBone = Smoke01 BuildUpSmokeChina
  301.       ParticleSysBone = Smoke02 BuildUpSmokeChina
  302.       ParticleSysBone = Smoke03 BuildUpSmokeChina
  303.       ParticleSysBone = Smoke04 BuildUpSmokeChina
  304.     End
  305.     ConditionState    = NIGHT PARTIALLY_CONSTRUCTED
  306.       Model           = NBPwrPlant_A6N
  307.       Animation       = NBPwrPlant_A6N.NBPwrPlant_A6N
  308.       AnimationMode   = MANUAL
  309.       Flags           = START_FRAME_LAST
  310.       TransitionKey   = UP_NIGHT
  311.       ParticleSysBone = Dust01 BuildingDustChina
  312.       ParticleSysBone = Smoke01 BuildUpSmokeChina
  313.       ParticleSysBone = Smoke02 BuildUpSmokeChina
  314.       ParticleSysBone = Smoke03 BuildUpSmokeChina
  315.       ParticleSysBone = Smoke04 BuildUpSmokeChina
  316.     End
  317.     ConditionState    = SNOW PARTIALLY_CONSTRUCTED
  318.       Model           = NBPwrPlant_A6S
  319.       Animation       = NBPwrPlant_A6S.NBPwrPlant_A6S
  320.       AnimationMode   = MANUAL
  321.       Flags           = START_FRAME_LAST
  322.       TransitionKey   = UP_SNOW
  323.       ParticleSysBone = Dust01 BuildingSnowDust
  324.       ParticleSysBone = Smoke01 BuildUpSnowSmoke
  325.       ParticleSysBone = Smoke02 BuildUpSnowSmoke
  326.       ParticleSysBone = Smoke03 BuildUpSnowSmoke
  327.       ParticleSysBone = Smoke04 BuildUpSnowSmoke
  328.     End
  329.     ConditionState    = SNOW NIGHT PARTIALLY_CONSTRUCTED
  330.       Model           = NBPwrPlant_A6SN
  331.       Animation       = NBPwrPlant_A6SN.NBPwrPlant_A6SN
  332.       AnimationMode   = MANUAL
  333.       Flags           = START_FRAME_LAST
  334.       TransitionKey   = UP_SNOWNIGHT
  335.       ParticleSysBone = Dust01 BuildingNightSnowDust
  336.       ParticleSysBone = Smoke01 BuildUpNightSnowSmoke
  337.       ParticleSysBone = Smoke02 BuildUpNightSnowSmoke
  338.       ParticleSysBone = Smoke03 BuildUpNightSnowSmoke
  339.       ParticleSysBone = Smoke04 BuildUpNightSnowSmoke
  340.     End
  341.     TransitionState   = DOWN_DEFAULT UP_DAY
  342.      Model            = NBPwrPlant_A6
  343.       Animation       = NBPwrPlant_A6.NBPwrPlant_A6
  344.       AnimationMode   = ONCE
  345.       AnimationSpeedFactorRange = 1.0 1.0
  346.       Flags           = START_FRAME_FIRST
  347.     End
  348.     TransitionState   = DOWN_DEFAULT UP_NIGHT
  349.      Model            = NBPwrPlant_A6N
  350.       Animation       = NBPwrPlant_A6N.NBPwrPlant_A6N
  351.       AnimationMode   = ONCE
  352.       AnimationSpeedFactorRange = 1.0 1.0
  353.       Flags           = START_FRAME_FIRST
  354.     End
  355.     TransitionState   = DOWN_DEFAULT UP_SNOW
  356.      Model            = NBPwrPlant_A6S
  357.       Animation       = NBPwrPlant_A6S.NBPwrPlant_A6S
  358.       AnimationMode   = ONCE
  359.       AnimationSpeedFactorRange = 1.0 1.0
  360.       Flags           = START_FRAME_FIRST
  361.     End
  362.     TransitionState   = DOWN_DEFAULT UP_SNOWNIGHT
  363.      Model            = NBPwrPlant_A6SN
  364.       Animation       = NBPwrPlant_A6SN.NBPwrPlant_A6SN
  365.       AnimationMode   = ONCE
  366.       AnimationSpeedFactorRange = 1.0 1.0
  367.       Flags           = START_FRAME_FIRST
  368.     End
  369.     TransitionState   = UP_DAY DOWN_DEFAULT
  370.       Model           = NBPwrPlant_A6
  371.       Animation       = NBPwrPlant_A6.NBPwrPlant_A6
  372.       AnimationMode   = ONCE_BACKWARDS
  373.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  374.       Flags           = START_FRAME_LAST
  375.     End
  376.     TransitionState   = UP_NIGHT DOWN_DEFAULT
  377.       Model           = NBPwrPlant_A6N
  378.       Animation       = NBPwrPlant_A6N.NBPwrPlant_A6N
  379.       AnimationMode   = ONCE_BACKWARDS
  380.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  381.       Flags           = START_FRAME_LAST
  382.     End
  383.     TransitionState   = UP_SNOW DOWN_DEFAULT
  384.       Model           = NBPwrPlant_A6S
  385.       Animation       = NBPwrPlant_A6S.NBPwrPlant_A6S
  386.       AnimationMode   = ONCE_BACKWARDS
  387.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  388.       Flags           = START_FRAME_LAST
  389.     End
  390.     TransitionState   = UP_SNOWNIGHT DOWN_DEFAULT
  391.       Model           = NBPwrPlant_A6SN
  392.       Animation       = NBPwrPlant_A6SN.NBPwrPlant_A6SN
  393.       AnimationMode   = ONCE_BACKWARDS
  394.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  395.       Flags           = START_FRAME_LAST
  396.     End
  397.   End
  398.  End
  399.  
  400.   ; ------------ being-constructed crane -----------------
  401.  ReplaceModule ModuleTag_04
  402.   Draw = W3DModelDraw ModuleTag_04_Override
  403.   AnimationsRequirePower = No
  404.     DefaultConditionState
  405.       Model           = None
  406.       TransitionKey   = DOWN_DEFAULT
  407.     End
  408.     ConditionState    = NIGHT
  409.       Model           = None
  410.       TransitionKey   = DOWN_DEFAULT
  411.     End
  412.     ConditionState    = SNOW
  413.       Model           = None
  414.       TransitionKey   = DOWN_DEFAULT
  415.     End
  416.     ConditionState    = SNOW NIGHT
  417.       Model           = None
  418.       TransitionKey   = DOWN_DEFAULT
  419.     End
  420.     ConditionState    = SOLD
  421.       Model           = NONE
  422.     End
  423.  
  424.     ConditionState  = ACTIVELY_BEING_CONSTRUCTED
  425.       Model           = NBPwrPlant_A5
  426.       Animation       = NBPwrPlant_A5.NBPwrPlant_A5
  427.       AnimationMode   = LOOP
  428.       TransitionKey  = UP_DAY
  429.     End
  430.  
  431.     ConditionState  = NIGHT ACTIVELY_BEING_CONSTRUCTED
  432.       Model           = NBPwrPlant_A5N
  433.       Animation       = NBPwrPlant_A5N.NBPwrPlant_A5N
  434.       AnimationMode   = LOOP
  435.       TransitionKey  = UP_NIGHT
  436.     End
  437.     ConditionState  = SNOW ACTIVELY_BEING_CONSTRUCTED
  438.       Model           = NBPwrPlant_A5S
  439.       Animation       = NBPwrPlant_A5S.NBPwrPlant_A5S
  440.       AnimationMode   = LOOP
  441.       TransitionKey  = UP_SNOW
  442.     End
  443.     ConditionState  = SNOW NIGHT ACTIVELY_BEING_CONSTRUCTED
  444.       Model           = NBPwrPlant_A5SN
  445.       Animation       = NBPwrPlant_A5SN.NBPwrPlant_A5SN
  446.       AnimationMode   = LOOP
  447.       TransitionKey  = UP_SNOWNIGHT
  448.     End
  449.     TransitionState   = DOWN_DEFAULT UP_DAY
  450.       Model            = NBPwrPlant_AB
  451.       Animation       = NBPwrPlant_AB.NBPwrPlant_AB
  452.       AnimationMode   = ONCE
  453.       AnimationSpeedFactorRange = 1.0 1.0
  454.       Flags           = START_FRAME_FIRST
  455.     End
  456.  
  457.     TransitionState   = DOWN_DEFAULT UP_NIGHT
  458.       Model            = NBPwrPlant_ABN
  459.       Animation       = NBPwrPlant_ABN.NBPwrPlant_ABN
  460.       AnimationMode   = ONCE
  461.       AnimationSpeedFactorRange = 1.0 1.0
  462.       Flags           = START_FRAME_FIRST
  463.     End
  464.     TransitionState   = DOWN_DEFAULT UP_SNOW
  465.       Model            = NBPwrPlant_ABS
  466.       Animation       = NBPwrPlant_ABS.NBPwrPlant_ABS
  467.       AnimationMode   = ONCE
  468.       AnimationSpeedFactorRange = 1.0 1.0
  469.       Flags           = START_FRAME_FIRST
  470.     End
  471.     TransitionState   = DOWN_DEFAULT UP_SNOWNIGHT
  472.       Model            = NBPwrPlant_ABSN
  473.       Animation       = NBPwrPlant_ABSN.NBPwrPlant_ABSN
  474.       AnimationMode   = ONCE
  475.       AnimationSpeedFactorRange = 1.0 1.0
  476.       Flags           = START_FRAME_FIRST
  477.     End
  478.     TransitionState   = UP_DAY DOWN_DEFAULT
  479.       Model            = NBPwrPlant_AB
  480.       Animation       = NBPwrPlant_AB.NBPwrPlant_AB
  481.       AnimationMode   = ONCE_BACKWARDS
  482.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  483.       Flags           = START_FRAME_LAST
  484.     End
  485.     TransitionState   = UP_NIGHT DOWN_DEFAULT
  486.       Model            = NBPwrPlant_ABN
  487.       Animation       = NBPwrPlant_ABN.NBPwrPlant_ABN
  488.       AnimationMode   = ONCE_BACKWARDS
  489.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  490.       Flags           = START_FRAME_LAST
  491.     End
  492.     TransitionState   = UP_SNOW DOWN_DEFAULT
  493.       Model            = NBPwrPlant_ABS
  494.       Animation       = NBPwrPlant_ABS.NBPwrPlant_ABS
  495.       AnimationMode   = ONCE_BACKWARDS
  496.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  497.       Flags           = START_FRAME_LAST
  498.     End
  499.     TransitionState   = UP_SNOWNIGHT DOWN_DEFAULT
  500.       Model            = NBPwrPlant_ABSN
  501.       Animation       = NBPwrPlant_ABSN.NBPwrPlant_ABSN
  502.       AnimationMode   = ONCE_BACKWARDS
  503.       AnimationSpeedFactorRange = 2.0 2.0   ; play teardown animations more quickly
  504.       Flags           = START_FRAME_LAST
  505.     End
  506.   End
  507.  End
  508.  
  509.   ; ***DESIGN parameters ***
  510.   DisplayName      = OBJECT:InternetCenter
  511.   Prerequisites
  512.     Object = ChinaInternetCenter Infa_ChinaInternetCenter Nuke_ChinaInternetCenter Tank_ChinaInternetCenter
  513.   End
  514.   EnergyProduction  = 0  
  515.   CommandSet       = ChinaWebCenterCommandSet
  516.  
  517.   ; *** AUDIO Parameters ***
  518.   VoiceSelect = WebCenterChinaSelect
  519.  
  520.   ; *** ENGINEERING Parameters ***
  521.   RadarPriority       = STRUCTURE
  522.   KindOf              = PRELOAD STRUCTURE SELECTABLE IMMOBILE SCORE IMMUNE_TO_CAPTURE MP_COUNT_FOR_VICTORY FS_INTERNET_CENTER
  523.  
  524.   AddModule
  525.     Behavior = InternetHackContain ModuleTag_15 ; Contain module that gives aiHackInternet command to passengers
  526.     PassengersAllowedToFire = No
  527.     Slots                 = 4
  528.     ScatterNearbyOnExit   = No
  529.     HealthRegen%PerSec    = 10
  530.     DamagePercentToUnits  = 50%
  531.     AllowInsideKindOf     = MONEY_HACKER
  532.     ExitDelay         = 500
  533.     NumberOfExitPaths = 1 ; Defaults to 1.  Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
  534.     GoAggressiveOnExit = No ; AI Will tell people to set their mood to Aggressive on exiting
  535.   End
  536.  End
  537.  
  538.   RemoveModule ModuleTag_06
  539.   RemoveModule ModuleTag_11
  540.   RemoveModule ModuleTag_12
  541.   RemoveModule ModuleTag_13
  542.  
  543.  ReplaceModule ModuleTag_16
  544.   Behavior = FlammableUpdate ModuleTag_16_Override
  545.     FlameDamageLimit = 20         ;Catch fire if I take this much fire damage...
  546.     FlameDamageExpiration = 2000  ;in a span of this long
  547.     AflameDuration = 5000         ; If I catch fire, I'll burn for this long...
  548.     AflameDamageAmount = 25       ; taking this much damage...
  549.     AflameDamageDelay = 500       ; this often.
  550.   End
  551.  End
  552.  
  553.  ReplaceModule ModuleTag_17
  554.   Behavior = TransitionDamageFX ModuleTag_17_Override
  555.     ;-------------DESIGNED FOR MEDIUM SIZED FACTION BUILDING TRANSITIONS-------------------
  556.     DamagedParticleSystem1          = Bone:None RandomBone:No PSys:StructureTransitionSmallSmoke
  557.     ;---------------------------------------------------------------------------------------
  558.     ReallyDamagedParticleSystem1 = Bone:None RandomBone:No PSys:StructureTransitionSmallSmoke
  559.     ReallyDamagedParticleSystem2 = Bone:None RandomBone:No PSys:StructureTransitionSmallExplosion
  560.     ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave
  561.     ;---------------------------------------------------------------------------------------
  562.     RubbleParticleSystem1              = Bone:None RandomBone:No PSys:StructureTransitionSmallSmoke
  563.     RubbleParticleSystem2              = Bone:None RandomBone:No PSys:StructureTransitionSmallExplosion
  564.     RubbleParticleSystem3              = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave
  565.     RubbleParticleSystem4              = Bone:None RandomBone:No PSys:StructureTransitionSmallFlare    
  566.   End
  567.  End
  568.  
  569.  ReplaceModule ModuleTag_25
  570.   Behavior = CommandSetUpgrade ModuleTag_25_Override
  571.     CommandSet = ChinaWebCenterCommandSetUpgrade
  572.     TriggeredBy = Upgrade_ChinaMines
  573.   End
  574.  End
  575.  
  576.   Geometry            = BOX
  577.   GeometryMajorRadius = 22.0
  578.   GeometryMinorRadius = 19.0
  579.   GeometryHeight      = 53.0
  580.   GeometryIsSmall     = No
  581.   Shadow              = SHADOW_VOLUME
  582.   BuildCompletion     = PLACED_BY_PLAYER
  583.  
  584. End
  585.  
  586. ;------------------------------------------------------------------------------
  587. CommandButton Boss_Command_ConstructChinaSupplyCenter
  588.   Command       = DOZER_CONSTRUCT
  589.   Object        = Boss_SupplyCenter
  590.   TextLabel     = OBJECT:InternetCenter
  591.   ButtonImage   = SSNetHack
  592.   ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  593.   DescriptLabel           = CONTROLBAR:ToolTipChinaBuildInternetCenter
  594. End
  595.  
  596. ;------------------------------------------------------------------------------
  597. CommandSet ChinaWebCenterCommandSet
  598.   1 = Command_StructureExit
  599.   2 = Command_StructureExit
  600.   3 = Command_StructureExit
  601.   4 = Command_StructureExit
  602.   12 = Command_UpgradeChinaMines
  603.   13 = Command_Evacuate
  604.   14 = Command_Sell
  605. End
  606. CommandSet ChinaWebCenterCommandSetUpgrade
  607.   1 = Command_StructureExit
  608.   2 = Command_StructureExit
  609.   3 = Command_StructureExit
  610.   4 = Command_StructureExit
  611.   12 = Command_UpgradeEMPMines
  612.   13 = Command_Evacuate
  613.   14 = Command_Sell  
  614. End
  615.  
  616. ;------------------------------------------------------------------------------
  617. CommandSet ChinaDozerCommandSet
  618.   1  = Command_ConstructChinaPowerPlant
  619.   2  = Command_ConstructChinaInternetCenter
  620.   3  = Command_ConstructChinaBarracks
  621.   4  = Command_ConstructChinaAirfield
  622.   5  = Command_ConstructChinaSupplyCenter
  623.   6  = Command_ConstructChinaPropagandaCenter
  624.   7  = Command_ConstructChinaBunker
  625.   8  = Command_ConstructChinaSpeakerTower
  626.   9  = Command_ConstructChinaGattlingCannon
  627.  10  = Command_ConstructChinaNuclearMissileLauncher
  628.  11  = Command_ConstructChinaWarFactory
  629.  12  = Command_ConstructChinaCommandCenter
  630.  13  = Boss_Command_ConstructChinaSupplyCenter
  631.  14  = Command_DisarmMinesAtPosition
  632. End
  633. CommandSet Infa_ChinaDozerCommandSet
  634.   1  = Infa_Command_ConstructChinaPowerPlant
  635.   2  = Infa_Command_ConstructChinaInternetCenter
  636.   3  = Infa_Command_ConstructChinaBarracks
  637.   4  = Infa_Command_ConstructChinaAirfield
  638.   5  = Infa_Command_ConstructChinaSupplyCenter
  639.   6  = Infa_Command_ConstructChinaPropagandaCenter
  640.   7  = Infa_Command_ConstructChinaBunker
  641.   8  = Infa_Command_ConstructChinaSpeakerTower
  642.   9  = Infa_Command_ConstructChinaGattlingCannon
  643.  10  = Infa_Command_ConstructChinaNuclearMissileLauncher
  644.  11  = Infa_Command_ConstructChinaWarFactory
  645.  12  = Infa_Command_ConstructChinaCommandCenter
  646.  13  = Boss_Command_ConstructChinaSupplyCenter
  647.  14  = Command_DisarmMinesAtPosition
  648. End
  649. CommandSet Nuke_ChinaDozerCommandSet
  650.   1  = Nuke_Command_ConstructChinaPowerPlant
  651.   2  = Nuke_Command_ConstructChinaInternetCenter
  652.   3  = Nuke_Command_ConstructChinaBarracks
  653.   4  = Nuke_Command_ConstructChinaAirfield
  654.   5  = Nuke_Command_ConstructChinaSupplyCenter
  655.   6  = Nuke_Command_ConstructChinaPropagandaCenter
  656.   7  = Nuke_Command_ConstructChinaBunker
  657.   8  = Nuke_Command_ConstructChinaSpeakerTower
  658.   9  = Nuke_Command_ConstructChinaGattlingCannon
  659.  10  = Nuke_Command_ConstructChinaNuclearMissileLauncher
  660.  11  = Nuke_Command_ConstructChinaWarFactory
  661.  12  = Nuke_Command_ConstructChinaCommandCenter
  662.  13  = Boss_Command_ConstructChinaSupplyCenter
  663.  14  = Command_DisarmMinesAtPosition
  664. End
  665. CommandSet Tank_ChinaDozerCommandSet
  666.   1  = Tank_Command_ConstructChinaPowerPlant
  667.   2  = Tank_Command_ConstructChinaInternetCenter
  668.   3  = Tank_Command_ConstructChinaBarracks
  669.   4  = Tank_Command_ConstructChinaAirfield
  670.   5  = Tank_Command_ConstructChinaSupplyCenter
  671.   6  = Tank_Command_ConstructChinaPropagandaCenter
  672.   7  = Tank_Command_ConstructChinaBunker
  673.   8  = Tank_Command_ConstructChinaSpeakerTower
  674.   9  = Tank_Command_ConstructChinaGattlingCannon
  675.  10  = Tank_Command_ConstructChinaNuclearMissileLauncher
  676.  11  = Tank_Command_ConstructChinaWarFactory
  677.  12  = Tank_Command_ConstructChinaCommandCenter
  678.  13  = Boss_Command_ConstructChinaSupplyCenter
  679.  14  = Command_DisarmMinesAtPosition
  680. End
  681. ;------------------------------------------------------------------------------
  682. AudioEvent WebCenterChinaSelect
  683.   Sounds= ihacseta
  684.   Limit= 1
  685.   Volume= 60
  686.   Type = ui player
  687. End
Add Comment
Please, Sign In to add comment