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 Thu Apr 18, 2024 4:18 pm
All times are UTC + 0
Helicopter Weapons
Moderators: 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
hellnecrotom
Civilian


Joined: 31 May 2017

PostPosted: Thu Jun 01, 2017 1:31 am    Post subject:  Helicopter Weapons Reply with quote  Mark this post and the followings unread

Hey there guys,

Another question here: I added an extra helicopter and I planned on adding the weapon of the Chrono Legionaire to it. However, when I do, it will not fire (and most weapons that I add to the helicopter won't fire on tanks and buildings; just infantry or, in other cases, not even that).

[I also had a tank that exhibited this behaviour...]

Checked projectile and warhead settings and they are a perfect replica of the "Hind" chopper weapon that works perfectly. What is going on here?

As always, I appreciate the support Smile

Cheers

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Jun 01, 2017 4:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Still need to look at codes. Even if it's mentioned what you did, there might still be a thing or two you missed to either mention or check. In the latter's case, it could make the chopper unusable.
Long story short: No Code, no help, dode.

_________________
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. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
hellnecrotom
Civilian


Joined: 31 May 2017

PostPosted: Thu Jun 01, 2017 9:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh, terribly sorry!
Here are the details:

RulesMD:

[CHROCHOP]
UIName=Name:CHROCHOP
Name=Chrono Copter
;Prerequisite=GAHPAD
Prerequisite=GAWEAP
Primary=NeutronRifle
Strength=175
Category=AirPower
Armor=light
TechLevel=7
Sight=7
RadarInvisible=no
Speed=14
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
Cost=100
Points=15
ROT=5
Crewed=yes
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
HoverAttack=yes
;OmniFire=yes ;GEF moved to weapon
Crashable=yes
CanPassiveAquire=yes ; Won't try to pick up own targets
SpeedType=Hover
MoveSound=BlackOpsMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
ElitePrimary=NeutronRifle
PreventAttackMove=yes
;Bombable=no
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no


Image=CHROCHOP
BalloonHover=yes
Parasiteable=no

IsSimpleDeployer=no
UnloadingClass=dummy
DeployFire=no
DeployToLand=yes

------------------------------------------------------

ArtMD:


[CHROCHOP]
Voxel=yes
Remapable=yes
Cameo=DFNDICON
AltCameo=DFNDUICO
PrimaryFireFLH=100,0,65
Weapon1FLH=100,0,65
Weapon2FLH=100,0,65

Image=CHROCHOP

ShadowIndex=2
TurretOffset=50
DisableShadowCache=yes
DisableVoxelCache=yes

------------------------------------------------------

Hope this helps Smile
Rock n' roll

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Jun 01, 2017 9:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Weapons used on jumpjet helicopters need OmniFire=yes to work correctly. NeutronRifle doesn't have this tag so you'll need to make a clone of the weapon code & add it.

_________________



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
hellnecrotom
Civilian


Joined: 31 May 2017

PostPosted: Thu Jun 01, 2017 11:41 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, so I've added the "OmniFire=yes" both to the weapon (a clone of NeutronRifle) and to the chopper. I still have that problem.

What I've noticed, though, is that if I stop the chopper within range of a unit and press CTRL+Click on it, it will not attack it. HOWEVER, if I stand there, press "S" for it to stop and then CTRL+Click, it will vapourise the unit with the Chrono Legionaire weapon (though the chopper will not stay in place until the temporal shift is finished - you can just hit a unit and walk away while the shift happens on its own).

What could be at the bottom of this? :-s

Thanks

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: 3.0659s ][ Queries: 11 (2.8828s) ][ Debug on ]