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

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 108 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 05-12-2006, 05:49 PM   #1 (permalink)
Junior Member
 
Join Date: May 2006
Posts: 12
Send a message via Yahoo to darklight33
Default Projectiles randomly do no damage?

Hey guys,

Ok I'm confused or have overlooked something and I need help. I have created a simple scatter bomb I like using the code below, however.... Although it normally does exactly what it should do (fall down go BOOM) every once in a while (especially if the target is a structure) the bombs strike the target I get a lot of fancy shock and awe glamor but not a single point of damge is done, can someone tell me if this code is in error or something else i need to look at/add?

THANKS ALL
__________________________________________________ _________
Weapon Z1_ScatterBomb
PrimaryDamage = 1000.0
PrimaryDamageRadius = 100
AttackRange = 300.0
AcceptableAimDelta = 45
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 120
ProjectileObject = ChinaArtilleryBarrageShell
FireFX = FX_AuroraBombLaunch
ProjectileDetonationFX = Nuke_WeaponFX_NukeCannon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
ClipSize = 8 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 2000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE
ShowsAmmoPips = Yes
ProjectileCollidesWith = ENEMIES STRUCTURES WALLS SHRUBBERY
ProjectileDetonationOCL = OCL_GenericCarExplode
AntiGround = Yes
SecondaryDamage = 0
SecondaryDamageRadius = 0
ScatterRadiusVsInfantry = 0
ScatterRadius = 0
ScatterTargetScalar = 25
ScatterTarget = X: 0.75 Y: 0.75
ScatterTarget = X: 0.000 Y: 0.150
ScatterTarget = X:-0.75 Y: 0.75
ScatterTarget = X:-0.75 Y:-0.75
ScatterTarget = X: 0.000 Y:-0.150
ScatterTarget = X: 0.75 Y:-0.75
darklight33 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-2006, 10:49 PM   #2 (permalink)
Teb
Junior Member
 
Join Date: May 2006
Posts: 22
Default

Try checking the secondary damage, it's set to zero.
Teb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 12:39 AM   #3 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Adding secondary damage wouldn't fix the problem tho, at least i don't think.

You need to make sure that either the weapon specifies that the projectile collides w/ structures or the heightdie behavior of the projectile (not sure which).
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 03:06 AM   #4 (permalink)
Junior Member
 
Join Date: May 2006
Posts: 12
Send a message via Yahoo to darklight33
Default

Ok... Originally when I built this part I used a different projectile type (which reflected the same problem), I had first used the BattleMasterTankShell Object, based on another thread in the forums of a similar nature I added the following behavior ro the battlemastertankshell object code:

Behavior = HeightDieUpdate ModuleTag_05
TargetHeight = 1.0
TargetHeightIncludesStructures = Yes
OnlyWhenMovingDown = Yes
SnapToGroundOnDeath = Yes
End

This did not fix the problem under that object, Also in the code posted above I had this line:
"ProjectileCollidesWith = ENEMIES STRUCTURES WALLS SHRUBBERY "
which I assume would tell the object that collision with a structure is possible and should be treated the same as any other impact. Now that being said, I have switched the projectile object to the ChinaArtilleryBarrageShell mainly for astetic reasons, but the problem is it still retains the same problem of sometimes no damage to a structure. Now note: I have NOT added a HeightDieUpdate module to the chinashell object, 1.) because it didnt work last time and 2.) im not sure I am setting the options correct anyways..lol

What gets me the most though is the fact that it's random, majority of the time the impacts damge or destroy a target structure and in almost every case destroy a vehicle. but, sometimes it don't, so now the question becomes if I'm missing something or if I screwed up the heightdie update module or whatever else might be the problem. Best I can tell theres nothing wrong or odd about the code? THanks in advance for any help guys
darklight33 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 06:05 AM   #5 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

like Teb already told you check the SecondaryDamage in your existing code. it's set to 0, as well as SecondaryDamageRadius

simply comments out these lines...


//EDIT:

Weapon Z1_ScatterBomb
PrimaryDamage = 1000.0
PrimaryDamageRadius = 100
AttackRange = 300.0
AcceptableAimDelta = 45
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 120
ProjectileObject = ChinaArtilleryBarrageShell
FireFX = FX_AuroraBombLaunch
ProjectileDetonationFX = Nuke_WeaponFX_NukeCannon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
ClipSize = 8
ClipReloadTime = 2000
AutoReloadsClip = RETURN_TO_BASE ; eeh... why this? "No" would make sense
ShowsAmmoPips = Yes ; also... why this?

ProjectileCollidesWith = ENEMIES STRUCTURES WALLS SHRUBBERY
ProjectileDetonationOCL = OCL_GenericCarExplode
AntiGround = Yes
SecondaryDamage = 0 ; comment it out
SecondaryDamageRadius = 0 ; comment it out

ScatterRadiusVsInfantry = 0
ScatterRadius = 0
ScatterTargetScalar = 25
ScatterTarget = X: 0.75 Y: 0.75
ScatterTarget = X: 0.000 Y: 0.150 ; you know that it's VERY near the origin?
ScatterTarget = X:-0.75 Y: 0.75
ScatterTarget = X:-0.75 Y:-0.75
ScatterTarget = X: 0.000 Y:-0.150 ; you know that it's VERY near the origin?
ScatterTarget = X: 0.75 Y:-0.75
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 06:41 AM   #6 (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

so wait you still having problems with it?


if so im kidna with GITW, i think you gotta edit the projectiles that are ejected to tell them what weapon to fire when and stuff like that...cause i know there is a entry under the HeightDieUpdate that explains if the height is also generated for structures...


but this if of course you still having prolems
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 09:55 AM   #7 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

ok so try changing the heightdie update to this:
Code:
Behavior = HeightDieUpdate ModuleTag_05
TargetHeight = 1.0
TargetHeightIncludesStructures = No
OnlyWhenMovingDown = Yes
SnapToGroundOnDeath = Yes
End
--- OR --- (yes, if that doesn't work change it back and do this)
change the line in the weapon code to this:
ProjectileCollidesWith = WALLS

I'm guessing its more likely the projectile heightdie behavior. The scud storm used to have the same problem. Dee fixed this in progen, but I'm not sure about EA.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 03:10 PM   #8 (permalink)
IHM
Senior Member
 
Join Date: Oct 2003
Location: England
Posts: 272
Send a message via MSN to IHM
Default

Dont they have a death weapon or soemthing stupid.
IHM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2006, 11:16 PM   #9 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Yeah, but the death weapon doesn't always work. The problem is simular to the scud storm bug where if the scud missile hits a building it doesn't deal any damage.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2006, 11:32 AM   #10 (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

ywea...guy in the window right...if you ever done a scud storm on top of a command center...it does almost nothing to the command center...just the stuff around it...
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
Subdual damage Retnuh Generals & Zero Hour Editing 1 04-11-2005 08:21 AM
Strafing Planes and Projectiles AntiSocialKindaGuy Generals & Zero Hour Editing 0 03-15-2005 11:02 AM
Bug, 1 million Rebels spawning randomly on the map. Nermal Generals & Zero Hour Editing 14 08-19-2004 12:44 AM
Where Can I find the Projectiles? Oldfaq Generals & Zero Hour Editing 5 04-25-2003 12:15 AM
Projectiles Cartman Red Alert 2 & Yuri's Revenge Editing 2 02-23-2003 06:52 AM


All times are GMT -4. The time now is 02:08 PM.


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