logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,640
Total Threads: 8,743
Posts: 95,502

Administrators:
DeeZire, Redemption

There are currently 50 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Closed Thread
 
LinkBack Thread Tools
Old 03-10-2003, 04:30 AM   #1 (permalink)
dd5
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 3
Send a message via ICQ to dd5
Default hover tank... again,

I tried to modify the normal crusader to be a hover tank by cloning it then adding the hover tank stuff to it.. the game gives me the error of death :dead: .
Can somone tell me whats wrong with it?
that is all.

;------------------------------------------------------------------------------
Object AmericaTankCrusader

; *** ART Parameters ***
SelectPortrait = SACLeopard_L
ButtonImage = SACLeopard

UpgradeCameo1 = Upgrade_AmericaBattleDrone
UpgradeCameo2 = Upgrade_AmericaScoutDrone
UpgradeCameo3 = Upgrade_AmericaAdvancedTraining
UpgradeCameo4 = Upgrade_AmericaCompositeArmor
;UpgradeCameo5 = NONE

Draw = W3DModelDraw ModuleTag_01

ConditionState = NONE
Model = AVCrusader
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
TransitionKey = TRANS_Drive
End

ConditionState = MOVING
Model = AVCrusader
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
TransitionKey = TRANS_Drive
ParticleSysBone = TreadFX01 QuadCannonDust
ParticleSysBone = TreadFX02 QuadCannonDust
End

ConditionState = REALLYDAMAGED
Model = AVCrusader_D
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
TransitionKey = TRANS_DriveDamaged
End

AliasConditionState = DAMAGED
AliasConditionState = MOVING DAMAGED
AliasConditionState = MOVING REALLYDAMAGED
ConditionState = RUBBLE
Model = AVCrusader_D
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
End

ConditionState = WEAPONSET_PLAYER_UPGRADE
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
TransitionKey = TRANS_Hover
End

ConditionState = WEAPONSET_PLAYER_UPGRADE MOVING
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
ParticleSysBone = TreadFX01 QuadCannonDust
ParticleSysBone = TreadFX02 QuadCannonDust
TransitionKey = TRANS_Hover
End

ConditionState = WEAPONSET_PLAYER_UPGRADE REALLYDAMAGED
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
TransitionKey = TRANS_HoverDamaged
End

AliasConditionState = WEAPONSET_PLAYER_UPGRADE DAMAGED
AliasConditionState = WEAPONSET_PLAYER_UPGRADE MOVING DAMAGED
AliasConditionState = WEAPONSET_PLAYER_UPGRADE MOVING REALLYDAMAGED
ConditionState = WEAPONSET_PLAYER_UPGRADE RUBBLE
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
End

TransitionState = TRANS_DriveDamaged TRANS_HoverDamaged
Model = AVCrusader_A
HideSubObject = TurretFX01
Animation = AVCRUSADER_A.AVCRUSADER_A
AnimationMode = ONCE
End

TransitionState = TRANS_Drive TRANS_Hover
Model = AVCrusader_A
HideSubObject = TurretFX01
Animation = AVCRUSADER_A.AVCRUSADER_A
AnimationMode = ONCE
End

ConditionState = WEAPONSET_PLAYER_UPGRADE OVER_WATER
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
End

ConditionState = WEAPONSET_PLAYER_UPGRADE MOVING OVER_WATER
Model = AVCrusader_H
Turret = Turret
WeaponFireFXBone = PRIMARY TurretMS
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TurretFX
WeaponLaunchBone = PRIMARY TurretMS
ParticleSysBone = TreadFX01 AmphibWave
End

