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 19, 2025 2:08 pm
All times are UTC + 0
Guns for the Spy & Paradrop Planes ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Gauss Rifle Trooper


Joined: 07 Mar 2013

PostPosted: Mon Oct 28, 2024 10:27 pm    Post subject:  Guns for the Spy & Paradrop Planes ? Reply with quote  Mark this post and the followings unread

I tried to add a weapon to the Spyplane instead of the camera so that it would just fly over and spray the area but it does not work.

I also added guns to the Paradrop plane so that when dropping troops it is also firing at ground units to defend itself but that doesn't work.

How can I code this ?

; Soviet Spy Plane
[SPYP]
UIName=Name:SpyP
Name=Soviet Spy Plane
;Image=PDPLANE
Strength=600
Category=AirLift
Armor=light
TechLevel=-1
Primary=GunCam
;Primary=SpyCameraWeapon
Spawned=yes ; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=15
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=40
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 ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=SpyPlaneMoveLoop
DieSound=
CrashingSound=SpyPlaneDie
ImpactLandSound=GenAircraftCrash
DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1;gs needs a death weapon or it will do nothing when it crashes since its weapon is a camera
FlyBy=true ;GEF Don't slow down over your target



[GunCam]
Damage=35
ROF=20
Range=20
Projectile=InvisibleLow
Speed=100
Warhead=GunCamWH
Report=SCSAttack
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
OccupantAnim=UCFLASH
OmniFire=yes

[GunCamWH]
Verses=150%,100%,80%,50%,25%,25%,75%,10%,25%,100%,100%
InfDeath=4
AnimList=PIFFPIFF,PIFFPIFF
Bullets=yes
ProneDamage=80%


; Paratrooper Drop Plane
[PDPLANE]
UIName=Name:PDPLANE
Name=Cargo Plane
Strength=400
Category=AirLift
Armor=light
TechLevel=-1
Primary=ParaDropWeapon ; Doesn't really fire it; dummy weapon
Secondary=GunCam
Spawned=yes ; Created by another object and therefore not player controllable
LeadershipRating=10
Selectable=no
RadarInvisible=no
Sight=0
Landable=no
JumpjetHeight=3000
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=15
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Ammo=100
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Explodes=yes
DeathWeapon=TransportcraftExplosion
MaxDebris=42
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 ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash



[CARGOPLANE]
Image=PDPLANE
UIName=Name:PDPLANE
Name=Transport Plane
Strength=400
Category=AirPower
Primary=GunCam
Armor=light
TechLevel=-1
LeadershipRating=10
;Selectable=no
RadarInvisible=no
Sight=0
Landable=no
JumpjetHeight=3000
MoveToShroud=yes
PitchAngle=0 ; default is 20 degrees
Speed=15
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Points=30
ROT=2
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Explodes=yes
DeathWeapon=TransportcraftExplosion
MaxDebris=42
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 ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
MoveSound=PDPlaneMoveLoop
DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Oct 29, 2024 8:35 am    Post subject: Reply with quote  Mark this post and the followings unread

To make the spy plane use its weapon you need to us Ares and add SpyPlane.Mission=Attack to the super weapon.

The paradrop plane cant use a weapon. If you use Kratos you could add a stand to the paradrop plane that will use an independent weapon, but it would shoot any targets along its flight path.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
TRUEGRIT
Rocket Cyborg


Joined: 21 Apr 2018

PostPosted: Tue Oct 29, 2024 9:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
If you use Kratos you could add a stand to the paradrop plane that will use an independent weapon, but it would shoot any targets along its flight path.

Sounds great if we could combine between Ares and Kratos, Is that doable or it would give many errors?!

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Oct 29, 2024 7:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Ares, Phobos and Kratos expansions can be used together.

Phobos is designed to work with Ares, some of its features requires you also have Ares for them to fully work.

Kratos can be used on its own or with Ares and Phobos, I only know of one Ares feature (UC.PassThrough=) that doesn't work with Kratos.

_________________



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