Posted: Mon Apr 17, 2017 7:22 am Post subject:
how to helicopter heliport?
Been trying to make my helicopter land on a heliport but to no avail.
Here's my codes. Anyone know how?
; Apache Longbow
[APCHE]
UIName=NOSTR:Apache
Name=Soviet Siege Chopper
;Image=APCHE
Prerequisite=HELIPORT
Primary=HellMissile
Secondary=30mmAutoCannFir
Strength=300
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=7
Sight=7
Speed=12
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=10
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=Americans
Cost=2000
Soylent=1400
Points=15
ROT=5
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=BlackOpsSelect
VoiceMove=BlackOpsMove
VoiceAttack=BlackOpsAttackCommand
VoiceCrashing=BlackOpsVoiceDie
DieSound=
CrashingSound=BlackOpsDie
ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
;AuxSound1=BlackOpsTakeOff ;Taking off
;AuxSound2=BlackOpsLanding ;Landing
ThreatPosed=0
SpecialThreatValue=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=15
SizeLimit=2
HoverAttack=yes
OmniFire=yes
AllowedToStartInMultiplayer=no
Crashable=yes
;CanPassiveAquire=no ; Won't try to pick up own targets
SpeedType=Hover
MoveSound=SeigeChopperMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
IsSelectableCombatant=yes ; TR
Dock=HELIPORT
AirportBound=no
; airforce command
[HELIPORT]
UIName=NOSTR:Heliport
Name=Allied Airforce Command Headquarters
BuildCat=Tech
Image=CIVHELIPAD
Prerequisite=GAREFN,GACNST
Strength=600
Armor=steel
Adjacent=2
TechLevel=3
Sight=5
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,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1000
Points=70
Power=-50
Capturable=true
Crewed=yes
Factory=AircraftType
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
MaxDebris=8
MinDebris=4
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=75, 270, 140
AIBuildThis=yes
NumberOfDocks=1
HasStupidGuardMode=false
Radar=no
Spyable=yes
ImmuneToPsionics=no ; defaults to yes for buildings, no for others QUICK_EDIT
Do you have the APCHE listed as an AircraftType? Only AircraftTypes can land on on heliports.
That, and AircraftTypes do NOT have JumJet=yes. Not only don't the flags work, but the Aircraft MIGHT behave... wierd. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Also Known As: martx Joined: 28 Oct 2016 Location: PH
Posted: Mon Apr 17, 2017 7:45 am Post subject:
Is the heliport a dock option? (Can't help you out much right now, I'm travelling) _________________ all my posts before 2020 were made by a 13 year-old, forgive these if you see any, thank you QUICK_EDIT
Read it right, maroon! _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Also Known As: martx Joined: 28 Oct 2016 Location: PH
Posted: Mon Apr 17, 2017 8:32 am Post subject:
You missed the point! Check EVERYTHING in the rulesmd.ini!! Keep searching GAAIRC, it was tagged in something, just search GAAIRC and make sure that the Apache is a Dockable Aircraft, and for that dockable aircraft, keep searching ORCA or BEAG, it should also appear near that tag needed for dock-buildings ,as I said, I'm travelling right now and I can't help much because I'm not near my computer, AND THOSE TAGS ARE NOT ANYWHERE NEAR THOSE OPTIONS!!! ( [APCHE] & It's dock) _________________ all my posts before 2020 were made by a 13 year-old, forgive these if you see any, thank you QUICK_EDIT
I can't see what's wong with the pad. It's pretty much a full copy of GAAIRC (you might wanna add Powered=yes tho, for the 'low- power-shutdown' cosmetic).
So far, the only probs I can spot right now are the ,presumably, AircraftType using the JumpJet locomotor and having JumpJet=yes.
It's either that, or it's, also, because [APCHE] is defined as a VehicleType in the list (tho I doubt it)
EDIT: It'd help if you'd describe EXACTLY what you did to try to get the chopper to land, and, most importantly, how it behaves during those tries (maybe telling us where the chopper gets spawned and what it does immideatly afterwards as well) _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
As TAK02 has pointed out the unit code is for a jumpjet vehicle which is built at a war factory. If you want it to be built and land at an the airfield/heliport then you need to change the code to an aircraft type. Look for the [ORCA] section and use that code instead as a base for your new helicopter. _________________
Since I see you're using Ares' NOSTR: feature, BuiltAt= is an option I'd consider. Something like:
[APCHE]
BuiltAt=HELIPORT
[HELIPORT]
Factory=VehicleType
Factory.ExplicitOnly=yes ; tells the game to only use this factory to produce units that name it with BuiltAt=
;WeaponsFactory=yes ; not having this should make the heli stay where it spawns on the pad.
This is if you can't have it become an AircraftType anyway.
EDIT: Of course you would have to make the helipad either Passable=yes, a bib, or add the same passable spaces code that refinery and warfactory have (I forget the name). _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Ok so I was trying to do this while the Apache being a vehicle type. Don't know if there''s a way to prevent all vehicles but the Apache from using it while still being a vehicle type.
Anyways, I turned it now into an aircraft type and stumbled in some problems:
1. Apache's primary weapon sound is a bit different.
2. Apache doesn't spawn in the center of the heliport instead at the bottom corner (thought DockingOffset0= is what controlled it but seems to have no effect).
Btw the Apache is added to ;PadAircraft= QUICK_EDIT
We'd need the 'pad's art code to find the prob _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
The problem is with DockingOffset. It takes values X,Y,Z. X and Y are both on the ground, while Z moves the dock 'up 'n down'. I'm guessing the game has trouble with putting a new Aircraft in the 'air' when first built. Try to leave Z at 0, while adjusting the X and Y accordingly. I'll jump the gun and say you need
Code:
DockingOffset0=25,25,0
Do note this is measured in leptons (1/256 of a cell), hope that makes it easier. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
This is where the Z comes in (set it to a REALLY low number). However, there's another way to do this, but I don't know how. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Low number should be between 1-10. I wouldn't recommend using Z at all tho, as the problem of the aircraft not being visible when first built remains. But currently I'm out of ideas.
Try setting Layer=ground for CIVHELIPAD and testing that first.
If it doesn't work, you'll have to post the files the 'pad uses here, because I won't be able to tell the problem otherwise _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
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