AliasConditionState = WEAPONSET_PLAYER_UPGRADE MOVING OVER_WATER REALLYDAMAGED
TrackMarks = EXTnkTrack.tga
TreadAnimationRate = 2.0 ; amount of tread texture to move per second
TreadDriveSpeedFraction = 0.3 ; fraction of locomotor speed below which treads stop moving.
TreadPivotSpeedFraction = 0.6 ; fraction of locomotor speed below which we allow pivoting.
OkToChangeModelColor = Yes
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Crusader
Side = America
EditorSorting = VEHICLE
TransportSlotCount = 3
WeaponSet
Conditions = None
Weapon = PRIMARY CrusaderTankGun
End
WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY CrusaderTankGun
End
; Uncomment this when we want the crusader to have a machine too again
;Weapon = SECONDARY CrusaderMachineGun
End
ArmorSet
Conditions = None
Armor = TankArmor
DamageFX = TankDamageFX
End
;ArmorSet
; Conditions = PLAYER_UPGRADE
; Armor = UpgradedTankArmor
; DamageFX = TankDamageFX
;End
BuildCost = 900
BuildTime = 10.0 ;in seconds
VisionRange = 150
ShroudClearingRange = 300
Prerequisites
Object = AmericaWarFactory
End
ExperienceValue = 100 100 200 400 ;Experience point value at each level
ExperienceRequired = 0 200 300 600 ;Experience points needed to gain each level
IsTrainable = Yes ;Can gain experience
CrusherLevel = 2 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
CommandSet = AmericaTankCrusaderCommandSet

; *** AUDIO Parameters ***
VoiceSelect = CrusaderTankVoiceSelect
VoiceMove = CrusaderTankVoiceMove
VoiceGuard = CrusaderTankVoiceMove
VoiceAttack = CrusaderTankVoiceAttack
SoundMoveStart = CrusaderTankMoveStart
SoundMoveStartDamaged = CrusaderTankMoveStart
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = CrusaderTankVoiceCreate
VoiceEnter = CrusaderTankVoiceMove
TurretMoveStart = NoSound
TurretMoveLoop = TurretMoveLoop
SoundEject = PilotSoundEject
VoiceEject = PilotVoiceEject
VoiceCrush = CrusaderTankVoiceCrush
End

; *** ENGINEERING Parameters ***
RadarPriority = UNIT
KindOf = PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS VEHICLE SCORE

Body = ActiveBody ModuleTag_02
MaxHealth = 480
InitialHealth = 480
End

Behavior = AIUpdateInterface ModuleTag_03
Turret
TurretTurnRate = 180 ;60 // turn rate, in degrees per sec
ControlledWeaponSlots= PRIMARY
End
AutoAcquireEnemiesWhenIdle = Yes
End
Locomotor = SET_NORMAL CrusaderLocomotor
Locomotor = SET_NORMAL_UPGRADED BasicAmphibiousLocomotor
Behavior = PhysicsBehavior ModuleTag_04
Mass = 50.0
End

Behavior = ObjectCreationUpgrade ModuleTag_05
UpgradeObject = OCL_AmericanBattleDrone
TriggeredBy = Upgrade_AmericaBattleDrone
ConflictsWith = Upgrade_AmericaScoutDrone
End
Behavior = ObjectCreationUpgrade ModuleTag_06
UpgradeObject = OCL_AmericanScoutDrone
TriggeredBy = Upgrade_AmericaScoutDrone
ConflictsWith = Upgrade_AmericaBattleDrone
End
Behavior = ProductionUpdate ModuleTag_07
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End

Behavior = ExperienceScalarUpgrade ModuleTag_08
TriggeredBy = Upgrade_AmericaAdvancedTraining
AddXPScalar = 1.0 ;Increases experience gained by an additional 100%
End
Behavior = MaxHealthUpgrade ModuleTag_09
TriggeredBy = Upgrade_AmericaCompositeArmor
AddMaxHealth = 100.0
ChangeType = ADD_CURRENT_HEALTH_TOO ;Choices are PRESERVE_RATIO, ADD_CURRENT_HEALTH_TOO, and SAME_CURRENTHEALTH
End

; Turret fly off death
Behavior = SlowDeathBehavior ModuleTag_10
DeathTypes = ALL -CRUSHED -SPLATTED
ProbabilityModifier = 50
DestructionDelay = 500
DestructionDelayVariance = 100
FX = INITIAL FX_GenericTankDeathEffect
OCL = MIDPOINT OCL_GenericTankDeathEffect
FX = FINAL FX_GenericTankDeathExplosion
OCL = FINAL OCL_CrusaderTurret
End

