Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 4:55 pm
All times are UTC + 0
Airburst weapon problem
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Mar 21, 2010 9:51 pm    Post subject:  Airburst weapon problem Reply with quote  Mark this post and the followings unread

I usually dont have to many problems with coding, but this one seems to give me static, I dont know if I'm having a brain fart or what but it IE's and I cant decifer the problem.

Code:
[Airburst2]
Damage=25
Range=55
Projectile=AirburstP2
Warhead=HE2

[AirburstP2]
Proximity=yes
Dropping=yes
Cluster=9
Image=none
Airburst=yes
AirburstWeapon=Cluster2
Ranged=yes
AA=no
ROT=4


[Cluster2]
Damage=80
ROF=80
Projectile=ClusterBits2
Range=16
Speed=20
Warhead=HE3

[ClusterBits2]
Arm=2
Shadow=no
Proximity=yes
Ranged=yes
Image=WCCLOUD1
ROT=60

[HE2]   
CellSpread=1.9
PercentAtMax=1
Wall=yes
Wood=yes
Verses=100%,100%,100%,30%,5%,5%,85%,50%,30%,100%,0%
Conventional=yes
Rocker=no
InfDeath=2
AnimList=WCCLOUD1,WCCLOUD2,WCCLOUD3
Tiberium=yes
Sparky=no

[HE3]   
CellSpread=1.9
PercentAtMax=1
Wall=yes
Wood=yes
Verses=100%,100%,100%,30%,5%,5%,85%,50%,30%,100%,0%
Conventional=yes
Rocker=no
InfDeath=2
AnimList=WCLBOLT1,WCLBOLT2,WCLBOLT3
Tiberium=yes
Sparky=no

_________________

The enemy shall be injected with toxic poison - Venom

Last edited by Cranium on Mon Mar 22, 2010 3:14 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Mar 21, 2010 10:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

If that's the complete code you obviously made several mistakes
a) where's the Speed and ROF key for the Airburst2 weapon; this looks sloppy incomplete
b) do you gave a dummy unit the airburstweapon Cluster2
c) Dropping=yes could cause problems here too, though i'm not sure. But since the cluster weapon has to be a missile and dropping forces it to be a falling projectile, this can cause an IE too.

My advice: copy and paste and edit a working cluster weapon code instead of writing every key manually by heart.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Sun Mar 21, 2010 11:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

What Lin Kuei Ominae said is correct.

Also try this:

[Airburst2]
Damage=1
ROF=80
Range=55
Projectile=AirburstP2
Warhead=HE2

;you could have this do damage, but since your doing a weather generator theme, clouds shouldn't damage units.

[AirburstP2]
Arm=2
Proximity=yes
High=yes
VeryHigh=yes
Cluster=9
Image=none
Airburst=yes
AirburstWeapon=Cluster2
AA=no
ROT=4
Inaccurate=yes
FlakScatter=yes


[Cluster2]
Damage=80
ROF=80
Projectile=ClusterBits2
Range=16
Speed=20
Warhead=HE3

[ClusterBits2]
Arm=2
Shadow=no
Proximity=yes
Ranged=yes
Image=WCCLOUD
ROT=60
Inaccurate=yes
FlakScatter=yes

[HE2]
CellSpread=1
PercentAtMax=1
Wall=no
Wood=no
Verses=5%,5%,5%,5%,5%,5%,5%,5%,5%,5%,0%
Conventional=no
Rocker=no
InfDeath=2
AnimList=WCCLOUD1,WCCLOUD2,WCCLOUD3
Tiberium=no
Sparky=no

[HE3]
CellSpread=1.9
PercentAtMax=1
Wall=yes
Wood=yes
Verses=100%,100%,100%,30%,5%,5%,85%,50%,30%,100%,0%
Conventional=yes
Rocker=no
InfDeath=2
AnimList=WCLBOLT1,WCLBOLT2,WCLBOLT3
Tiberium=yes
Sparky=no

Now make sure you add Cluster2 to a dummy unit.

_________________
Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.

Enjoy Everyone!

Back to top
View user's profile Send private message Visit poster's website
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Mar 21, 2010 11:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I didnt have to do either of those suggestions. I found the problem and it was a simple mistake on my part. If you take a look at the [ClusterBits2] it had Image=WCCLOUD and should have been WCCLOUD1. I added the 1 and now it works perfectly. The IE I was getting was due to incorrect image.

But thanks guys! I always apprciate input whether it be right or wrong.

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Mon Mar 22, 2010 12:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Does a nice little weather storm Very Happy



Animation1.gif
 Description:
 Filesize:  1.32 MB
 Viewed:  2234 Time(s)

Animation1.gif



_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
Eldrei
Missile Trooper


Joined: 11 Mar 2010
Location: Fixin' in mah PPM.

PostPosted: Mon Mar 22, 2010 10:09 am    Post subject: Reply with quote  Mark this post and the followings unread

CODES IMMEDIATELY!!!!

What are those gases falling below the clouds?!!!

_________________
Clazzy wrote:
If the concept of a God was never created, would we invent one to describe what's outside our universe?

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Mon Mar 22, 2010 3:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Eldrei wrote:
CODES IMMEDIATELY!!!!


you cant be serious right? they are right up top in plain green text. Very Happy
just dont forget to change the wccloud to wccloud1. Hang on, I'll change it for you.

Fixed!

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
undermannen
Cyborg Soldier


Joined: 22 Dec 2008
Location: Where you are not.

PostPosted: Mon Mar 22, 2010 3:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

noticed that the airplane gets a little damaged...

_________________
Dont look in his eyes!

Back to top
View user's profile Send private message
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Mon Mar 22, 2010 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well duh it gets damaged. Since he didn't listen to my advice about clouds doing damage...... The first weapon shouldn't be doing damage....

That said, its fine if he wants it the way he wants it. I still think flakscatter and innaccurate would be good for the lighting.

Oh and the clouds falling down are just a glitch in which the animation generated from the first weapons aircode follows the projectile of the second airburst weapon.

The solution here would be to set the first weapon for a small range and let the weapon instead of the warhead spawn the animation clouds.

Back to top
View user's profile Send private message Visit poster's website
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Mon Mar 22, 2010 5:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

EricAnimeFreak wrote:
Well duh it gets damaged. Since he didn't listen to my advice about clouds doing damage......


This is exactly how it was intended to work, Although Planes do get damaged in lightning storms, I only used the plane for testing purposes. And besides, 1 point of damage isnt a big concern anyway.

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1988s ][ Queries: 14 (0.0097s) ][ Debug on ]