View Single Post
Old 06-30-2003, 05:07 PM   #8 (permalink)
ArtilleryMaster
Junior Member
 
Join Date: Jun 2003
Location: Canada
Posts: 11
Default

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
These are the entries that were created/edited for my mod.
__________________________________________________ _____________
CommandButton Command_ConstructChinaCargoPlane
Command = UNIT_BUILD
Object = ChinaCargoPlane
TextLabel = CONTROLBAR:ConstructChinaCargoPlane
ButtonImage = china_cargoplane
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipChinaCargoPlane
End
__________________________________________________ _____________
CommandSet ChinaAirfieldCommandSet
1 = Command_ConstructChinaJetMIG
2 = Command_UpgradeChinaAircraftArmor
;3 = Command_NapalmStrike
4 = Command_ConstructChinaCargoPlane
10 = Command_UpgradeChinaMines
12 = Command_Sell
End
__________________________________________________ _______________
CommandSet ChinaCargoPlaneCommandSet
1 = Command_TransportExit
2 = Command_TransportExit
3 = Command_TransportExit
4 = Command_TransportExit
5 = Command_TransportExit
6 = Command_TransportExit
7 = Command_transportExit
8 = Command_TransportExit
9 = Command_TransportExit
10 = Command_EmptyCrawler
12 = Command_Stop
End
__________________________________________________ __________________
Object ChinaCargoPlane

SelectPortrait = china_cargoplane
ButtonImage = china_cargoplane

; *** ART Parameters ***
Draw = W3DModelDraw ModuleTag_01
DefaultConditionState
Model = NVCargoPln
Animation = NVCargoPln.NVCargoPln
AnimationMode = LOOP
ParticleSysBone = Propeller01 JetBlackTrailThin
ParticleSysBone = Propeller02 JetBlackTrailThin
ParticleSysBone = Propeller03 JetBlackTrailThin
ParticleSysBone = Propeller04 JetBlackTrailThin
ParticleSysBone = WingTip01 JetContrailThin
ParticleSysBone = WingTip02 JetContrailThin
End
ConditionState = DAMAGED
Model = NVCargoPln_D
Animation = NVCargoPln_D.NVCargoPln_D
AnimationMode = MANUAL
Flags = START_FRAME_FIRST
ParticleSysBone = Smoke01 JetFireLarge
ParticleSysBone = Smoke03 JetFireLarge
ParticleSysBone = Propeller01 JetBlackTrailThin
ParticleSysBone = Propeller02 JetBlackTrailThin
ParticleSysBone = Propeller03 JetBlackTrailThin
ParticleSysBone = Propeller04 JetBlackTrailThin
ParticleSysBone = Smoke01 JetSmokeLarge
ParticleSysBone = Smoke03 JetSmokeLarge
ParticleSysBone = WingTip01 JetContrailThin
ParticleSysBone = WingTip02 JetContrailThin
End
ConditionState = REALLYDAMAGED
Model = NVCargoPln_D
Animation = NVCargoPln_D.NVCargoPln_D
AnimationMode = MANUAL
Flags = START_FRAME_FIRST
ParticleSysBone = Smoke01 JetFireLarge
ParticleSysBone = Smoke03 JetFireLarge
ParticleSysBone = Smoke04 JetFireLarge
ParticleSysBone = Propeller03 JetBlackTrailThin
ParticleSysBone = Propeller04 JetBlackTrailThin
ParticleSysBone = Smoke01 JetSmokeLarge
ParticleSysBone = Smoke03 JetSmokeLarge
ParticleSysBone = Smoke04 JetSmokeLarge
ParticleSysBone = WingTip01 JetContrailThin
ParticleSysBone = WingTip02 JetContrailThin
End
ConditionState = RUBBLE
Model = NVCargoPln_D1
ParticleSysBone = Smoke01 JetFireLarge
ParticleSysBone = Smoke06 JetFireLarge
ParticleSysBone = Smoke03 JetFireLarge
ParticleSysBone = Smoke04 JetFireLarge
ParticleSysBone = Smoke01 JetSmokeLarge
ParticleSysBone = Smoke06 JetSmokeLarge
ParticleSysBone = Smoke03 JetSmokeLarge
ParticleSysBone = Smoke04 JetSmokeLarge
End

OkToChangeModelColor = Yes
End

Draw = W3DModelDraw ModuleTag_02
DefaultConditionState
Model = NVCargoPln_A2
Animation = NVCargoPln_A2.NVCargoPln_A2
AnimationMode = MANUAL
Flags = START_FRAME_FIRST
End
End

; ***DESIGN parameters ***
DisplayName = OBJECT:ChinaCargoPlane
EditorSorting = VEHICLE
Side = China
TransportSlotCount = 0 ;how many "slots" we take in a transport (0 == not transportable)
VisionRange = 205.0
ShroudClearingRange = 301.0

