Posted: Sun Mar 21, 2010 9:51 pm Post subject:
Airburst weapon problem
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.
_________________
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 QUICK_EDIT
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
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.
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 QUICK_EDIT
you cant be serious right? they are right up top in plain green text.
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 QUICK_EDIT
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. QUICK_EDIT
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 QUICK_EDIT
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