IPB

Welcome Guest ( Log In | Register )

Need help getting error message when trying to attach HUMMVEE CROWS, ...to the GRIFFON helicopter
bluehawk112
post Mar 26 2017, 05:16 PM
Post #1


Dishonorable Discharge
****

Group: Guests
Posts: 238
Joined: 5-February 14
From: Planet DO THIS FOR ME OR I HATE U
Member No.: 10,005



Hey guys,

as you could see in my recent threads I succeeded already 2 times attaching the HUMMVEE CROWS to helicopters, including the operator who could sit either in the copilotīs seat or in a passenger seat.
There was no error message at all. But this time, trying the exact same thing with the Bell 412 Griffon from PR mod, Iīm getting
this error message (see below).
I removed all passengers and the copilot already just to make sure thereīs no conflict. Unfortunately no change sad.gif
Any help? I donīt have any clue how to proceed...

Error message says:
No valid PcoID found at position:8

It comes up when I join the map in singleplayer with the Griffon (including HUMMVWCROWS and operator) in that map
The AI stuff is still the same like before, I didnīt change anything...

This post has been edited by bluehawk112: Mar 26 2017, 05:18 PM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 3)
bluehawk112
post Mar 27 2017, 01:25 PM
Post #2


Dishonorable Discharge
****

Group: Guests
Posts: 238
Joined: 5-February 14
From: Planet DO THIS FOR ME OR I HATE U
Member No.: 10,005



QUOTE (bluehawk112 @ Mar 27 2017, 01:16 AM) *
Any help? I donīt have any clue how to proceed...

Error message says:
No valid PcoID found at position:8

It comes up when I join the map in singleplayer with the Griffon (including HUMMVWCROWS and operator) in that map
The AI stuff is still the same like before, I didnīt change anything...


No help? Okay, doesnīt matter. Iīm a little bit proud of myself here laugh.gif - I found the solution all by myself happy.gif :
I scanned through all the helicopter pilot/copilot/passenger objects.ai stuff of that PR mod to search for something unusual that has to do with PCO selection because I knew it was a PCO selection problem and it had something to do with AI.
So I found this line here:

aiTemplatePlugIn.SelectKey PIMenuSelect2


I put this line into the objects.ai of the CrowsGunner like this:

aiTemplatePlugIn.create Armament CrowsTopMgArms
aiTemplatePlugIn.setIsAntiAircraft 1

aiTemplatePlugIn.create Unit CrowsTopMgUnit
aiTemplatePlugIn.equipmentTypeName Fixed
aiTemplatePlugIn.setStrategicStrength 0 5
aiTemplatePlugIn.setStrategicStrength 1 5
aiTemplatePlugIn.SelectKey PIMenuSelect2
aiTemplatePlugIn.cullDistance 1000

aiTemplatePlugIn.create ControlInfo CrowsTopMgCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
(...) and so on


Furthermore, I had to rem out everything that had to do with the copilot in the tweak file -
now there was no problem anymore to put the Crowsgunner (= CROWS operator) in the copilotīs seat.

Problem solved - thread can be closed tongue.gif

This post has been edited by bluehawk112: Mar 27 2017, 01:28 PM
Go to the top of the page
 
+Quote Post
MasterChiefRulZ
post Mar 28 2017, 12:18 PM
Post #3


You know the drill...
Group Icon

Group: Mr. Admin
Posts: 10,418
Joined: 31-December 03
From: Home
Member No.: 48



Way to go bluehawk! Self determination is a key trait for being a successful modder. Congrats. clapclap.gif


--------------------
Go to the top of the page
 
+Quote Post
bluehawk112
post Mar 28 2017, 12:21 PM
Post #4


Dishonorable Discharge
****

Group: Guests
Posts: 238
Joined: 5-February 14
From: Planet DO THIS FOR ME OR I HATE U
Member No.: 10,005



QUOTE (MasterChiefRulZ @ Mar 28 2017, 08:18 PM) *
Way to go bluehawk! Self determination is a key trait for being a successful modder. Congrats. clapclap.gif


Thank you for your nice words, MasterChiefRulZ smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 07:13 AM