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

Forum Info
Forum Members: 18,575
Total Threads: 8,656
Posts: 94,426

Administrators:
DeeZire, Redemption

There are currently 64 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Dumb bombs overshooting targets & sliding on the ground

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

Reply
 
LinkBack Thread Tools
Old 07-15-2006, 03:13 AM   #1 (permalink)
Junior Member
 
Join Date: Jul 2005
Posts: 4
Default Dumb bombs overshooting targets & sliding on the ground

Hello all

I recently posted 'Have super weapons, button's, shortcut's, jet's etc., bombs don't drop WTF? topic. I'd like 2 thank all whom have helped in looking into the INI's. Thanks, again.

News Flash! with the help of many not just in the DeeZire Forms but across the C&C modding community I funking got the F4 Napalm Strike to work. How with trial and errrrrrror. Seriously now it gets interesting when I select the target the bombs overshoot their target, but do detonate and what's even wicked is that the bombs slide on the ground until they hit a solid structure be it a rock, hill, or building to stop there momentum and the bomb models stay in game and don't disentigrate. It's like they never blew up?

I've been mostly working with 'WeaponObject', 'ObjectCreationList', and Weapon.INI's' I am sure there is code somewhere that will drop the dumb bombs accurately on target. And one for the sliding dumb bombs.

Here are the INI's

;-----------------------------------------------------------------------------

WeaponObject.INI

;------------------------------------------------------------------------------
Object F4NapalmBomb

; *** ART Parameters ***
Draw = W3DModelDraw ModuleTag_01
OkToChangeModelColor = Yes
DefaultConditionState
Model = AVBomber_B
End
End

; ***DESIGN parameters ***
DisplayName = OBJECT:F4NapalmBomb
EditorSorting = SYSTEM
VisionRange = 300.0 ; Projectiles can't see, but superweapons *may need to*
TransportSlotCount = 1 ; since Napalm Strike carries us as payload, not weapon
ArmorSet
Conditions = None
Armor = ProjectileArmor
DamageFX = None
End

; *** AUDIO Parameters ***
SoundFallingFromPlane = DaisyCutterWeapon

; *** ENGINEERING Parameters ***
KindOf = PROJECTILE
Body = ActiveBody ModuleTag_02
MaxHealth = 100.0
InitialHealth = 100.0
End

Behavior = AIUpdateInterface ModuleTag_03
End

Locomotor = SET_NORMAL None

; ---- begin Projectile death behaviors
; Behavior = InstantDeathBehavior DeathModuleTag_01
; DeathTypes = ALL ;NONE +DETONATE
; FX = FX_F4NapalmBombExplosion ; we detonated normally
; OCL = OCL_F4NapalmBomb ; no FX, just quiet destroy ourselves
; End
; Behavior = InstantDeathBehavior DeathModuleTag_02
; DeathTypes = NONE +LASERED
; ; shot down by laser.
; FX = FX_GenericMissileDisintegrate
; OCL = OCL_GenericMissileDisintegrate
; End
; Behavior = InstantDeathBehavior DeathModuleTag_03
; DeathTypes = ALL -LASERED -DETONATED
; ; shot down by nonlaser.
; FX = FX_GenericMissileDeath
; End
; ---- end Projectile death behaviors

Behavior = PhysicsBehavior ModuleTag_04
Mass = 75.0
AerodynamicFriction = 0.1 ; this is now friction-per-sec
ForwardFriction = 0.1 ; this is now friction-per-sec
CenterOfMassOffset = 0.13 ; Default of 0 means nothing tips as it falls. Positive tips forward, negative tips back
End

Behavior = CreateObjectDie ModuleTag_05
DeathTypes = ALL
; CreationList = OCL_F4NapalmBomb
CreationList = OCL_FirestormSmall
End

Behavior = HeightDieUpdate ModuleTag_06
TargetHeight = 1.0
TargetHeightIncludesStructures = No
End

Behavior = SpecialPowerCompletionDie ModuleTag_07
SpecialPowerTemplate = SuperweaponF4NapalmStrike
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_08
DeathWeapon = F4NapalmBombWeapon
StartsActive = Yes
; ConflictsWith = Upgrade_ChinaBlackNapalm
End

; Behavior = FireWeaponWhenDeadBehavior ModuleTag_09
; DeathWeapon = BlackNapalmBombWeapon
; StartsActive = No
; TriggeredBy = Upgrade_ChinaBlackNapalm
; End

Geometry = Sphere
GeometryIsSmall = Yes
GeometryMajorRadius = 1.0
Scale = 0.7

End

;------------------------------------------------------------------------------------

ObjectCreationsList.INI

;------------------------------------------------------------------------------------
ObjectCreationList OCL_F4NapalmBomb
CreateObject
ObjectNames = F4NapalmBomb
Disposition = LIKE_EXISTING INHERIT_VELOCITY
Count = 1
MinLifetime = 3000
MaxLifetime = 3000
Offset = X:30 Y:0 Z:0
End
End

