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 Fri Sep 13, 2024 12:36 pm
All times are UTC + 0
VeteranAbilities on Aircraft Not Working ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Cyborg Cannon


Joined: 07 Mar 2013

PostPosted: Mon Jul 31, 2023 6:16 am    Post subject:  VeteranAbilities on Aircraft Not Working ? Reply with quote  Mark this post and the followings unread

I have an Allied Airforce Command that spawns 4 fighters  when it detects an enemy within range but the problem is once one of these  jets hit veterancy, they no longer will attack.

[GADC]
UIName=Name:DRONE COMMAND
Name=DRONE COMMAND
BuildCat=Tech
Image=GAAIRC
Prerequisite=GAAIRC,GATECH
Primary=HornetLauncher
Spawns=AFDRON
SpawnsNumber=4
SpawnRegenRate=600
SpawnReloadRate=150
CanPassiveAquire=yes
Strength=1200
Armor=steel
Adjacent=4
TechLevel=4
Sight=100
;UnitReload=yes
;UnitRepair=yes;gs this is part of reloading + being an aircraft (Repair code is oogly, only Reload got rewritten for four ports.)
;Helipad=yes
Owner=British,French,Germans
ForbiddenHouses=Russians,Confederation,Africans,Arabs,YuriCountry,Americans
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=2750
Points=70
Power=-50
;Factory=AircraftType
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
MaxDebris=28
;MinDebris=14
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=LGSparkSys,BigGreySmokeSys
DamageSmokeOffset=75, 270, 140
NumberOfDocks=4
HasStupidGuardMode=false
Radar=yes
Spyable=yes
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
AIBuildThis=yes

Even after commenting out the veteran ability* they still become vets and then won't attack. They just stack up on top of each other going up & down hovering like Bees

; DRONE COMMAND AIRCRAFT
[AFDRON]
UIName=Name:INTRUDER
Name=Intruder
;Image=AMIG
Image=AFDRON
Prerequisite=RADAR
Primary=Maverick
Secondary=AARedEye
;ElitePrimary=Bomb
ElitePrimary=MaverickE
CanPassiveAquire=yes ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=200
Spawned=yes
Category=AirPower
Armor=light
TechLevel=-1
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Dock=GADC
PipScale=Ammo
Speed=14
;PitchSpeed=0.9
;PitchAngle=0
JumpjetCrash=20 ; Climb, but down
JumpjetHeight=1750
PitchSpeed=0.9
PitchAngle=2
OmniFire=yes
Owner=Germans,Americans
ForbiddenHouses=Alliance,French,British
Cost=50
Points=20
ROT=6
Ammo=4
Crewed=yes
ConsideredAircraft=yes
AirportBound=no ; If I ever need to land and there are no airports I crash because I can only land on them
GuardRange=110
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DeathWeapon=JetCrashExplosion
MaxDebris=28
IsSelectableCombatant=no
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceCrashing=IntruderVoiceDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff ;Taking off
AuxSound2=IntruderLanding ;Landing
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=STRONGER,FIREPOWER,ROF

Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
PreventAttackMove=yes
RollAngle=50



AutoPort.png
 Description:
 Filesize:  251.83 KB
 Viewed:  1875 Time(s)

AutoPort.png



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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon Jul 31, 2023 8:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Its not a problem with VeteranAbilities. If you make a building spawn aircraft it has to have a foundation of 1x1 otherwise the aircraft wont be able to land after they are done attacking. This happens because the center of the building's foundation needs to also be the center of a terrain cell in order for the aircraft to land.

A 3x3 or 5x5 foundation might also work but I haven't tested them.

_________________



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
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon Jul 31, 2023 9:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

If the promotion is the problem try adding Trainable=no ?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
206UE
Stealth Laser Trooper


Joined: 07 Jan 2010

PostPosted: Sat Aug 05, 2023 6:33 am    Post subject: Reply with quote  Mark this post and the followings unread

I'd like to try something like this with the tiberian sun engine. Sorry, I don't know enough about the code to be any help. But, I did see this : https://www.moddb.com/mods/retro-generals




Whoever is in charge of that mod definitely knows what they are doing, maybe they can help us.

Back to top
View user's profile Send private message
adamstrange
Cyborg Cannon


Joined: 07 Mar 2013

PostPosted: Sun Aug 06, 2023 5:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Here ya go 206UE
I use this to spawn aircraft from a custom battle fortress but I don't know if it will work in Tiberium Sun

FOR THE VEHICLE YOU WANT THE AIRCRAFT TO SPAWN FROM
Code:
Primary=HornetLauncher

Code:
Spawns=INTRUDER
OR ANY OTHER AIRCRAFT YOU WANT TO USE
Code:
SpawnsNumber=2
SpawnRegenRate=600
SpawnReloadRate=150


FOR THE SPAWNED AIRCRAFT
Code:
ConsideredAircraft=yes
AirportBound=no
GuardRange=90

THE VEHICLE THAT IT IS SPAWNING FROM [the vehicle's code name thats in the brackets]
Code:
Dock=

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Aug 06, 2023 7:57 am    Post subject: Reply with quote  Mark this post and the followings unread

Spawned aircraft dont work in Tiberium Sun, I think there is a workaround/hack using hunter seeker drones (or something similar) tho.

Dock= is used on units to tell the game what building(s) the unit can dock with to load/unload. Its not used by spawned aircraft as they are already linked to the unit/building spawning them.

_________________



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
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Aug 06, 2023 9:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig, are you going senile? This isn't the TS forum.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon Aug 07, 2023 6:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Maybe, but you must be going blind...

206UE wrote:
I'd like to try something like this with the tiberian sun engine.

_________________



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
adamstrange
Cyborg Cannon


Joined: 07 Mar 2013

PostPosted: Fri Aug 11, 2023 7:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

SILENCE G-E...OR THOU MUST HASTEN TO CONTEND WITH...THE SUPREME KNOWLEDGE OF THE MIG Laughing

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