Prequisites
Object = ChinaAirfield
End

ArmorSet
Conditions = None
Armor = AirplaneArmor
DamageFX = None
End

BuildCost = 1450
Buildtime = 15
ExperienceValue = 40 40 40 40 ; Experience point value at each level
ExperienceRequired= 0 40 50 60
IsTrainable = No
CrusherLevel = 0
CrushableLevel = 2
CommandSet = ChinaCargoPlaneCommandSet

; *** AUDIO Parameters ***
VoiceSelect = MigVoiceSelect
VoiceMove = MigVoiceMove
SoundAmbient = C130AmbientLoop
End

; *** ENGINEERING Parameters ***
RadarPriority = UNIT
KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS CAN_ATTACK VEHICLE TRANSPORT SCORE AIRCRAFT
Body = ActiveBody ModuleTag_03
MaxHealth = 175.0
InitialHealth = 175.0
End


Behavior = PhysicsBehavior ModuleTag_04
Mass = 500.0
End

Locomotor = SET_NORMAL ChinaCargoPlaneLocomotor
Locomotor = SET_TAXIING BasicJetTaxiLocomotor

Behavior = TransportContain ModuleTag_05
Slots = 9 ; hey, it's a BIG transport
InitialPayload = ChinaRedGuard 8
ScatterNearbyOnExit = No
Health%RegenPerSecond = 11
Damage%OnExit = 99%
AllowInsideKindOf = INFANTRY VEHICLE DOZER
NumberOfExitPaths = 1
GoAgressiveOnExit = Yes
End

Behavior = JetSlowDeathBehavior ModuleTag_12
FXOnGroundDeath = FX_JetOnGroundDeath
OCLOnGroundDeath = OCL_MigDeathFinalBlowup
DestructionDelay = 2000
RollRate = 0.0
RollRateDelta = 100% ;each frame, rollrate = rollrate * rollrateDelta
PitchRate = 0
FallHowFast = 25.0% ;Bigger is faster (can be over 100%,it's a fraction of gravity)
FXInitialDeath = FX_JetBigDeathInitial
OCLInitialDeath = OCL_AmericaJetCargoDeathStart
DelaySecondaryFromInitialDeath = 2000 ; in milliseconds This guy won't hit the ground, so this time equals the above time
OCLSecondary = OCL_AmericaJetCargoHulkDeath
FXSecondary = FX_BigPlaneDeath
End

ClientUpdate = AnimatedParticleSysBoneClientUpdate ModuleTag_13
End

Behavior = TransitionDamageFX ModuleTag_14
DamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_JetBigDamageTransition
ReallyDamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_JetBigDamageTransition
End

Geometry = Box
GeometryIsSmall = No
GeometryMajorRadius = 40.0
GeometryMinorRadius = 10.0
GeometryHeight = 10.0
Shadow = SHADOW_VOLUME
ShadowSizeX = 89 ; minimum elevation angle above horizon. Used to limit shadow length

End
__________________________________________________ _______________
Locomotor ChinaCargoPlaneLocomotor

Surfaces = AIR
Speed = 115
SpeedDamaged = 99
; !!! DO NOT REDUCE MinSpeed BELOW 60 UNTIL LANDINGS ARE FIXED (srj)
MinSpeed = 60
TurnRate = 30
TurnRateDamaged = 26
Acceleration = 101 ; note that this needs to be AT LEAST 100 in order to clear the runway of current Chinese airfields. (srj)
AccelerationDamaged = 30
Lift = 120
LiftDamaged = 80
Braking = 10
MinTurnSpeed = 150
PreferredHeight = 100
AllowAirborneMotiveForce = Yes
ZAxisBehavior = SURFACE_RELATIVE_HEIGHT
CirclingRadius = 101
Appearance = WINGS

PitchInDirectionOfZVelFactor = 1.0 ; how much to pitch according to our z-vel. 0=none, 1=lots (0=default)
PitchStiffness = 0.5 ; stiffness of the "springs" in the suspension forward & back.
RollStiffness = 0.4 ; stiffness of the "springs" in the suspension side to side.
PitchDamping = 0.9 ; How fast it damps. 0=perfect spring, bounces forever. 1=glued to terrain.
RollDamping = 0.8 ; How fast it damps. 0=perfect spring, bounces forever. 1=glued to terrain.
ForwardVelocityPitchFactor = 0 ; How much velocity will cause the front to lift/dip
LateralVelocityRollFactor = 0.2 ; How much cornering will cause the chassis to roll.
Apply2DFrictionWhenAirborne = Yes
AirborneTargetingHeight = 30
LocomotorWorksWhenDead = Yes ; JetSlowDeathBehavior needs this to function correctly
End
__________________________________________________ ____________________

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
ArtilleryMaster is offline   Reply With Quote