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 Sat Apr 20, 2024 4:33 pm
All times are UTC + 0
Airstrike Bug
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
PePsiCola
Cyborg Specialist


Joined: 28 Dec 2010
Location: The United States

PostPosted: Sat Dec 28, 2013 6:09 pm    Post subject:  Airstrike Bug Reply with quote  Mark this post and the followings unread

If anyone remembers me saying how I never used to be able to get Ares working properly, well I started using it yesterday. I finally got to add in the airstrikes I always wanted to have.

So I made two airstrikes. One for Korea which is one normal bomb airstrike, and one for Libya which is one nuclear bomb. Sometimes however, there will be no explosion with the bomb.

With the Libyan airstrike for example, sometimes there will be a nuke explosion, and other times there will just be a field of radiation with no explosion, causing almost no damage. It's as if the warhead doesn't hit but the weapon does.

Here are the weapon codes
Code:

[BombStrike]
Damage=600
ROF=80
Range=5
CellRangefinding=yes
Projectile=BomberBombP3
Speed=20
Bright=yes
Warhead=KStrikeWH
Report=KirovAttack

[NukeStrike]
Damage=600
ROF=80
Range=5
CellRangefinding=yes
Projectile=BomberBomb
Speed=20
RadLevel=300
Bright=yes
Warhead=NukeAirstrikeWH
Report=KirovAttack

[BomberBomb]
Image=ZBOMB
Arm=10
Shadow=no
Ranged=yes
ROT=80
Parachuted=yes
IgnoresFirestorm=yes

[KStrikeWH]
CellSpread=6
PercentAtMax=.5
Wall=yes
Wood=yes
Rocker=yes
Verses=100%,100%,100%,110%,130%,120%,30%,75%,18%,500%,100%
InfDeath=4
Sparky=no
Tiberium=yes
Deform=100%
DeformThreshhold=100
AnimList=CRIVEXP2
DebrisAnims=DBRIS2LG
MaxDebris=25
MinDebris=18
Bright=true
CombatLightSize=2000%
CLDisableBlue=true

[NukeAirstrikeWH]
CellSpread=6
PercentAtMax=.5
Wall=yes
Wood=yes
Rocker=yes
Verses=100%,100%,100%,100%,130%,135%,25%,80%,20%,500%,100%
InfDeath=7
Sparky=no
Tiberium=yes
Deform=100%
DeformThreshhold=100
AnimList=NUKEANIM
Bright=true
CombatLightSize=2000%
CLDisableBlue=true

_________________
Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Dec 28, 2013 6:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

There is a reason one does not find Parachuted=yes in the Ares manual.

It causes the issue you opened this topic for.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
PePsiCola
Cyborg Specialist


Joined: 28 Dec 2010
Location: The United States

PostPosted: Sun Dec 29, 2013 4:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, that worked.

But now there's another problem.

With both of the airstrikes, I'll use either of them once. And it works and attacks fine. But when I use it a second time, an IE occurs a little after the bomber flies onto the map. I've gotten three IEs and I noticed they all happened at the same moment, two of which had the exact same EIP.

In case this helps, here is the code for a bomber and superweapon.
Code:
[NSPLANE]
UIName=Name:NSPLANE
Name=Nuke Airstrike Plane
Strength=1000
Category=AirLift
Armor=heavy
TechLevel=-1
Primary=NukeStrike
Spawned=yes
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
Cost=2000
MoveToShroud=yes
PitchSpeed=1.1
PitchAngle=0
OmniFire=yes
Speed=12
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
PipScale=Ammo
Ammo=1
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=0    ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=yes
CanPassiveAquire=no
CanRetaliate=no
MoveSound=BlackEagleMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash
Fighter=yes
FlyBy=true
Trainable=no
DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1

[LibyanAirstrikeSpecial]
UIName=Name:LAIRSTRIKE
Name=Airstrike
IsPowered=true
RechargeTime=7
Type=SpyPlane
SidebarImage=NASTICON
ShowTimer=yes
DisableableFromShell=no
AIDefendAgainst=yes
SW.AITargeting=Offensive
SpyPlane.Type=NSPLANE
SpyPlane.Count=1
SW.FireIntoShroud=yes
SW.RequiresTarget=land,water
SW.Range=1
SpyPlane.Mission=Attack
Action=AttackSupport
Cursor.Frame=480
Cursor.Count=9
Cursor.Interval=2
Cursor.MiniFrame=42
Cursor.MiniCount=10


I'll post the latest IE.



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  5.29 KB
 Downloaded:  20 Time(s)


_________________
Tiberium Uprising (a few missions for TS): http://www.ppmsite.com/forum/viewtopic.php?t=31029

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


Joined: 19 Nov 2003

PostPosted: Sun Dec 29, 2013 8:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Remove CellRangefinding from the weapons.
CombatLightSize maximum is 100%, declaring bigger will only get used as 100%
FlyBy may cause issues in firing given your weapons require a lock  but shouldn't.

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


Joined: 31 May 2010
Location: Germany

PostPosted: Sun Dec 29, 2013 4:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

The crash seems to happen when Tiberium tries to spread.

_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1638s ][ Queries: 13 (0.0121s) ][ Debug on ]