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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,885

Administrators:
DeeZire, Redemption

There are currently 18 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.

Reply
 
LinkBack Thread Tools
Old 03-17-2003, 12:29 PM   #11 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Dayon
Posts: 112
Default

Gar! It wont work!

Seeing how this topic was sunk i dont think anyone will mind me posting my code.


Quote:
;------------------------------------------------------------------------------
Object AmericaTankFrog

; *** 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 = AVLeopard
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

TransitionState = TRANS_Drive TRANS_Hover
Model = AVCrusader_A
HideSubObject = TurretFX01
Animation = AVCRUSADER_A.AVCRUSADER_A
AnimationMode = ONCE
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

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:Frog
Side = America
EditorSorting = VEHICLE
TransportSlotCount = 3

WeaponSet
Conditions = None
Weapon = PRIMARY CrusaderTankGun
End

WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY CrusaderTankGun
End

ArmorSet
Conditions = None
Armor = TankArmor
DamageFX = TankDamageFX
End
;ArmorSet
; Conditions = PLAYER_UPGRADE
; Armor = UpgradedTankArmor
; DamageFX = TankDamageFX
;End
BuildCost = 1000
BuildTime = 11.0 ;in seconds
VisionRange = 140
ShroudClearingRange = 250
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 = 400
InitialHealth = 400
End

Behavior = AIUpdateInterface ModuleTag_03
Turret
TurretTurnRate = 200 ;60 // turn rate, in degrees per sec
ControlledWeaponSlots= PRIMARY
End
AutoAcquireEnemiesWhenIdle = Yes
End

Locomotor = SET_NORMAL CrusaderLocomotor
Behavior = PhysicsBehavior ModuleTag_04
Mass = 50.0
End

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

Behavior = WeaponSetUpgrade ModuleTag_10
TriggeredBy = Upgrade_AmericaAdvancedTraining
End

Behavior = LocomotorSetUpgrade ModuleTag_11
TriggeredBy = Upgrade_AmericaAdvancedTraining
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

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
I made a new unit which worked find. I tryed to add the hovering stuff and it wont work. I can't see what i've done wrong.
Detail is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2003, 12:57 PM   #12 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 167
Send a message via AIM to TheGreatVirus Send a message via MSN to TheGreatVirus
Default

I made it simple for the noobz by making the Crusader tutorial into a MOD of course the credits go to DeeZire but anyway it can be downloaded here: http://www.news.gameannex.com/site_f...S&site=AoDJHh0



Note: All W3D files etc for it are in the MOD.
TheGreatVirus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2003, 01:36 PM   #13 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: CANADA
Posts: 275
Default

Behavior = WeaponSetUpgrade ModuleTag_10
TriggeredBy = Upgrade_AmericaAdvancedTraining
End

Behavior = LocomotorSetUpgrade ModuleTag_11
TriggeredBy = Upgrade_AmericaAdvancedTraining
End

are supposed to be...


Behavior = WeaponSetUpgrade ModuleTag_22
TriggeredBy = Upgrade_AmericaAdvancedTraining
End

Behavior = LocomotorSetUpgrade ModuleTag_23
TriggeredBy = Upgrade_AmericaAdvancedTraining
End
Kuja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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
Hovering Crusader Problem Dex369 Generals & Zero Hour Editing 4 03-07-2004 06:28 PM
Crusader II (Heavy Crusader) alasz11 Generals & Zero Hour Editing 21 12-09-2003 07:19 PM
Hovering Plane? Oldfaq Generals & Zero Hour Editing 14 04-10-2003 01:27 PM
Re-enabling Hovering Crusader Black_Eagle Generals & Zero Hour Editing 4 03-07-2003 07:33 PM
Amphibious crusader again? Sponge Generals & Zero Hour Editing 14 02-24-2003 04:16 PM


All times are GMT -4. The time now is 03:53 AM.


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