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 Wed Apr 24, 2024 4:54 am
All times are UTC + 0
Vacuum Bomb Airstrike Help!
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Wed Aug 26, 2009 10:21 pm    Post subject:  Vacuum Bomb Airstrike Help! Reply with quote  Mark this post and the followings unread

So I'm trying to make an airstrike superweapon with NPatch. Everything was straightforward until it screwed up. I use the superweapon by clicking the icon, then my mouse becomes a parachute(on purpose, there was no other good cursors), then the plane comes in but sometimes it doesn't fire the weapon.

On Construction Yard: Always fire.
On blank ground: Most of the times fire.
On blank ground with some spare structures: Never fires.
On top of defensive structure: Half of the times fire.
On units: Most of the times don't fire.

Here's the codes:

Code:

[AircraftTypes]
...
15=SASPlane

[Warheads]
...
144=VacuumBombWH

[SuperWeaponTypes]
...
14=SovietAirstrikeSpecial

[SovietAirstrikeSpecial]
UIName=Name:SovietAirstrike
Name=Airstrike
IsPowered=false
RechargeTime=8
Type=SpyPlane
Action=SAirstrike
SidebarImage=AIRSTRIKEICON
ShowTimer=no
DisableableFromShell=no
FlashSidebarTabFrames=120
SpyPlane=SASPlane
SpyPlanesNum=1
IsAirstrike=yes
EvaReady=none
EvaActivated=none
AITargetingType=1
Range=5

[SASPlane]
FlyBy=true
Spawned=yes
UIName=Name:SASPlane
Name=Soviet Airstrike Plane
Primary=VacuumBomb
CanPassiveAquire=no
CanRetaliate=no
Strength=1540
Category=AirLift
Armor=heavy
TechLevel=-1
Sight=5
RadarInvisible=no
Landable=no
MoveToShroud=yes
Speed=10
PitchAngle=0
OmniFire=yes
DeathWeapon=BlimpBomb
Points=50
ROT=3
Ammo=1
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=10
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
Trainable=no
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
LeadershipRating=10
Selectable=no

[VacuumBomb]
Damage=300
ROF=10
Range=2
Speed=15
Warhead=VacuumBombWH
Report=KirovAttack
Bright=yes
Projectile=Invisible2

[VacuumBombWH]
Wall=yes
Wood=yes
CellSpread=5
PercentAtMax=2
Verses=500%,500%,500%,300%,70%,200%,100%,100%,75%,400%,100%
Conventional=no
InfDeath=4
AnimList=WHOOPBOOM
ProneDamage=20%


Art codes are correct, I am very frustrated, someone HELP!

Oh yes, I am using NPatch Special Edition 0022.


EDIT: Oh yes, SASPlane also has Fighter=yes on.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Aug 26, 2009 10:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

The range of the weapon is too short.

With 2 it's barely able to reach the ground under the plane due to it's high flightlevel, which is considered too when calculating the distance between aircraft and target.
Since buildings raise a bit the range due to their big size, it works on your conyard. But smaller targets cause problems. (e.g. a 5x5 building can be shot even with a range=1 weapon which still reaches the centre cell which is actually 3 cells away).

With Range=3 it should work much better.

Also take care if you raise the flightlevel. e.g. with a FlightLevel=3000, range=3 surely won't be enough too.

_________________
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
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Wed Aug 26, 2009 11:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

ill try it now, your solution is very logical.

Back to top
View user's profile Send private message
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Wed Aug 26, 2009 11:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Tried and works 100% with Range=4. Thx LKO. Now I just wanna know how is it that it can destroy a conyard with one shot?

Back to top
View user's profile Send private message
Team SomeGuy
General


Joined: 18 Aug 2006

PostPosted: Thu Aug 27, 2009 2:46 am    Post subject: Reply with quote  Mark this post and the followings unread

001010011100101110 wrote:
Tried and works 100% with Range=4. Thx LKO. Now I just wanna know how is it that it can destroy a conyard with one shot?


Splash weapons (also known as CellSpread >= 1) affect ALL of the cells affected in a single building. From 1x1 like Pillboxes to 4x4 like Conyards. This means damage (dependent on PercentAtMax) is applied upwards of 16 or more times potentially.

Even a low damage weapon can end up doing tons of damage this way. Possible bug afaik, but that's the way it is.

Let's put this in example format shall we?

First the code: (assumes everything declared beforehand)

Code:

[SplashGun]
Damage=30
ROF=30
Range=6
Projectile=Invisible
Warhead=SplashWH

[SplashWH]
CellSpread=1.0
Verses=100%,100%,100%,25%,38%,45%,13%,25%,1000%,1%,0%
PercentAtMax=0.1
Anim=EXPLOLRG


In this setup SplashGun will do 30 damage before warhead to whatever it can (or cannot, see the 0%) hit. Against a lone unit it just affects that. Against a 3 stack infantry in one cell it affects all of them. A 2 stack on 1 cell and a lone in an adjacent cell will all take damage but one of the groups will take the splash as opposed to the direct hit.

Now against a building it is a much different beast. Take the Allied Repair Depot (3x3), the weapon will hit the center cell. Now before you think it does just the 30 damage, take the CellSpread into account. A 3x3 structure like this from a CellSpread=1 will have EVERY cell affected. That is equal to 30x9 or 270 damage before attenuation (warhead adjustments). That's a lot of damage.

Now lets say the CellSpread was upped to 2.0. Now we attack a Conyard (4x4), the direct attack while it doesn't affect 1 exact cell it will however affect a 2 cell distance around it. This means that all 16 cells are hit. Thus 16x30=480 damage before adjustments. A 3x3 structure with the same settings will still take 30x9=270 for comparison.

Yes as CellSpread increases damage against larger Foundation= structures increases. Yet conversely in scale, damage does NOT increase for structures smaller than the CellSpread radius. Once it affects all the cells in a building, no amount of CellSpread increase will cause more damage.

Don't look at me that way, I didn't write the damn thing.

Back to top
View user's profile Send private message
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Fri Aug 28, 2009 10:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Basically look at ww warheads before you post, your wh 22800 dmg x 2 (PercentAtMax=2) on 5 cells.

Your construction yard in comparison has 1000 concrete hp by default

% think of them as simple multiples so 400% is the base damage times 4

PercentAtMax is how much dmg a cell spread should do. This never exceeds 1 for obvious reasons. (the main dmg of a shell is at the epi centre and should weaken as it "spreads" out)

You could have easily looked at the NUKEWH or HE for example.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 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.1712s ][ Queries: 11 (0.0093s) ][ Debug on ]