Search found 132 matches
- Thu Jan 12, 2017 5:34 am
- Forum: Simulation Object Development Questions
- Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
- Replies: 8
- Views: 12578
Re: SimConnect_ReportWeaponDamaged() is not working? SimObject API
Hi Clifton, i analyse your message and P3d documentation, i found that by using your approach we can notify detonation of Missile in same Missile SimObject Code (Missile.dll) by using RegisterOnSimObjectRemoveCallback() for callback funstion registration and creating callback function which will not...
- Thu Jan 12, 2017 4:06 am
- Forum: Simulation Object Development Questions
- Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
- Replies: 8
- Views: 12578
Re: SimConnect_ReportWeaponDamaged() is not working? SimObject API
Hi Clifton,
Thanks for your guidance, will be back if there is any issue.
Regards,
Zamirk
Thanks for your guidance, will be back if there is any issue.
Regards,
Zamirk
- Wed Jan 11, 2017 7:59 am
- Forum: Simulation Object Development Questions
- Topic: SimConnect_ReportWeaponDamaged() is not working? SimObject API
- Replies: 8
- Views: 12578
SimConnect_ReportWeaponDamaged() is not working? SimObject API
hi everyone, i am working on Missile SimObject API, and start with Missile Sample Code for SimObject API, So i have an issue with SimConnect "WeaponDetonated" event which is not call when weapon destroyed or collide with target objects. i found this sample code for reporting to simconnect ...
- Tue Jan 10, 2017 8:45 am
- Forum: Simulation Object Development Questions
- Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
- Replies: 3
- Views: 8497
Re: P3D Hangs When Missile Speed is Zero--SimObjectAPI
i have another problem,that in SimObject API Missile Sample code, i am checking collision detection of missile with other objects (targets), i detect collision successfully but now i want to call WEAPON_DETONATED_EVENT in another simconnect application? how i can achieve this? i found this SimConnec...
- Tue Jan 10, 2017 8:36 am
- Forum: Simulation Object Development Questions
- Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
- Replies: 3
- Views: 8497
Re: P3D Hangs When Missile Speed is Zero--SimObjectAPI
hi Mike, thanks, sorry i was busy so did not post reply, let me check that all references are release completely in my code. yes i know its sample code its not complete code but sample code should have complete documentation and proper workable code, because i found some mistakes in that sample code...
- Wed Jan 04, 2017 6:24 am
- Forum: Simulation Object Development Questions
- Topic: P3D Hangs When Missile Speed is Zero--SimObjectAPI
- Replies: 3
- Views: 8497
P3D Hangs When Missile Speed is Zero--SimObjectAPI
hi, I am working on SimObject Api, i am using Missile SimObject Sample and control its speed according to my requirements, my problem is that when missile speed reaches to zero Prepar3d hangs and not responding and its frame rate going to zero, i also using Destroy() function of Missile Object when ...
- Wed Dec 28, 2016 5:48 am
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] AttackerId other than zero for UserAircraft
- Replies: 4
- Views: 9806
Re: AttackerId other than zero for UserAircraft
Hi Steve,
Thanks for your guidance.
Regards,
Zamirk
Thanks for your guidance.
Regards,
Zamirk
- Fri Dec 23, 2016 4:08 am
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] AttackerId other than zero for UserAircraft
- Replies: 4
- Views: 9806
Re: AttackerId other than zero for UserAircraft
Thanks FSTramp,
Then how can we get the local user aircraft real Object ID.
Regards,
Zamirk
Then how can we get the local user aircraft real Object ID.
Regards,
Zamirk
- Thu Dec 22, 2016 8:51 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
Thanks Clifton for you guidance.
- Thu Dec 22, 2016 8:45 am
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] AttackerId other than zero for UserAircraft
- Replies: 4
- Views: 9806
[RESOLVED] AttackerId other than zero for UserAircraft
Hi, When I fire a missile, while handling WEAPON_FIRED event in SimProc, dwAttackerID in SIMCONNECT_RECV_EVENT_WEAPON gives value other than zero but in SimConnect.h SIMCONNECT_OBJECT_ID_USER have value of zero. I have coded as per SIMCONNECT_OBJECT_ID_USER. When I fire from any other AI Object crea...
- Thu Dec 15, 2016 3:57 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
hi WarpD, my problem was to get Simulation Variables in Missile Sample Code using GetProperty() function, when i was get any variable and print value of this variable in simple text file its shows garbage value so then i post this question here. issue was in writing format in text file i was writing...
- Thu Dec 15, 2016 3:51 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
Clifton, no there is no default effect on missile model because when i attach the missile model with my aircraft without using Missile.dll (of Missile Sample Code) then there is no default effect shows, but when i load Missile.dll for attached missile model then its shows some effect like Fired Weap...
- Fri Dec 09, 2016 5:08 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
hi Clifton,
Thanks, my problem has been resolved.
One thing more when i attach the Custom Missile ISimObject with my aircraft its show some default effects but in code there is no function call of VisulaEffectOn(), so kindly help me how i can Off this default Visual Effect on attachment?
Thanks..!!
Thanks, my problem has been resolved.
One thing more when i attach the Custom Missile ISimObject with my aircraft its show some default effects but in code there is no function call of VisulaEffectOn(), so kindly help me how i can Off this default Visual Effect on attachment?
Thanks..!!
- Wed Dec 07, 2016 4:17 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
hi, Thanks for guiding me i am using another SimObject as parent not SimpleAirplane ISimObject sample, can i get these Sim Variables without implementing SimConnect in Missile ISimObject Sample? Simulation Variable FCS TARGETED OBJECT ID Number NUMBER OF ENGINES Number GROUND VELOCITY Knots ATC ID S...
- Tue Dec 06, 2016 4:40 am
- Forum: Simulation Object Development Questions
- Topic: SimObject Api, GetProperty and Sim Variables?
- Replies: 11
- Views: 17416
Re: SimObject Api, GetProperty and Sim Variables?
hi everyone, i found the solution for above if condition that was missing SUCCEEDED() function in this P3D sample code for Missile SimObject error code CComPtr<IBaseObject> spOwner; CComPtr<IBaseObject> spOwnerV01; if( SUCCEEDED( GETSimOBjectManager()->GetObject(m_uOwnerId, &spOwner) ) &&...