Skip to content

Commit

Permalink
Fix an issue where killed aircraft would spawn surviving pilots (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Nov 17, 2023
1 parent 4424479 commit 90b12d7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions game-assets/cncnet.pack/rulesmd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10883,6 +10883,8 @@ ImmuneToPsionics=yes
ElitePrimary=MaverickE
PreventAttackMove=yes

Survivor.Pilots=0 ; belonit - additions needed for Ares

; Destroyer's helicopter
[ASW]
UIName=Name:ASW
Expand Down Expand Up @@ -10931,6 +10933,8 @@ AuxSound2=OspreyLanding ;Landing
ImmuneToPsionics=yes
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing

Survivor.Pilots=0 ; belonit - additions needed for Ares

; Carrier Fighter
[HORNET]
UIName=Name:HORNET
Expand Down Expand Up @@ -10981,6 +10985,8 @@ EliteAbilities=STRONGER,FIREPOWER
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing
ElitePrimary=HornetBombE

Survivor.Pilots=0 ; belonit - additions needed for Ares


; **************************** Side Specific *******************************

Expand Down Expand Up @@ -11041,6 +11047,8 @@ ImmuneToPsionics=yes
ElitePrimary=Maverick2E
PreventAttackMove=yes

Survivor.Pilots=0 ; belonit - additions needed for Ares



; **************************************************************************
Expand Down Expand Up @@ -11559,6 +11567,8 @@ DeathWeapon=BlimpBomb
DeathWeaponDamageModifier=.1;gs needs a death weapon or it will do one laser blast's worth of crash damage. This gives control
FlyBy=true ;GEF Don't slow down over your target

Survivor.Pilots=0 ; belonit - additions needed for Ares


; Soviet Spy Plane
[SPYP]
Expand Down Expand Up @@ -11601,6 +11611,8 @@ 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

Survivor.Pilots=0 ; belonit - additions needed for Ares

; V3 Rocket -- warhead invoked from code. No weapons attached here.
[V3ROCKET]
UIName=Name:V3ROCKET
Expand Down Expand Up @@ -11810,6 +11822,8 @@ DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash

Survivor.Pilots=0 ; belonit - additions needed for Ares

[CARGOPLANE]
Image=PDPLANE
UIName=Name:PDPLANE
Expand Down Expand Up @@ -11844,6 +11858,8 @@ DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash

Survivor.Pilots=0 ; belonit - additions needed for Ares



; **************************************************************************
Expand Down
12 changes: 12 additions & 0 deletions game-assets/ra2mode.pack/rulesmd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8114,6 +8114,8 @@ ImmuneToPsionics=yes
ElitePrimary=MaverickE
PreventAttackMove=yes

Survivor.Pilots=0 ; belonit - additions needed for Ares


; Hind Transport
[HIND]
Expand Down Expand Up @@ -8358,6 +8360,8 @@ EliteAbilities=STRONGER,FIREPOWER
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing
ElitePrimary=HornetBombE

Survivor.Pilots=0 ; belonit - additions needed for Ares

; Dreadnought's Missile -- warhead invoked from code. No weapons attached here.
[DMISL]
UIName=Name:DMISL
Expand Down Expand Up @@ -8445,6 +8449,8 @@ AuxSound2=OspreyLanding ;Landing
ImmuneToPsionics=yes
;Selectable=no ; SJM: this should be here but is commented out because bug prevents aircraft from landing

Survivor.Pilots=0 ; belonit - additions needed for Ares

; V3 Rocket -- warhead invoked from code. No weapons attached here.
[V3ROCKET]
UIName=Name:V3ROCKET
Expand Down Expand Up @@ -8558,6 +8564,8 @@ DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash

Survivor.Pilots=0 ; belonit - additions needed for Ares

[CARGOPLANE]
Image=PDPLANE
UIName=Name:PDPLANE
Expand Down Expand Up @@ -8592,6 +8600,8 @@ DieSound=
CrashingSound=PDPlaneDie
ImpactLandSound=GenAircraftCrash

Survivor.Pilots=0 ; belonit - additions needed for Ares


; Black Eagle
[BEAG]
Expand Down Expand Up @@ -8650,6 +8660,8 @@ ImmuneToPsionics=yes
ElitePrimary=Maverick2E
PreventAttackMove=yes

Survivor.Pilots=0 ; belonit - additions needed for Ares


; ******* building types *******

Expand Down

0 comments on commit 90b12d7

Please sign in to comment.