;------------------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_F4NapalmStrike
DeliverPayload
Transport = AmericaJetF4phantom
;FormationSize = 1
;FormationSpacing = 35.0
WeaponConvergenceFactor = 1.0
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-2
DropVariance = X:30 Y:40 Z:0
DropDelay = 0
Payload = F4NapalmBomb 1
; FireWeapon = Yes
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

;------------------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_F4NapalmStrike1
DeliverPayload
Transport = AmericaJetF4phantom
FormationSize = 1
FormationSpacing = 35.0
WeaponConvergenceFactor = 1.0
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-2
DropVariance = X:30 Y:40 Z:0
DropDelay = 0
Payload = F4NapalmBomb 1
; FireWeapon = Yes
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

;------------------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_F4NapalmStrike2
DeliverPayload
Transport = AmericaJetF4phantom
FormationSize = 2
FormationSpacing = 35.0
WeaponConvergenceFactor = 1.0
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-2
DropVariance = X:30 Y:40 Z:0
DropDelay = 0
Payload = F4NapalmBomb 1
; FireWeapon = Yes
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

;------------------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_F4NapalmStrike3
DeliverPayload
Transport = AmericaJetF4phantom
FormationSize = 3
FormationSpacing = 35.0
WeaponConvergenceFactor = 1.0
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-2
DropVariance = X:30 Y:40 Z:0
DropDelay = 0
Payload = F4NapalmBomb 1
; FireWeapon = Yes
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

;------------------------------------------------------------------------------------

Weapon.INI

;------------------------------------------------------------------------------------
Weapon F4NapalmBombWeapon
PrimaryDamage = 75.0
PrimaryDamageRadius = 5.0
SecondaryDamage = 40.0
SecondaryDamageRadius = 30.0
DamageType = EXPLOSION ; since creates OCL_FirestormSmall to do the flame damage
DeathType = EXPLODED
WeaponSpeed = 99999.0 ; dist/sec
AttackRange = 300.0
MinimumAttackRange = 100.0
ProjectileObject = F4NapalmBomb
; ProjectileExhaust = MissileExhaust
RadiusDamageAffects = SELF ALLIES ENEMIES NEUTRALS NOT_SIMILAR
DelayBetweenShots = 0 ; time between shots, msec
ClipSize = 1
ClipReloadTime = 0
AutoReloadsClip = No
; AntiGround = Yes
FireOCL = OCL_FirestormSmall
; DamageDealtAtSelfPosition = Yes
ProjectileCollidesWith = STRUCTURES
; AntiAirborneVehicle = No
; AntiAirborneInfantry = No
ProjectileDetonationFX = WeaponFX_F4NapalmBombDetonation
End

;------------------------------------------------------------------------------------
jimmieshields is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 01:45 AM   #2 (permalink)
Junior Member
 
Join Date: Jul 2005
Posts: 4
Default

Hello all

I like to thank all whom had helped and taken the time to look over my INI edits.

I'd also like to let everyone know that I got 'kinks' out and the dumb bombs now drop on their selected target and don't slide along the ground.

In closing, I will post these INI's here soon. You to can add a USA superweapon napalm strike to your jets.

please stay tune...
jimmieshields is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 03:50 AM   #3 (permalink)
Member
 
Join Date: Nov 2005
Posts: 83
Send a message via ICQ to SamB Send a message via MSN to SamB
Default

sound cool thanks mate
SamB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-20-2006, 01:44 PM   #4 (permalink)
Member
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to EchoMods.com
Default

I have had problems with bombs before
EchoMods.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-24-2006, 07:15 PM   #5 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

well...for one you should put up in the weapons.ini that the projectile collides with STRUCTURES INFANTRY VEHICLE... second i think its in the OCL ini in the way its dropped and the friction and such... im sure if i looked at it long enough i would figure it out...but im tired and back from a 10 day vacation... so i will help everyone probally tomorrow after i unpack and stuff...
SmokeyDaBear 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
B1 Won't drop bombs!? SmokeyDaBear Generals & Zero Hour Editing 3 06-28-2005 11:50 PM
Pathfinder painting targets jmb8785 Generals & Zero Hour Editing 10 11-22-2003 04:11 PM
A Dumb Noobs Idea (Please humour me here) Olix Generals & Zero Hour Editing 11 10-27-2003 11:33 PM
Spetznaz and Ivan Bombs Seafox Red Alert 2 & Yuri's Revenge Editing 3 06-23-2003 11:41 AM
BOMBS? devin11590 Red Alert 2 & Yuri's Revenge Editing 7 05-26-2003 11:34 AM


All times are GMT -4. The time now is 12:09 AM.


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