; Catch fire, and explode death
Behavior = SlowDeathBehavior ModuleTag_11
DeathTypes = ALL -CRUSHED -SPLATTED
ProbabilityModifier = 50
DestructionDelay = 2000
DestructionDelayVariance = 300
FX = INITIAL FX_CrusaderCatchFire
OCL = FINAL OCL_GenericTankDeathEffect
FX = FINAL FX_GenericTankDeathExplosion
End

Behavior = TransitionDamageFX ModuleTag_12
ReallyDamagedParticleSystem1 = Bone:Smoke RandomBone:Yes PSys:SmallLightSmokeColumn
ReallyDamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_BattleMasterDamageTransition
End

Behavior = DestroyDie ModuleTag_13
DeathTypes = NONE +CRUSHED +SPLATTED
End

; A crushing defeat
Behavior = FXListDie ModuleTag_14
DeathTypes = NONE +CRUSHED +SPLATTED
DeathFX = FX_CarCrush
End

Behavior = CreateObjectDie ModuleTag_15
DeathTypes = NONE +CRUSHED +SPLATTED
CreationList = OCL_CrusaderTank_CrushEffect
End

Behavior = CreateCrateDie ModuleTag_CratesChange
CrateData = SalvageCrateData
;CrateData = EliteTankCrateData
;CrateData = HeroicTankCrateData
End

Behavior = EjectPilotDie ModuleTag_17
GroundCreationList = OCL_EjectPilotOnGround
AirCreationList = OCL_EjectPilotViaParachute
ExemptStatus = HIJACKED
VeterancyLevels = ALL -REGULAR ;only vet+ gives pilot
End

Behavior = MaxHealthUpgrade ModuleTag_18
TriggeredBy = Upgrade_AmericaCompositeArmor
AddMaxHealth = 100.0
ChangeType = ADD_CURRENT_HEALTH_TOO ;Choices are PRESERVE_RATIO, ADD_CURRENT_HEALTH_TOO, and SAME_CURRENTHEALTH
End

Behavior = FlammableUpdate ModuleTag_21
AflameDuration = 5000 ; If I catch fire, I'll burn for this long...
AflameDamageAmount = 3 ; taking this much damage...
AflameDamageDelay = 500 ; this often.
End

Behavior = WeaponSetUpgrade ModuleTag_22
TriggeredBy = Upgrade_AmericaAdvancedTraining
End
Behavior = LocomotorSetUpgrade ModuleTag_23
TriggeredBy = Upgrade_AmericaAdvancedTraining
End

Geometry = BOX
GeometryMajorRadius = 15.0
GeometryMinorRadius = 10.0
GeometryHeight = 10.0
GeometryIsSmall = Yes
Shadow = SHADOW_VOLUME
ShadowSizeX = 45 ; minimum elevation angle above horizon. Used to limit shadow length

End
dd5 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03-10-2003, 08:54 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: The netherlands
Posts: 100
Send a message via AIM to Quicksilva Send a message via MSN to Quicksilva Send a message via Yahoo to Quicksilva
Default

where can i find the hover tank files????
Quicksilva is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03-10-2003, 09:41 AM   #3 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

;Weapon = SECONDARY CrusaderMachineGun
End

Delete that 'End' statement - and check your code more thoroughly before making such a huge post :| Cant believe someone needs help to spot that.
__________________
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GEN/ZH] Enable Leopard "Hover" Tank Acid Member Written Tutorials 2 03-07-2008 08:57 PM
Leopard tank to Hover and back. Is it possible? Tesla-Chrono Generals & Zero Hour Editing 9 01-03-2005 11:24 AM
Hover Tank - Question on it and its upgrade Azad0r Generals & Zero Hour Editing 1 02-22-2004 05:20 AM
Hover Tank Zoop Generals & Zero Hour Editing 23 04-29-2003 06:47 PM
New Unit: Hover Tank warlord Generals & Zero Hour Editing 4 04-11-2003 12:16 AM


All times are GMT -4. The time now is 04:57 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.